Diffraction Grating Calculator
Find diffraction angle θ from slit spacing d, wavelength λ, and order m
Parameters
Controls
Calculated Values
Examples
m=1, λ=550 nm, d=2 μm
First order.
Visualization
Diffraction Grating
A diffraction grating has many parallel slits separated by distance d. Constructive interference for wavelength λ at order m satisfies d sin θ = mλ (m = 0, ±1, ±2, …).
Each order appears at a different angle; white light produces a spectrum. Resolving power R = λ/Δλ = Nm where N is number of illuminated slits.
Grating spacing is often given as lines per mm: d = 1/(lines/mm × 1000). Example: 500 lines/mm → d = 2 μm.
Compared to double slit, grating gives sharper maxima and better wavelength resolution for spectroscopy.
Condition |sin θ| ≤ 1 limits observable orders; higher m disappears at long λ or small d.
Key Concepts
- d sin θ = mλ
- Orders m = 0, ±1, ±2…
- R = Nm
- Spectral separation
- |mλ/d| ≤ 1
Real-World Applications
- Spectrometers
- CD/DVD diffraction colors
- Astronomical spectroscopy
- Wavelength calibration
- Class 12 wave optics
Explore Further
- All Optics Calculators
Browse every optics solver in this category.
- Optics Formula Sheet
Reflection, refraction, lenses, and interference formulas.
- Optics Basics
Reflection, refraction, and interference for lens problems.
- Physics Constants Reference
SI values for c, G, k_B, ε₀, and more used across solvers.
More optics tools
- Snell's Law
Calculate refraction angles and analyze light behavior at media boundaries.
- Magnification
Calculate linear and angular magnification for optical systems.
- Thin Lens Equation
Find image distance and magnification using 1/f = 1/u + 1/v.
- Spherical Mirror Equation
Calculate image position and magnification for concave and convex mirrors.
- Lens Power
Convert focal length to diopters and combine thin lens powers.
- Critical Angle
Find critical angle for total internal reflection between two media.
Physics Equations
Step-by-Step Solution
See how the main results are calculated.
Step 1: Grating Equation
Equation:
Explanation:
m = 0, ±1, ±2, … order; d = slit spacing.
Step 2: Convert Units
Calculation:
Step 3: sin θ
Calculation:
Step 4: Angle
Result:
Step 5: Orders
Multiple bright fringes at different m.
Explanation:
Higher m → larger angle; white light gives spectra.
Step 6: Resolving Power
Equation:
Explanation:
N = number of illuminated slits.
Frequently Asked Questions (FAQ)
vs double slit?
Grating has many slits → narrower bright fringes, better resolution.
No solution for θ?
|mλ/d| > 1 → that order does not exist.
Practice MCQs
- Grating equation:
- Higher order m means:
- More slits N gives:
- m = 0 order is:
- d doubles, same λ and m:
- White light through grating:
Related Calculators
These tools connect to the same physics concepts used in this calculator.