Young’s Double-Slit Experiment (YDSE): Animation & Explanation
Young’s double-slit experiment is one of the most famous experiments in physics. Young’s double-slit experiment demonstrates the wave nature of light through a pattern of bright and dark interference fringes. When light passes through two narrow slits, the overlapping waves produce this pattern on a screen.
In this blog post, we will Explore Young’s double-slit experiment with a free interactive simulator. Learn how the fringes form, how wavelength, slit gap, and screen distance change the pattern, and learn the fringe-spacing formula.

But the double-slit experiment is much more than a diagram to memorize. It explains why light interferes, how simple equipment can measure the wavelength of light, and why modern physics treats electrons and even molecules as waves too.
Interactive Young’s Double-Slit Experiment Simulator
The simulator is embedded in this post, so you don’t need to open or download anything. It works in any modern browser (Chrome, Safari, Firefox, Edge) on desktop, tablet and phone, with no sign-up.
Fullscreen Mode
Click Fullscreen (the ⛶ button at the top right) to expand the simulator and use more of your screen. This is the best way to view it for classroom demonstrations and screen recordings. Press Esc to exit.
On iPhone: Safari may not allow fullscreen for embedded content. If so, the Fullscreen button opens the simulator in a new tab, which gives you the full page.
What You See When It Loads
- Top bar: logo and title on the left. Fullscreen and the “?” help button on the right.
- The experiment board: from left to right, a light bulb, a barrier with one slit, a barrier with two slits, a screen showing bright and dark fringes, and a brightness graph beside it.
- Bottom bar: three sliders (wavelength, slit gap, screen distance), the fringe spacing result in green, and the buttons White light, Labels, Fringes, Equation, Light, Pause and Reset.

