Young's Double-Slit Simulator Back
High School Physics · Wave Optics

Young's Double-Slit Interference Simulator

Watch the circular wavefronts spreading from the two slits overlap and build up the interference fringes on the screen in real time. Switch to single-photon mode and see wave–particle duality emerge dot by dot before your eyes.

Light Parameters
Presets
Wavelength λ
nm
Slit separation d
mm
Screen distance L
m
Slit width a
mm
A wider slit narrows the single-slit diffraction envelope, dimming the outer fringes.
Display mode
Wave mode: shows the circular wavefronts spreading from the slits and the intensity pattern building up on the screen.
Live Readouts
2.75
Fringe spacing Δy [mm]
0.158
Angle to m=1 θ₁ [°]
5
Visible fringes
Green
Light color
2.5
d/a ratio
0
Photons
Real-Time Interference Visualization
Wave crest (bright) Wave trough Screen intensity I(y)
Bright: d·sinθ = mλ
Dark: d·sinθ = (m+½)λ
Spacing: Δy = λL/d
Results
2.75
Fringe spacing Δy (mm)
Green
Light color
Theory & Key Formulas
$$\Delta y = \frac{\lambda L}{d},\qquad I(\theta)=I_0\cos^2\!\Big(\frac{\pi d\sin\theta}{\lambda}\Big)\,\mathrm{sinc}^2\!\Big(\frac{\pi a\sin\theta}{\lambda}\Big)$$

Bright fringe: $d\sin\theta = m\lambda$, dark fringe: $d\sin\theta=(m+\tfrac12)\lambda$
Approximation: $y_m = m\dfrac{\lambda L}{d}$. The single-slit $\mathrm{sinc}^2$ envelope modulates the two-slit fringes.
Check: $\lambda=550\,\mathrm{nm},\ d=0.2\,\mathrm{mm},\ L=1\,\mathrm{m}\Rightarrow\Delta y=2.75\,\mathrm{mm}$.

What is Young's Double-Slit Experiment?

In 1801, the British physicist Thomas Young showed that light passing through two narrow slits forms a pattern of alternating bright and dark bands (interference fringes) on a screen. This was decisive evidence that light is a wave, and it changed the course of physics.

