Diffraction Grating Calculator

lines/mm
deg (°)
Integer
Diffraction Angle (θm)
---
Order does not exist (Evanescent).

How it works?

The Grating Equation

A diffraction grating splits light into its constituent wavelengths (colors). The angle at which each color leaves the grating is determined by constructive interference. This behavior is governed by the universal Grating Equation:

$$ m \lambda = d (\sin \theta_m - \sin \theta_i) $$

Where:

  • \(\theta_m\) : Diffracted Angle (Output).
  • \(\theta_i\) : Incident Angle (Input).
  • \(\lambda\) : Wavelength of light.
  • \(m\) : Diffraction Order (Integer: 0, ±1, ±2...).
  • \(d\) : Grating Period (Distance between grooves, \( d = 1 / \text{density} \)).