Skip to content
All apps

The double-slit experiment

About this app

Compare particles, waves and individual quantum detections. Adjust slit spacing and wavelength, then enable a which-path detector to remove interference.

The physics

In the double-slit experiment, light or an electron beam hits a barrier with two narrow slits. Classical balls would form two clusters behind the slits. A wave, by contrast, passes through both slits at once and interferes: bright fringes appear where the path difference is a whole multiple of the wavelength (Δs = n·λ). For small angles the fringe spacing is Δy ≈ λ·L/d, with screen distance L and slit separation d. Quantum objects show both behaviours: each is detected as a single dot, yet their distribution follows the interference pattern.

What you see

The app offers three modes. In “Particles” mode, classical balls each pass through one slit and pile up in two clusters. In “Waves” mode you see crests and troughs overlapping behind the barrier. In “Quanta” mode every quantum lands on the screen as a single dot, and the fringe pattern grows out of thousands of hits. A theory curve |ψ|² can be overlaid on the hits, and the readout lists slit spacing, wavelength, screen distance, fringe spacing and the number of detections.

Things to try

Change the slit spacing d and the wavelength λ and watch the fringe spacing respond: a longer wavelength or narrower spacing pushes the fringes apart. The rate slider controls how quickly quanta are detected. Then switch on the which-way detector: as soon as it is known which slit each quantum went through, the fringes vanish and a smooth distribution remains. The screen is cleared after every change so the pattern builds up again from scratch.

Frequently asked questions

What does the double-slit experiment show?
It shows that light and matter have both wave and particle properties. Individual electrons or photons hit the screen as dots, but their distribution forms an interference pattern that only a wave passing through both slits can produce. The pattern appears even when only one quantum is in flight at a time.
Why does the interference pattern disappear when you measure which slit the particle goes through?
Measuring the path is a physical interaction that makes the two paths distinguishable. The probability amplitudes of the two paths can then no longer interfere, and the screen simply shows the sum of the two single-slit distributions. What matters is the which-way information, not whether a person is watching.
How do you calculate the fringe spacing in a double-slit experiment?
For small angles, Δy ≈ λ·L/d, where λ is the wavelength, L the distance from the slits to the screen and d the separation of the slit centres. Bright fringes sit where the path difference equals a whole number of wavelengths.
What can I adjust in the double-slit app?
You choose between particles, waves and quanta, set the slit spacing, wavelength and detection rate, and can switch on a which-way detector. A theory curve |ψ|² can be toggled on and off, and the screen can be cleared at any time.

Subject: Physics

More from Physics

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps