Clever Quest Lab ← Labs

Double-Slit Experiment

Shine light through one slit, two slits or a grating and watch the fringes form on the screen.

Slits and light

Measure the fringes

Drag marker A or B on the screen or the graph, or focus the graph and use the arrow keys.Drag marker A or B on the screen or the graph, or click where the nearest marker should go.Drag sideways on the screen or the graph to move the nearest marker, or tap where it should go.On the graph: ←/→ move the marker, A, B or Space pick it, Shift moves faster.

Marker A
–
Marker B
–
Distance A–B
–
Measured spacing
–
Theory (small angle)
–

Key numbers

First bright fringe
–
Highest order
–
Envelope: first dark band
–
Missing orders
–
Far-field check a²/(λL)
–

Screen view

Presets

Top view: Huygens wavelets

One photon at a time

Each photon lands at one random spot on the screen. Where it lands is random, but the chance follows the intensity curve.

Photon mode is off.

Runs on your device. Nothing you type or record is uploaded. Keeps working without a connection while the page is open. Works with touch. Saves your slit, light, screen and photon settings on this device.

Added

How to use it

Pick one slit, two slits or a grating with up to 20 slits. Light arrives from the left, the black strip shows the screen in a dark room and the graph plots the brightness across it. Move a slider and the pattern changes at once: a longer wavelength or a more distant screen spreads the fringes out, while slits further apart squeeze them together. The top view shows why: wavelets leave every slit, and where crests meet crests the light is bright.

Controls

How it works

Light from two slits a distance d apart travels different distances to a point on the screen at angle θ. The difference is d sin θ. When it is a whole number of wavelengths, the waves arrive in step and make a bright fringe; halfway between, they cancel. On a screen at distance L the point sits at y = L tan θ:

d sin θ = mλ   (m = 0, ±1, ±2, …)     Δy ≈ λL / d   (small angles)

Each slit has a width a, and light from different parts of one slit interferes too. That gives the envelope, with dark bands where a sin θ = mλ (m ≠ 0). The page plots the Fraunhofer formula for N equal slits, normalised so the central peak is 1:

I(θ) = I0 (sin β / β)² (sin Nα / (N sin α))²
β = πa sin θ / λ     α = πd sin θ / λ

The first factor is the envelope, the second the interference of N slits. More slits make the bright peaks sharper without moving them, with N − 2 weak peaks between them. An order goes missing when it falls on a dark band of the envelope, for example every third order when d = 3a. The formula assumes a distant screen (the far field), so the readouts show a²/(λL), which should be much smaller than 1. The dimming far out on a flat screen is ignored.

In white light every wavelength makes its own pattern. The page adds up to 75 wavelengths from 380 to 750 nm and turns the sum into a colour with the CIE 1931 colour-matching functions (the standard table in 10 nm steps) and the sRGB conversion, balanced so the full mix looks white.

The top view is not to scale: a real wavelength is far too small to draw, so the picture enlarges it, limits d/λ and may show fewer slits (the note under it gives the real numbers). It adds up wavelets from points across every slit, which is Huygens’ principle.

Things to try

Frequently asked questions

Why is the centre white in white light?

At the centre every wavelength has zero path difference, so all colours are bright together. Further out, short wavelengths reach their fringes first, so inner edges look bluish and outer edges reddish.

Does light really arrive one photon at a time?

Yes. The experiment has been done with light so faint that only one photon at a time crosses the apparatus, and with electrons. Each lands at a single spot, yet the dots build the same fringes. The page imitates this with random numbers drawn from the calculated intensity.

How is a grating different from two slits?

A real grating has hundreds of slits per millimetre and thousands in total. Its orders sit at the same angles as for two slits with the same d, but they are much narrower, so colours separate cleanly. That is why gratings are used to measure spectra.

Who first did it?

Thomas Young reported the interference of light to the Royal Society in 1803; his 1807 lectures describe light from two slits. It was key evidence that light is a wave.

Sources