Physics · Formula

Diffraction grating equation

The angles at which a grating sends light into bright beams.

Physics librarySymbols definedWorked example
Formula
d sin θ = m λ

The angles at which a grating sends light into bright beams.

What the symbols mean

  • d — the slit spacing
  • θ — the diffraction angle
  • m — the order, 0, 1, 2, …
  • λ — the wavelength

What it means

Light from many slits reinforces only where the path difference is a whole number of wavelengths. Gratings measure wavelengths precisely, which is how spectroscopy identifies elements.

Worked example

Example

A grating with 600 lines/mm (d = 1.67 × 10⁻⁶ m) sends 500 nm light to sin θ = 5.0e-7/1.67e-6 = 0.30, so θ ≈ 17.5° in first order.

Related formulas

These relationships often appear alongside the diffraction grating equation in the same problems.

Frequently asked questions

What is the diffraction grating equation formula?

The relationship is d sin θ = m λ. The angles at which a grating sends light into bright beams.

When should I use the diffraction grating equation formula?

Light from many slits reinforces only where the path difference is a whole number of wavelengths. Gratings measure wavelengths precisely, which is how spectroscopy identifies elements.

How do I avoid unit mistakes?

Write each quantity with its unit before substituting, convert to the units the formula expects, and check that the result's unit matches the quantity you are solving for. Angles must be in radians for calculus-based expressions unless the page says degrees.

Sources and standards

The equation form, symbols and expected units on this page are checked against the reference works below.

How these are used: sources and standards.

Reviewed November 2026 · Educational reference. See the disclaimer and methodology.