When to use Diffraction Grating Calculator
Find the diffraction angle for an order of a grating at normal incidence.
Check an optical relationship with a clearly defined geometry, medium and sign convention.
How to use this tool
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- The result updates as you enter valid values. Read every output with its unit and the assumptions below.
- Wavelength in the medium
- Grating line spacing
- Positive diffraction order
How it works
For normal incidence, d sin θ = mλ. A nonzero order appears symmetrically on both sides of the center if mλ ≤ d.
Worked example
The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.
- Wavelength in the medium
- 550 nm
- Grating line spacing
- 2 µm
- Positive diffraction order
- 1
- Diffraction angle
- 15.9620141628 °
Understanding the result and its limits
Thin-lens, ray and diffraction approximations apply only in their stated regimes. A calculated image is not a complete optical-system design.
Frequently asked questions
Which optical conventions should I check?
Check the medium, angle reference and any distance sign convention stated by the formula. Do not mix definitions from different models.
Methodology and references
Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.
- Further reading: OpenStax: physics and physical models