Diffraction grating calculator

At 500 nm, a 600 lines/mm grating at normal incidence diffracts first order at 17.46 deg. A 25 mm illuminated width gives ideal resolving power 15,000 and linewidth 0.03333 nm. Enter your grating below.

Groove spacing1667 nm
Diffraction angle beta17.46 deg
Minimum allowed order-3
Maximum allowed order3
Angular dispersion (fixed incidence)6.290e-4 rad/nm
Illuminated grooves N15000
Ideal resolving power |m|N15000
Rayleigh linewidth0.03333 nm
Littrow angle8.627 deg
Local free spectral range500 nm
11112213314405500-0.026-0.052-0.077-0.1Wavelength (nm)Diffraction angle (deg)
Order -3; Diffraction angle (deg) / Wavelength (nm)
11613214806408000-0.017-0.034-0.052-0.069Wavelength (nm)Diffraction angle (deg)
Order -2; Diffraction angle (deg) / Wavelength (nm)
11613214806408000-0.0086-0.017-0.026-0.034Wavelength (nm)Diffraction angle (deg)
Order -1; Diffraction angle (deg) / Wavelength (nm)
116132148064080000.250.50.751Wavelength (nm)Diffraction angle (deg)
Order 0; Diffraction angle (deg) / Wavelength (nm)
116132148064080007.2142229Wavelength (nm)Diffraction angle (deg)
Order 1; Diffraction angle (deg) / Wavelength (nm)
1161321480640800018375574Wavelength (nm)Diffraction angle (deg)
Order 2; Diffraction angle (deg) / Wavelength (nm)
1111221331440550021416282Wavelength (nm)Diffraction angle (deg)
Order 3; Diffraction angle (deg) / Wavelength (nm)
lines/mm
nm
deg
mm
Join the Pro waiting list

What Pro produces

Batch runs over a table of inputs, a PDF report with inputs, method and citations, CSV export and saved cases. Join the waiting list and we will write once, when it opens.

Use this in your AI assistant

This calculator is available to Claude, ChatGPT and other assistants through ScienceShot’s free connector.

https://scienceshot.com/mcp

Connector tool: diffraction_grating

Example: What is the first-order angle at 500 nm for 600 lines/mm?

About the connector

Reference cases

Groove density (lines/mm)Diffraction angle beta (deg)Ideal resolving power |m|NRayleigh linewidth (nm)
3008.626975000.066667
60017.458150000.033333
120036.87300000.016667
180064.158450000.011111

Cite this

ScienceShot. Diffraction grating calculator. https://scienceshot.com/diffraction-grating-calculator.

More formats

ScienceShot. (2026). Diffraction grating calculator [Online calculator]. https://scienceshot.com/diffraction-grating-calculator

@misc{scienceshot-diffraction-grating-calculator-2026,
  author = {{ScienceShot}},
  title  = {{Diffraction grating calculator}},
  year   = {2026},
  note   = {Online calculator},
  url    = {https://scienceshot.com/diffraction-grating-calculator}
}

Sources: E. Hecht, Optics, 5th ed. (2017), chapter 10: diffraction gratings and resolving power; MKS Newport, Diffraction Grating Handbook, 8th ed., chapter 2: grating equation, dispersion, resolving power, Littrow and free spectral range.

Reviewed by a physicist with CERN experience