Photonica
Tool · Imaging and diffraction

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.

Slits and light
The light arrives as a plane wave at normal incidence, as from a collimated laser. Set N = 1 for a single slit and N = 2 for Young’s double slit; larger N approaches a diffraction grating.
Presets
A hair or thin wire gives the same pattern as a slit of its width, apart from the bright spot on the axis (Babinet’s principle), which is how the laser-pointer measurement of a hair works.
Readouts
Intensity on the screen
Learn with it

Three short experiments. Each one sets the inputs, says where to look, and asks for a prediction before it shows the result.

Checked against

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.

CheckExpectedComputedTolerance

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.

The model

In the far field (Fraunhofer diffraction), a slit of width aa lit by a plane wave of wavelength λ\lambda gives an intensity that depends on the angle θ\theta as the square of a sinc function. With NN identical slits at centre spacing dd, that envelope is multiplied by the interference of the slits:

II0=(sin⁡ββ)2(sin⁡NγNsin⁡γ)2,β=πasin⁡θλ,γ=πdsin⁡θλ\frac{I}{I_0} = \left(\frac{\sin\beta}{\beta}\right)^{2} \left(\frac{\sin N\gamma}{N\sin\gamma}\right)^{2}, \qquad \beta = \frac{\pi a \sin\theta}{\lambda}, \quad \gamma = \frac{\pi d \sin\theta}{\lambda}

The single-slit minima fall at asin⁡θ=mλa\sin\theta = m\lambda for m=±1,±2,…m = \pm 1, \pm 2, \ldots, so the central maximum on a screen at distance LL is about 2λL/a2\lambda L/a wide, and the first side lobe carries 4.72 % of the central intensity. The bright fringes of the slits fall at dsin⁡θ=mλd\sin\theta = m\lambda, spaced by λL/d\lambda L/d on the screen for small angles; an order that lands on a zero of the envelope, as happens when d/ad/a is a whole number, is missing. The far-field form holds when the Fresnel number w2/(Lλ)w^2/(L\lambda), with ww 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.