Controls
| Action | Desktop | Phone |
|---|---|---|
| Switch the light on or off | Click the bulb, or press Light | Tap the bulb, or tap Light |
| Change the slit gap | Drag the two slits up or down, or use the Slit gap slider | Drag the slits, or use the slider |
| Change the screen distance | Drag the screen along the experiment, or use the Screen distance slider | Drag the screen, or use the slider |
| Change the wavelength | Wavelength slider | Wavelength slider |
| Go bigger | Fullscreen | Fullscreen (opens a new tab on some iPhones) |
| Freeze the waves | Pause | Pause |
| Start over | Reset | Reset |
The sliders and the drag handles stay in sync, so you can use whichever you prefer.
Phone Tips
- Hold your phone upright. The experiment turns on its side so it fills the screen: the light is at the top and the screen at the bottom.
- Hide the sliders for a bigger view. Tap Hide sliders above the controls, then Show sliders to bring them back.
- Use Fullscreen first. It gives you the largest possible view.
- Reset if you get lost. Reset returns every value to the starting settings and turns the light on.
The Three Sliders
| Slider | Range | What it changes |
|---|---|---|
| Wavelength (λ) | 400 to 700 nm | The colour of the light, from violet to red. Longer wavelengths spread the fringes apart. |
| Slit gap (d) | 0.10 to 0.40 mm | The distance between the centres of the two slits. A smaller gap spreads the fringes apart. |
| Screen distance (D) | 1.0 to 1.9 m | How far the screen is from the double slit. A farther screen spreads the fringes apart. |
The green Fringe spacing box shows Δy, the distance between two neighbouring bright fringes. The diagram is drawn at a convenient size so everything fits on screen, but the readouts use real units.
The Buttons
| Button | What it does |
|---|---|
| White light | Sends every colour through at once. The centre fringe turns white and the side fringes turn to colour. The wavelength slider is switched off in this mode. |
| Labels | Marks d (the slit gap), D (the screen distance) and Δy (the fringe spacing) on the diagram, and adds a 0 to 1 scale under the graph. |
| Fringes | Marks the screen with filled dots where the path difference is mλ (bright) and hollow dots where it is (m + ½)λ (dark). A key appears in the corner. |
| Equation | Opens a strip that shows Δy = λD / d with your live numbers filled in. |
| Light | Switches the light on or off. Clicking the bulb does the same. |
| Pause | Freezes the moving waves so you can study one moment. |
| Reset | Returns the sliders to 600 nm, 0.25 mm and 1.70 m and turns the light on. |
Reading the Screen and the Graph
The dark strip on the right is the screen. Where it glows, light is arriving; where it stays dark, the waves cancel. Beside it, the graph plots I / Imax, the brightness divided by the brightest value, against position along the screen. Each peak lines up with a bright fringe.
Two things are worth noticing. The central fringe is the brightest, and the peaks get lower toward the edges. The second effect comes from the width of each slit, which you will meet again below.
What Is Young’s Double Slit Experiment?
Young’s double-slit experiment shines light through two very narrow, closely spaced slits and records what lands on a screen behind them. Instead of two bright bands, the screen shows many bright and dark stripes called interference fringes.
The fringes appear because each slit acts as a new source of waves. The two sets of waves overlap on their way to the screen. Where they arrive in step, the light adds up and the screen is bright. Where they arrive out of step, the light cancels and the screen is dark.
This behaviour is called interference, and it only happens with waves. Throw two stones into a pond, and the ripples cross in the same way. The experiment showed that light does the same thing.
The Four Parts of the Experiment
The table below lists each part of the experiment and shows where to find it in the simulator.
| Part | Job | In the simulator |
|---|---|---|
| Light source | Provides light of one wavelength (or white light) | The bulb on the left |
| Single slit | Makes the light coherent, so both slits are driven in step | The first barrier |
| Double slit | Splits the light into two waves that overlap | The second barrier |
| Screen | Shows the bright and dark fringes | The dark strip on the right |
What Is Interference of Light?
Interference occurs when two or more waves overlap and combine according to the principle of superposition.
The resulting intensity depends on the phase difference between the waves.
There are two principal types of interference.
1. Constructive Interference
Constructive interference occurs when two waves arrive in phase. Their crests align with crests, and their troughs align with troughs.
This produces maximum intensity and creates bright fringes.
The condition for constructive interference is:
δ = mλ
Where:
- δ = path difference between the two waves
- m = 0, ±1, ±2, … (fringe order)
- λ = wavelength of light
For example, when the path difference is zero, the waves arrive in phase and produce the central bright fringe.
2. Destructive Interference
Destructive interference occurs when two waves arrive half a wavelength out of phase. A crest of one wave aligns with a trough of the other.
When the waves have equal amplitudes, they cancel completely, producing a dark fringe.
The condition for destructive interference is:
δ = (m + ½)λ
Where δ is the path difference and m = 0, 1, 2, … counts the dark fringes outward from the centre on each side.
The first dark fringe corresponds to a path difference of λ/2, the second to 3λ/2, and the third to 5λ/2.
Remember: Constructive interference produces bright fringes, while destructive interference produces dark fringes.
Why Are Coherent Sources Necessary?
To produce a stable interference pattern, the two waves must keep a constant phase difference. Sources that do this are called coherent sources.
Two independent light sources, such as two separate bulbs, do not make a stable pattern. Their phase difference changes randomly and very quickly, so the bright and dark fringes wash out.
Young solved this by getting both waves from the same source. In the simulator, light from the bulb first passes through a single narrow slit, which makes it behave as if it came from one tiny point. Both slits behind it are then driven in step, so they act as coherent sources. A laser makes the single slit unnecessary, because laser light is already highly coherent.
The History of the Double Slit Experiment
The double slit experiment settled one of the oldest arguments in physics: is light a stream of particles or a wave? The answer took more than a century to become clear, and then the question returned in a new form with electrons.
Before Young: Particle or Wave?
In the 1600s, Christiaan Huygens argued that light travels as a wave. Isaac Newton, whose reputation was enormous, favoured a picture of light as tiny particles. For about a century, Newton’s view dominated, mostly because nobody had seen convincing evidence of light interfering.
Young’s Experiment
Between 1801 and 1803, Thomas Young showed that light can interfere. He presented his interference principle in 1801, and by 1803 he had demonstrated it by splitting a narrow beam of sunlight with a thin card and watching the overlapping beams make coloured fringes. The two-slit arrangement taught in classrooms today is the clean form of the same idea. Young also used his results to estimate the wavelengths of different colours of light.
Many scientists were at first unconvinced. The turning point came when Augustin-Jean Fresnel developed a full mathematical wave theory of light in the 1810s, and when James Clerk Maxwell showed in the 1860s that light is an electromagnetic wave.
Timeline of the Big Steps
| Year | Who | What changed |
|---|---|---|
| 1600s | Christiaan Huygens | Proposed that light travels as a wave |
| 1704 | Isaac Newton | Published Opticks, favouring a particle picture of light |
| 1801-1803 | Thomas Young | Showed interference of light with overlapping beams |
| 1810s | Augustin-Jean Fresnel | Built the mathematical wave theory of light |
| 1860s | James Clerk Maxwell | Showed that light is an electromagnetic wave |
| 1905 | Albert Einstein | Explained the photoelectric effect with light quanta, reopening the particle question |
| 1909 | G. I. Taylor | Saw interference fringes using extremely dim light |
| 1961 | Claus Jönsson | Made electrons form double slit fringes |
| 1989 | Akira Tonomura and colleagues | Recorded an electron interference pattern building up one electron at a time |
| 1999 | Markus Arndt and colleagues | Showed interference with C60 molecules |
Why the Experiment Still Matters
Today the double slit experiment is a bridge between classical and quantum physics. It shows that interference is real, that wavelength can be measured with a ruler, and that even single particles produce wave patterns. Physicist Richard Feynman famously said it contains the heart of quantum mechanics.
How the Pattern Forms
The pattern comes from one simple idea: waves from the two slits travel different distances to reach any point on the screen. That difference in distance, called the path difference, decides whether the waves meet in step or out of step.
Waves from Each Slit
When a wave passes through a narrow slit, it spreads out on the far side. This spreading is called diffraction, and it is easiest to understand through Huygens’ principle: every point on a wavefront acts as a new source of waves.
For Young’s experiment, each slit can be treated as a source of waves that spread out in circles (in a real setup, mostly as cylindrical waves, because the slits are long and thin). In the simulator, you can see these waves leaving each of the two slits and crossing each other. The black dots mark where a crest from one slit meets a crest from the other.
Path Difference: Bright and Dark Fringes
Let the path difference be δ. The rule has two parts:
| Condition | Result | Fringe |
|---|---|---|
| δ = mλ, with m = 0, ±1, ±2, … | Crest meets crest; the waves add up | Bright |
| δ = (m + ½)λ, with m = 0, 1, 2, … (on each side of the centre) | Crest meets trough, the waves cancel | Dark |
At the exact centre of the screen, the two paths are equal, so δ = 0. That is why the central fringe is bright. Move away from the centre and δ grows. Each time it reaches a whole number of wavelengths, another bright fringe appears.
Turn on Fringes in the simulator to see these conditions marked on the screen with filled dots for bright fringes and hollow dots for dark ones.
Deriving the Fringe Spacing Equation
The fringe spacing equation tells us the distance between two consecutive bright fringes in Young’s double-slit experiment (YDSE):
Δy = λD/d
Here, λ is the wavelength of light, D is the distance from the slits to the screen, and d is the separation between the two slits.
Let’s derive this equation step by step.
Step 1: Express the Path Difference
For a point on the screen at an angle θ from the central axis, the path difference between the two light waves is:
δ = d sin θ (path difference)
For a bright fringe, constructive interference occurs when the path difference is an integer multiple of the wavelength:
d sin θ = mλ
Where m = 0, ±1, ±2, … is the bright-fringe order. Negative values of m give the matching fringes on the other side of the centre.
Step 2: Apply the Small-Angle Approximation
For points near the centre of the screen (y ≪ D), the angle θ is small. Therefore:
sin θ ≈ tan θ ≈ yₘ/D
Here, yₘ is the position of the m-th bright fringe measured from the central maximum.
Substituting this approximation into the constructive-interference condition gives:
dyₘ/D = mλ
Rearranging:
yₘ = mλD/d
This equation gives the position of any bright fringe relative to the central maximum.
Step 3: Calculate the Fringe Spacing
Fringe spacing is the distance between two consecutive bright fringes, of orders m and m + 1.
The position of the next bright fringe is:
yₘ₊₁ = (m + 1)λD/d
Therefore, the fringe spacing is:
Δy = yₘ₊₁ − yₘ
Substituting the expressions for the two positions:
Δy = (m + 1)λD/d − mλD/d
Simplifying gives the final result:
Δy = λD/d
This is the fringe spacing equation for Young’s double-slit experiment.
Conditions for the Equation
The equation Δy = λD/d is valid when:
- y ≪ D, so the angle is small and sin θ ≈ tan θ ≈ y/D. This means the fringes are observed near the centre of the screen.
- D ≫ d, so the rays from the two slits to a point on the screen are almost parallel and the path difference is d sin θ.
- The slits are illuminated by coherent, monochromatic light.
For a clear interference pattern, the slits should also be sufficiently narrow, and their separation should be large compared with the wavelength.
What Changes the Fringe Pattern
The equation Δy = λD / d tells you exactly how each setting changes the pattern. The table below uses the starting values and changes one thing at a time.
| Change | Δy | Why |
|---|---|---|
| Wavelength 400 nm | 2.72 mm | Shorter waves bend less, so fringes sit closer together |
| Wavelength 600 nm (start) | 4.08 mm | Starting value |
| Wavelength 700 nm | 4.76 mm | Longer waves bend more, so fringes spread out |
| Slit gap 0.10 mm | 10.20 mm | A smaller gap spreads the fringes widely |
| Slit gap 0.40 mm | 2.55 mm | A larger gap squeezes the fringes |
| Screen distance 1.0 m | 2.40 mm | A nearer screen shows a narrower pattern |
| Screen distance 1.9 m | 4.56 mm | A farther screen spreads the pattern |
In short, Δy grows with λ and D, and shrinks as d grows.
Why Are the Fringes Fainter Toward the Edges?
The equation above treats each slit as infinitely narrow, but a real slit has a width. A slit of width a also spreads light by diffraction, and this spreading is strongest near the centre. The result is a smooth brightness curve, called an envelope, that sits over the fringes and makes the outer ones fainter. The graph in the simulator shows this: the peaks are tallest in the middle and shrink toward the edges.
Slit width and slit gap are different things. The width a is how wide one opening is. The gap d is the distance between the centres of the two openings.
White Light and Colour
A single colour of light makes one set of fringes. White light is a mixture of all visible colours, and each colour has its own wavelength, so each makes its own fringe pattern with its own spacing.
- At the centre, the path difference is zero for every colour, so every colour is bright. The colours add to make a white central fringe.
- Away from the centre, the colours separate. Violet and blue, with short wavelengths, have fringes closer to the centre. Red, with the longest wavelength, has fringes farther out.
- Farther out still, the colours overlap and wash out to a pale blur.
Common Mistakes in Young’s Double-Slit Experiment
Young’s double-slit experiment is simple in principle, but a few details often cause errors in numerical problems and lab reports. Here are the key ones to watch for.
1. Reading the Fringes as Particle Paths
Bright and dark fringes show how the light intensity varies across the screen. The wavefronts drawn in the simulator illustrate the wave model. They do not show the actual paths of individual photons.
2. The Fringe-Spacing Formula Is an Approximation
The formula
Δy = λD/d
is derived with the small-angle approximation. It works well when D ≫ d and the observation point is close to the centre (y ≪ D).
For larger angles, go back to the path-difference conditions:
- Bright fringes: d sin θ = mλ, with m = 0, ±1, ±2, …
- Dark fringes: d sin θ = (m + ½)λ, with m = 0, 1, 2, … on each side of the centre
3. Mixing Up Slit Width and Slit Separation
The slit separation d sets the spacing of the fringes. The width a of each slit sets the diffraction envelope, which controls how the brightness of the fringes fades toward the edges. Only d appears in Δy = λD/d.
4. Mixing Up the Bright and Dark Conditions
Bright fringes need a path difference of a whole number of wavelengths: δ = mλ. Dark fringes need a half-integer number: δ = (m + ½)λ. A common error is using mλ for a dark fringe, which puts the first dark fringe in the wrong place.
The first dark fringe sits at δ = λ/2, which is half a fringe spacing from the centre, not a full one. With the simulator’s starting values (Δy = 4.08 mm), the first dark fringe is 2.04 mm from the centre, and the first bright fringe beside the centre is at 4.08 mm.
5. Forgetting That Coherence Is Essential
Without a stable phase relationship between the two slits, the fringes wash out. See “Why Are Coherent Sources Necessary?” above.
6. Forgetting to Convert Units
Wavelength is usually given in nanometres, the slit gap in millimetres, and the screen distance in metres. Convert everything to metres before using Δy = λD/d.
Example with the starting values: λ = 600 nm = 600 × 10⁻⁹ m, d = 0.25 mm = 0.25 × 10⁻³ m, D = 1.70 m.
Δy = (600 × 10⁻⁹ m)(1.70 m) / (0.25 × 10⁻³ m) = 4.08 × 10⁻³ m = 4.08 mm
If you put 600, 0.25 and 1.70 straight into the formula, you get 4080, which is meaningless without the right units.
7. Trusting the Diagram’s Scale
The simulator resizes its diagram to fit your screen, so the distances between slits and fringes on screen are not in true proportion. Use the displayed values and the calculated fringe spacing instead of measuring the picture.
8. Confusing Fringe Position with Fringe Spacing
yₘ = mλD/d is the position of the m-th bright fringe, measured from the centre. Δy = λD/d is the gap between two neighbouring bright fringes. The two numbers are equal only for m = 1, which is why students mix them up.
Exam tip: Keep four things separate: slit separation (d), slit width (a), path difference (δ), and fringe spacing (Δy). Most YDSE mistakes come from mixing these up.
Interference in Real Life
Interference is not just a laboratory idea. The same principle of superposition is at work in many places.
| Where | How interference is involved |
|---|---|
| Soap bubbles and oil slicks | Light reflecting from the front and back of a thin film interferes, giving rainbow colours |
| Anti-reflective coatings | A thin layer is chosen so reflected waves cancel, which cuts glare on lenses |
| Noise-cancelling headphones | A speaker makes sound waves that cancel unwanted noise through destructive interference |
| CDs and DVDs | The tiny tracks act like many slits, which is why the disc shows colours |
| Diffraction gratings and spectrometers | Many slits make fringes that are sharper than two slits, and separate light by wavelength |
| Interferometers | Instruments such as the Michelson interferometer measure tiny distances using interference fringes |
| Radio telescope arrays | Several dishes combine their signals, using interference to sharpen the image |
How to Remember the Double Slit Formulas
You do not need to memorize every symbol if you remember three short rules.
- Bright means whole, dark means half. Bright fringes have a path difference of 0, λ, 2λ and so on. Dark fringes have ½λ, 1½λ, and so on.
- Spread up with λ and D, down with d. Longer wavelength or a farther screen spreads the fringes. A wider slit gap squeezes them.
- Centre is always bright. At the middle of the screen, the path difference is zero. In white light, that centre is white.
A quick summary to keep next to your notes:
| Quantity | Symbol | Bright fringe | Dark fringe |
|---|---|---|---|
| Path difference | δ | mλ | (m + ½)λ |
| Position on the screen | y | mλD / d | (m + ½)λD / d (on each side of the centre) |
| Fringe spacing | Δy | λD / d | λD / d |
Then use the simulator to test yourself. Before you move a slider, predict whether the fringes will spread out or squeeze together, then check.
Frequently Asked Questions About Young’s Double-Slit Experiment
1. What does Young’s double-slit experiment demonstrate?
Young’s double-slit experiment demonstrates the wave nature of light through interference. However, it does not prove that light behaves only as a wave. Quantum physics explains both its wave-like and particle-like behaviour (see question 10).
2. Why do bright and dark fringes form?
The waves from the two slits travel different distances to reach a point on the screen. When they arrive in phase, they produce constructive interference and a bright fringe. When they arrive half a wavelength out of phase, they produce destructive interference and a dark fringe.
3. What is the formula for fringe spacing in YDSE?
The fringe-spacing formula is:
Δy = λD/d
Where:
- Δy = fringe spacing
- λ = wavelength of light
- D = distance between the slits and the screen
- d = separation between the two slits
This equation assumes small angles (y ≪ D) and a screen much farther from the slits than their separation (D ≫ d).
4. How does slit separation affect the interference pattern?
Fringe spacing is inversely proportional to slit separation. Decreasing the separation makes the fringes farther apart, while increasing it brings them closer together.
Δy ∝ 1/d
5. Why is the central fringe bright?
At the centre of the screen, the distances from both slits are equal. The path difference is zero (δ = 0), so the waves arrive in phase and produce constructive interference. For identical slits, the central region also lies at the maximum of the diffraction envelope.
6. Why does white light produce a white central fringe and coloured fringes on either side?
At the centre, the path difference is zero for every wavelength, so the visible colours combine to produce white light. Away from the centre, different wavelengths have different fringe spacings, causing the colours to separate. Farther from the centre, the fringes overlap and become less distinct.
7. Do you need a laser to perform Young’s double-slit experiment?
No. A laser is convenient because it provides light with good coherence and a narrow range of wavelengths. Other sources can also be used with suitable optical arrangements, such as a narrow slit to condition light from a lamp or sunlight.
8. What is the difference between slit width and slit separation?
Slit separation (d) sets the spacing of the fringes. Slit width (a) sets the diffraction envelope, which controls how fringe brightness fades toward the edges.
9. Does increasing light intensity increase fringe spacing?
No. Increasing light intensity generally makes the fringes brighter but does not change their spacing. Fringe spacing depends on wavelength, screen distance, and slit separation.
10. Can Young’s double-slit experiment be performed with electrons or individual photons?
Yes. Experiments using electrons and individual photons can produce interference patterns when the experimental conditions preserve the relevant quantum coherence. Each particle is detected as a single hit, and the fringe pattern emerges only after many hits build up. Similar interference has also been shown with larger objects, including certain molecules. These experiments are important for understanding wave-particle duality and quantum mechanics.
11. What happens when one slit is closed?
Closing one slit removes the two-slit interference pattern because there are no longer two slit-generated waves to interfere. The remaining slit can still produce a diffraction pattern.
Conclusion
Young’s double-slit experiment shows that light interferes: waves from two slits overlap and make bright and dark fringes. The spacing of the fringes follows Δy = λD / d, so longer wavelengths and farther screens spread the pattern, while a wider slit gap squeezes it.
Use the interactive simulator to change each setting, turn on white light, and check your predictions. A few minutes of experimenting will make the equation much easier to remember than any list of symbols.
