# Why is a diffraction grating better than a prism?

The angle of the first-order deflection ($\theta$) can be described in terms of the distance between lines ($d$) and the wavelength ($\lambda$).
$\tan \left(\theta\right) = \frac{\lambda}{d}$