Slit Diffraction Calculator
Where are the dark bands behind a single slit, how far apart are the fringes from a double slit, and which orders go missing? From the wavelength, the slit width, the number and spacing of the slits and the distance to the screen, the calculator draws the far-field pattern and gives its minima, fringe spacing and envelope. Background: diffraction, diffraction grating, diffraction limit, and coherence length.
Three short experiments. Each one sets the inputs, says where to look, and asks for a prediction before it shows the result.
These checks run in your browser on every load. The closed forms are compared with values worked out by hand, the first side lobe of the single-slit pattern is found numerically, a missing order is confirmed to be dark, and the pattern is integrated to confirm that it carries the light that passed the slit.
| Check | Expected | Computed | Tolerance |
|---|
The expected values follow the Fraunhofer results in Hecht, Optics, and Born and Wolf, Principles of Optics, evaluated by hand for the stated cases. The tolerance is the largest relative difference from Expected that still passes.
In the far field (Fraunhofer diffraction), a slit of width lit by a plane wave of wavelength gives an intensity that depends on the angle as the square of a sinc function. With identical slits at centre spacing , that envelope is multiplied by the interference of the slits:
The single-slit minima fall at for , so the central maximum on a screen at distance is about wide, and the first side lobe carries 4.72 % of the central intensity. The bright fringes of the slits fall at , spaced by on the screen for small angles; an order that lands on a zero of the envelope, as happens when is a whole number, is missing. The far-field form holds when the Fresnel number , with the total width of the slits, is well below 1; closer to the slits the pattern is a Fresnel pattern and this model does not apply. For a circular aperture the same physics gives the Airy disk, and for many slits the diffraction grating.
Worked example
A helium-neon laser at 632.8 nm passes a 100 µm slit, and the screen is 1 m away. The first minimum is at 6.328 mrad, so the central maximum is 12.66 mm wide, and the Fresnel number is 0.0158, well into the far field. A double slit of 40 µm slits 250 µm apart at 532 nm gives fringes 2.128 mm apart, 13 of them inside the 26.6 mm central maximum.
References: E. Hecht, Optics, 5th ed. (Pearson, 2017), ch. 10. M. Born and E. Wolf, Principles of Optics, 7th ed. (Cambridge University Press, 1999), ch. 8.