Light that passes through each slit spreads out as a new spherical wavelet (Huygens's principle). Where these two waves meet, superposition (interference) occurs: where crest meets crest the light is bright, and where crest meets trough the light cancels out to darkness.

Fringe Spacing Formula

The spacing $\Delta y$ between adjacent bright fringes is:

$$\Delta y = \frac{\lambda L}{d}$$

You can verify this formula instantly with the sliders. For example, changing λ from 380 nm (violet) to 750 nm (red) nearly doubles the fringe spacing.

Conditions for Bright and Dark Fringes

The central fringe (m = 0) is the brightest, with m = ±1, ±2, … fringes on either side. The simulator labels each order along the intensity curve.

Application: Measuring Wavelength

Conversely, this experiment can be used to measure the wavelength of light precisely. By measuring the fringe spacing Δy with a ruler and knowing L and d, you can calculate λ = Δy × d / L. This is the foundation of spectroscopy and is related to the operating principles of modern laser interferometers and semiconductor lithography.

💬 Deepening Your Understanding

🙋
Student
When I made the slit separation d smaller, the fringes kept spreading out. Why does a narrower gap make the fringes wider? That seems backwards to me.
🎓
Professor
It does feel counterintuitive at first! But look at Δy = λL/d — a smaller d means a larger Δy, so the fringes spread out. Physically, when the slits are very close together the two wave sources are almost at the same point. By the time the waves travel all the way to the screen, only a tiny angular difference separates them, so the positions where they arrive in phase end up far apart. It's the same idea as a diffraction grating: make d extremely small and the first-order beam shoots out at a large angle.
🙋
Student
Got it! So what would happen if you used white light instead of monochromatic light?
🎓
Professor
Great question. White light contains all visible wavelengths. The central fringe (m = 0) is white because all wavelengths arrive in phase at the same point. But for m = 1 and beyond, different wavelengths produce fringes at slightly different positions, so you see a rainbow-like color band — violet on the inside, red on the outside. Try sliding the wavelength from 380 nm to 750 nm in the simulator to see how the fringe position shifts for each color.
🙋
Student
What exactly is "path difference"? Which distances are we talking about?
🎓
Professor
Pick any point P on the screen. Let r₁ be the distance from slit 1 to P, and r₂ the distance from slit 2 to P. The path difference is |r₁ − r₂|. At the center, r₁ = r₂, so the path difference is zero and you get a bright fringe. As P moves up the screen the path difference grows: half a wavelength gives a dark fringe, one full wavelength gives the next bright fringe, and so on. Far from center, the small-angle approximation breaks down and the exact geometry is needed instead of the simple Δy = λL/d formula.

Physical Model & Key Equations

The simulator is based on the governing equations of Young's Double-Slit Interference Simulator. Understanding these equations is key to interpreting the results correctly.

Each parameter in the equations corresponds to a slider in the control panel. Moving a slider changes the equation's solution in real time, helping you build a direct connection between mathematical expressions and physical behavior.

Real-World Applications

Engineering Design: The concepts behind Young's Double-Slit Interference Simulator are applied across mechanical, structural, electrical, and fluid engineering disciplines. This tool provides a quick way to estimate design parameters and sensitivity before committing to full CAE analysis.

Education & Research: Widely used in engineering curricula to connect theory with numerical computation. Also serves as a first-pass validation tool in research settings.

CAE Workflow Integration: Before running finite element (FEM) or computational fluid dynamics (CFD) simulations, engineers use simplified models like this to establish physical scale, identify dominant parameters, and define realistic boundary conditions.

Common Misconceptions and Points of Caution

Model assumptions: The mathematical model used here relies on simplifying assumptions such as linearity, homogeneity, and isotropy. Always verify that your real system satisfies these assumptions before applying results directly to design decisions.

Units and scale: Many calculation errors arise from unit conversion mistakes or order-of-magnitude errors. Pay close attention to the units shown next to each parameter input.

Validating results: Always sanity-check simulator output against physical intuition or hand calculations. If a result seems unexpected, review your input parameters or verify with an independent method.

How to Use

  1. Adjust the wavelength slider (400–700 nm) to select visible light: violet (400 nm), green (550 nm), or red (650 nm). The lambda-display updates in real time.
  2. Set slit separation d using the d-slider (0.1–2 mm). Smaller separation produces wider fringes; larger separation compresses the pattern.
  3. Modify screen distance L (0.5–3 m) with the L-slider. Greater distance stretches the interference pattern vertically.
  4. Monitor fringe spacing Δy (mm) in the live readouts, calculated as Δy = λL/d. Switch to "Single photons" mode to watch dots land one by one and the fringes emerge statistically (wave–particle duality).

Worked Example

Suppose you set wavelength λ = 550 nm (green laser), slit separation d = 0.5 mm, and screen distance L = 1.5 m. The simulator calculates fringe spacing: Δy = (550 × 10⁻⁹ m × 1.5 m) / (0.5 × 10⁻³ m) = 1.65 mm. Central bright fringe appears at the center, with alternate dark and bright bands spaced 1.65 mm apart. Decreasing d to 0.25 mm doubles Δy to 3.30 mm, demonstrating inverse proportionality.

Practical Notes

  1. Red light (650 nm) produces wider fringes than blue (450 nm) at identical d and L; use for experiments requiring visible separation on standard screens.
  2. Laboratory setups typically use d = 0.2–1 mm and L = 0.5–2 m to keep Δy between 0.5–5 mm for easy measurement.
  3. Coherent sources (lasers) show sharper fringes than incoherent light; this simulator assumes perfect coherence and plane waves.