1. Compare red and blue light
How to use
Set d = 0.10 mm and L = 1.0 m. Click the 450 nm blue shortcut, then the 650 nm red shortcut.
Outcome
Near-axis spacing grows from 4.50 to 6.50 mm. In the fixed view the bright-fringe count goes from 13 to 9.
Elysia Tools
Navigation
Adjust wavelength, slit spacing and screen distance to see how Young’s double-slit fringes and intensity change across a fixed section of the screen.
Open static visualizationTool usage guide
In Young’s double-slit experiment, light from two narrow slits forms alternating bright and dark fringes. Change one parameter at a time to see how the simulated fringes move across the same screen window. The curve and the screen image come from the same relative intensity.
The two slits are illuminated in phase by one monochromatic source. In this far-field model, their path difference at an angle θ is approximately d sin θ, where d is the slit spacing. Two waves of equal amplitude then give I/I₀ = cos²(πd sin θ/λ), with I₀ the intensity at the central maximum.
Bright fringes occur at whole wavelengths of path difference. A half-integer number of wavelengths gives a dark fringe. The central fringe, m = 0, is one of the equally intense maxima of the ideal model.
A point at angle θ falls at x = L tan θ. This geometric relation is used directly for the intensity curve and the bright and dark markers. Near the center, sin θ ≈ x/L, so the bright-fringe spacing is approximately Δx = λL/d.
The scale stays at ±30 mm for every setting. Decreasing the slit spacing or increasing either the wavelength or the screen distance spreads the bright fringes apart. Farther from the center, the projected gaps grow slightly even at a fixed setting.
Young’s 1804 report described fringes formed by light passing on either side of a narrow card. The simulation uses the familiar two-slit arrangement to show how two coherent paths produce similar interference.
A real slit has finite width. Its single-slit diffraction envelope reduces the brightness of outer fringes and can suppress some orders. The narrow-slit model isolates the interference factor.
Very tightly spaced fringes
For small L, wide slit spacing or short wavelength, the display may average several cycles within a pixel and omit crowded markers. The readout still counts the model’s bright fringes in the fixed window.
Fringes beyond the screen window
The first bright and dark pair readings refer to the entire modeled screen. The count and outermost order refer to the visible ±30 mm interval.
Comparison with a real double-slit image
The profile is relative intensity for equally illuminated narrow slits. Predicting a measured brightness profile also requires slit width and the diffraction envelope.
How to use
Set d = 0.10 mm and L = 1.0 m. Click the 450 nm blue shortcut, then the 650 nm red shortcut.
Outcome
Near-axis spacing grows from 4.50 to 6.50 mm. In the fixed view the bright-fringe count goes from 13 to 9.
How to use
Set d = 0.02 mm, L = 0.1 m and λ = 750 nm. Read the outermost bright order.
Outcome
The seventh fringe is at 27.20 mm on either side. The near-axis estimate for its distance is 26.25 mm.
How to use
Leave d = 0.02 mm and λ = 750 nm, then increase L to 5.0 m.
Outcome
The screen window contains only the central maximum. The first dark pair lies at ±93.77 mm, outside the plotted interval.
The two paths to the center have equal length. Waves that leave the two slits in phase arrive in phase there.
Δx ≈ λL/d is the small-angle spacing near the axis. The full tangent projection spreads successive fringes farther apart toward the edges.
The gain changes how the curve and colored pattern are rendered. Bright and dark fringe positions depend on d, L and λ.
At a Glance

