What is a diffraction grating?
A diffraction grating is an optical element made up of a large number of equally spaced parallel grooves. It uses multi-beam interference and single-slit diffraction to separate polychromatic light spatially by wavelength, and is a core component of spectrometers, monochromators and laser wavelength selection. The groove density N is the number of grooves per millimetre, and the grating period d=1/N.
What is the grating equation?
The grating equation describes the angular relationship between incident and diffracted light: for a reflection grating mλ=d(sinα+sinβ), for a transmission grating mλ=d(sinα−sinβ). Here m is the diffraction order (an integer), λ the wavelength, d the grating period, α the incident angle and β the diffraction angle. All angles are measured from the grating normal.
What is the difference between angular dispersion and linear dispersion?
Angular dispersion D=dβ/dλ=m/(d·cosβ) expresses the change in diffraction angle per unit wavelength change, in rad/nm. Linear dispersion is the displacement per unit wavelength in the focal plane, dl/dλ=f·D; in engineering its reciprocal dλ/dl=d·cosβ/(m·f) is more commonly used, in nm/mm, which directly determines the wavelength calibration of a spectrometer.
How is the resolving power of a diffraction grating calculated?
Resolving power R=λ/Δλ=m·N_total, where N_total is the total number of illuminated grooves = illuminated width W × groove density N. The larger R, the smaller the distinguishable wavelength difference Δλ_min=λ/R. At zeroth order (m=0) there is no dispersion and R=0.
What is the free spectral range (FSR)?
The free spectral range (FSR) is the maximum wavelength span within one order without overlap from adjacent orders, approximately FSR≈λ/|m|; the strict adjacent-order overlap threshold is λ/(|m|+1) (the long wavelength λ of order m overlaps the short wavelength λ′=mλ/(m+1) of order m+1). Exceeding this range causes spectral overlap.
What is the relationship between blaze angle and blaze wavelength?
In a blazed grating the groove facet is tilted relative to the surface by a blaze angle θ_B. In the Littrow autocollimation configuration (incident angle = diffraction angle = θ_B), the blaze wavelength of highest efficiency satisfies 2d·sinθ_B=m·λ_B. Given θ_B, the blaze wavelength of that order can be obtained as λ_B=2d·sinθ_B/m.
Are the formulas for reflection and transmission gratings the same?
The core is mλ=d(sinθ_i±sinθ_m) in both cases; the difference lies in the sign convention: for a reflection grating the incident and diffracted rays are on the same side of the normal, using the plus sign mλ=d(sinα+sinβ); for a transmission grating they are on opposite sides, using the minus sign mλ=d(sinα−sinβ). This calculator provides reflection / transmission switching and automatically applies the corresponding convention.
Why does a diffraction order not exist?
When |mλ/d − sinα|>1 (reflection) or |sinα − mλ/d|>1 (transmission), the equation has no real solution, indicating that the order does not exist under the current parameters — usually caused by too long a wavelength, too high an order or too low a groove density. This tool reports the highest visible order m_max=floor[(d/λ)(1+sinα)].
What can the Diffraction Grating Calculator do?
By entering the groove density, incident angle, wavelength and diffraction order, this tool calculates the diffraction angle, angular dispersion, reciprocal linear dispersion, resolving power, minimum resolvable wavelength, free spectral range, highest visible order and blaze wavelength, and provides a ray geometry diagram and a diffraction-angle-versus-wavelength curve, with 5 built-in preset scenarios including spectrometer, Littrow laser line selection, optical communications and UV.
Which applications is the Diffraction Grating Calculator suitable for?
It is suitable for spectrometer / monochromator design, laser wavelength selection and frequency stabilisation, pulse-compression grating pairs, optical fibre communications wavelength analysis, evaluation of grating efficiency and blaze conditions, and demonstration of the grating equation and dispersion in optics teaching.
Is this Diffraction Grating Calculator free?
Yes. The Diffraction Grating Calculator provided by Soar Laser is completely free and requires no registration; all calculations are performed locally in the browser and no data is uploaded.
Are the calculation results accurate and suitable for engineering design?
The calculations are based on the ideal grating equation and standard formulas, suitable for feasibility estimates and teaching. The efficiency, polarisation dependence, aberrations and manufacturing tolerances of real devices affect actual performance; for formal design, please refer to the grating manufacturer’s specification sheet.
How are the grating period d and groove density N converted?
The groove density N is in lines/mm, and the grating period d=1/N (mm), which converts to nanometres as d=10⁶/N (nm). For example, 1200 lines/mm corresponds to d≈833.3 nm.
How should the diffraction order m be chosen?
m is an integer, with positive and negative values representing the two sides of the normal. The first order (m=±1) is the most commonly used, with the highest efficiency and moderate dispersion; higher orders give greater dispersion and resolving power but a smaller free spectral range, more spread-out energy and lower efficiency. The choice requires a trade-off between dispersion, efficiency and FSR.
What effect does the illuminated width have on resolving power?
Resolving power R=m·N_total, with N_total = illuminated width W × groove density N. For a fixed grating and order, increasing the illuminated width of the grating (i.e. increasing the number of grooves participating in interference) directly raises R and reduces Δλ_min, so uniform illumination over a large aperture is beneficial for higher resolution.
What is the Littrow configuration?
The Littrow configuration is an autocollimation optical path in which the incident angle equals the diffraction angle (α=β), so the beam returns along its original path. In this case the blaze efficiency is highest (autocollimation) and the blaze condition is naturally satisfied; it is commonly used for laser line selection and external-cavity frequency stabilisation, corresponding to α=β=θ_B and 2d·sinθ_B=mλ_B.
What is the practical significance of the reciprocal linear dispersion dλ/dl?
dλ/dl represents the wavelength interval per millimetre in the focal plane (nm/mm) and is a key spectrometer indicator. The smaller it is, the narrower the wavelength range covered by the same detector pixels and the higher the resolution. A typical monochromator with 1200 lines/mm and a 500 mm focal length is about 1.6 nm/mm.
What is the difference between a diffraction grating calculator and a prism spectrometer?
Gratings disperse light by multi-beam interference: the dispersion is approximately independent of wavelength and the orders are distinct, but there is order overlap (FSR). Prisms rely on refractive index dispersion: the dispersion varies greatly with wavelength and there is no order overlap, but the usable wavelength range is limited. Gratings are more prevalent in modern spectrometers.
Can this tool be used to design a pulse-compression grating pair?
This tool can calculate the angular and linear dispersion of a grating pair, for estimating the amount of stretching / compression; however, pulse compression also requires consideration of group delay dispersion (GDD), the incidence geometry (typically the -1 order with α≈54.7°) and the grating size, so further calculation with femtosecond pulse design references is recommended.