Diffraction Grating Calculator (Angles of the Orders and Spot Positions)
Angles at which a diffraction grating sends a given wavelength in the first three orders, the highest order that exists, and where the spots land on a screen.
Results
The dashed line marks the value you entered.
What this tool does
A grating with N lines per millimetre has a line spacing d = 1 ÷ N, and light of wavelength λ reinforces at angles where d sin θ = mλ, one for each whole number m, the order. Since sin θ cannot exceed 1, only orders with mλ < d exist, which is why a coarse grating gives many orders and a fine one only a few. The angle grows with wavelength, so a grating spreads white light into spectra, red furthest out, the reverse of a prism, which bends blue the most. A common classroom use is to find an unknown wavelength, such as that of a laser, from the position of the spots.
Formula
d sin θ = m λ · d = 1 mm ÷ lines per mm · highest order < d ÷ λ · dθ/dλ = m ÷ (d cos θ)
Variables
| Symbol | Meaning | Unit |
|---|---|---|
nl | Lines per millimetre of the grating | /mm |
lw | Wavelength | nm |
sd | Distance to the screen | m |
A1 | Angle of the 1st order | ° |
A2 | Angle of the 2nd order (0 if it does not exist) | ° |
A3 | Angle of the 3rd order (0 if it does not exist) | ° |
D | Spacing between lines | µm |
MO | Highest order that exists | — |
Y | Position of the 1st-order spot from the centre | cm |
DS | Angular dispersion in the 1st order | °/nm |
Worked example
- Lines per millimetre of the grating600 /mm
- Wavelength532 nm
- Distance to the screen1 m
- Angle of the 1st order18.61 °
- Angle of the 2nd order (0 if it does not exist)39.67 °
- Angle of the 3rd order (0 if it does not exist)73.26 °
- Spacing between lines1.667 µm
- Highest order that exists3
- Position of the 1st-order spot from the centre33.7 cm
- Angular dispersion in the 1st order0.0363 °/nm
Limitations
- Mixing units is the most common source of error. Convert every input to the units shown next to each field before calculating.
- The result is an estimate based only on the values you type. Real situations often include factors this calculator does not know about.