Verified Results
Every parameter set and result below is a fixed output of this page's built-in model (each asserted before delivery) and reproduces directly: set the Parameters column in the interactive panel.
| Scenario | Parameters | Result |
|---|---|---|
| Fringes around the center | λ = 550 nm, d = 0.10 mm, L = 1.0 m | Δx ≈ 5.50 mm. The first bright pair is at ±5.50 mm and the first dark pair at ±2.75 mm. |
| Move the screen back | λ = 550 nm, d = 0.10 mm, L = 1.0 → 2.0 m | Δx grows from 5.50 to 11.00 mm. The ±30 mm view contains 11 → 5 bright fringes. |
| Widen the slit spacing | λ = 550 nm, L = 1.0 m, d = 0.05 → 0.30 mm | Δx shrinks from 11.00 to 1.83 mm. The ±30 mm view contains 5 → 33 bright fringes. |
| Switch from blue to red | λ = 450 → 650 nm, d = 0.10 mm, L = 1.0 m | Δx grows from 4.50 to 6.50 mm. The ±30 mm view contains 13 → 9 bright fringes. |
| Compare the seventh bright fringe | λ = 750 nm, d = 0.02 mm, L = 0.1 m | The m = 7 bright fringe lies at 27.20 mm. The small-angle estimate is 26.25 mm, so the projected position is 3.63% farther from the center. |
| Only the central bright fringe fits | λ = 750 nm, d = 0.02 mm, L = 5.0 m | The ±30 mm view contains 1 bright fringe. The first dark pair is at ±93.77 mm. |
Sources
Papers and datasets underlying this visualization - every formula, algorithm, and data anchor on the page traces back to the sources below.
Thomas Young (1804). I. The Bakerian Lecture. Experiments and calculations relative to physical optics. Philosophical Transactions of the Royal Society of London 94, 1–16.
Samuel J. Ling, Jeff Sanny, William Moebs (2016). 3.2 Mathematics of Interference. OpenStax, University Physics Volume 3.
Richard P. Feynman, Robert B. Leighton, Matthew Sands (1963). Interference. The Feynman Lectures on Physics, Vol. I, Ch. 29.
Howard Georgi (2006). The Physics of Waves. Online edition, §13.1.1, MIT OpenCourseWare.
Samuel J. Ling, Jeff Sanny, William Moebs (2016). 4.3 Double-Slit Diffraction. OpenStax, University Physics Volume 3.
Department of Physics, University of Toronto (2023). PHY385 Module 4: Wavelength of Light. Physics Practicals, PHY385 Student Guide.
Related
Science & Education
Δy = λL/d with first-order angle and the first four fringes each side — the ruler-measurable student bench classic.
Math & Numbers
Solve Young's modulus (modulus of elasticity) in the linear-elastic region using E = σ/ε (Hooke's law). Three directions: modulus E = σ/ε, stress σ = E·ε, strain ε = σ/E. Pick the unknown, supply the other two positive values. Result in MPa with a GPa reading (e.g. steel ≈ 200 000 MPa).
Development
Beautify or minify SQL with full control over dialect (PostgreSQL, MySQL, SQLite, SQL Server/T-SQL, BigQuery, Snowflake, and more), keyword / identifier / function casing, indent style (standard, tabular-left, tabular-right), and spacing between statements. Produces a syntax-highlighted, copy-ready result with live size and statement stats.
Astronomy
Propagate near-Earth and GNSS-region orbits with a semi-analytical averaged-element model in the Brouwer–Lyddane / PB05 tradition: orbit-averaged secular drift of the mean elements under the EGM96 zonal field J2–J6 (numerical Gauss-equation averaging — the Delaunay-normalisation analogue with the closed-form J2 rates as a built-in cross-check), first-order J2 short-period mean↔osculating reconstruction, long-period J3 frozen-orbit analysis (e = −J3·sin i/(2·J2·p), ω = 90°), double-averaged luni-solar quadrupole secular effects on an elliptical inclined perturber orbit (the Celletti/Kozai–Lidov term with the 39.23° critical mutual inclination), tesseral ground-track resonance checks (1:1, 2:1, 3:2, 5:2 and small-rational commensurabilities with Earth rotation), sun-synchronous inclination solving, and an in-report RK4 numerical-propagation cross-validation of the averaged model.
Compare mechanics, fluid, wave, sound, pressure, and significant-figure tools in one focused educational physics workflow.
Solve engineering math problems across ODEs, Laplace or Z transforms, convolution, and numerical approximation while checking method fit, units, and initial conditions.
Convert length, weight, temperature, speed, pressure, energy, force, density, area, volume, angle, and time units from one focused workflow.
Reconcile obituary versions, a spoken eulogy and a memorial card against approved facts, review photo privacy and verify the exact files before family-authorized delivery.
Next
Explore ideal zero-order kinetics, depletion and half-life, with comparison curves matched at the initial disappearance rate.
Change the rate constant and initial concentration to compare exponential decay, the semilog line and a sampled population.
Change the rate constant and initial concentration to explore the concentration curve, reciprocal plot and first half-life of a second-order reaction.
Vary temperature, activation energy and the prefactor, then compare k versus T with ln(k) versus 1/T.
Change the two rate constants and the starting mixture to explore net reaction direction, equilibrium composition and relaxation time.
Adjust the two rate constants in A → B → C to explore the height and timing of the intermediate peak and the buildup of product.
Interactive visualization of free radical chain reaction polymerization - Explore initiation, propagation, termination steps, chain growth animation, and molecular weight distribution
Interactive visualization of Le Chatelier's Principle - Explore how changes in concentration, pressure, and temperature affect chemical equilibrium with animated molecular dynamics