The Diffraction Grating Calculator is governed by d × sin(θ) = m × λ | d = 1 / (Grooves_per_mm × 1000). It describes the mathematical and physical relationship between the optical or acoustic system parameters.