Diffraction Grating Equation

mλ=dsinθm \lambda = d \sin\theta

Enter your known values, leave one input blank, and solves for the missing one. Try different units for next level excitement!

Learning zone

A grating is thousands of slits acting in concert: constructive interference survives only at angles where neighboring slits' paths differ by exactly m whole wavelengths, so each wavelength gets its own sharp beam. A grating ruled at 600 lines/mm (d = 1.667 μm) throws 550 nm green light to arcsin(550/1667) ≈ 19.3° in first order. This is the dispersing heart of most spectrometers — and of the rainbow flash from a CD's surface, whose data tracks form an accidental grating.

Diffraction Grating Equation
mλ=dsinθm \lambda = d \sin\theta
Where
  • mm= Diffraction order
  • λ\lambda= Wavelength
  • dd= Line spacing
  • θ\theta= Diffraction angle