Share this free calculator
Send this tool to someone who needs the calculation.
How to use
A diffraction grating produces constructive interference peaks at angles satisfying mλ=d sinθ.
- Enter lines per mm.
- Enter λ in nm.
- Choose integer order m.
- Review angle and maximum order.
How it is calculated
Example
A 600 lines/mm grating at λ=550 nm gives a first-order angle from arcsin(λ/d).
Important notes
If mλ exceeds d, no real diffraction angle exists for that order in this model.
Worked examples and interpreting results
A hypothetical 500-lines/mm grating has 2 µm spacing. A 500 nm wavelength gives a first-order angle of about 14.478° at normal incidence.
| Case | Calculation | Result |
|---|---|---|
| Line spacing | 1 ÷ (500 × 1000) × 10⁶ | 2 µm |
| First-order angle | asin(500 ÷ 2000) | 14.477512 ° |
How to check the result
Line density is not line spacing. Enter a positive integer order; if order times wavelength exceeds spacing, that order has no real diffraction angle.
Frequently asked questions
What does 600 lines/mm mean?
It corresponds to spacing d=1/(600,000 m⁻¹).
Can m be zero?
The zero order exists at the center; this calculator starts at first order.
Angle from the surface?
No, from the grating normal here.