Elysia Tools

Navigation

Physics

Single-Slit Diffraction Simulator

Adjust slit width, wavelength, and screen distance to compare the far-field intensity profile, diffraction fringes, and central fringe width on the same screen scale.

Open static visualization

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Overview

The simulation shows the Fraunhofer pattern produced by a long slit under uniform, coherent illumination. Follow the optical setup, the normalized intensity curve and the screen image as you change one parameter at a time. Their readouts give the first dark-fringe angle and the full width between the two first-order minima.

How phase produces the bright and dark fringes

A monochromatic plane wave reaches the slit at normal incidence. Viewed from angle θ, the two edges differ in phase by Δφ = 2πa sin θ/λ = 2β. Across the aperture the field contributions add, yielding I/I₀ = (sin β/β)². At θ = 0, the limit is I/I₀ = 1.

At the first minimum, points half a slit width apart have a path difference of λ/2 and cancel pairwise. The center is the main peak. The side peaks lie at the nonzero roots of tan β = β, with the first pair at about 4.72% of the central intensity.

Fringe angles and distances on a flat screen

First find θₘ from a sin θₘ = mλ for a nonzero integer m. The screen sits a distance L away, perpendicular to the incident beam, which gives xₘ = L tan θₘ. Use the same length units for a and λ, and convert x to millimeters for comparison with the plotted scale.

The distance between the two first-order minima is Δx = 2L tan(arcsin(λ/a)) when λ < a. As λ/a tends to zero this reduces to Δx ≈ 2λL/a. The visualized curve is an angular diffraction factor mapped onto x. It omits distance and projection corrections for a physical detector.

How it works

  1. 1Set slit width a, wavelength λ and screen distance L. Change one of them while keeping the screen range fixed to compare widths.
  2. 2Use the dark-fringe and peak markers to match the intensity curve to the screen image. The readouts cover the first orders even if they lie beyond the chosen view.
  3. 3Choose a smaller screen range to inspect a narrow central peak, or a larger range to see dark fringes farther from the center.

Edge cases & common failures

  • A minimum leaves the displayed range

    The readout still shows its position when |mλ/a| < 1. Increase the screen range to bring it into view where possible.

  • A slit comparable to the wavelength

    Treat the scalar profile as a qualitative example. Polarization and the aperture geometry can matter for a real slit in this regime.

  • A screen close to the aperture

    The Fraunhofer approximation requires L much larger than a²/λ. For a nearby screen, the Fresnel field is needed.

Examples

1. Move the screen back

How to use

Keep a = 5 μm and λ = 550 nm. Raise L from 1 m to 2 m.

Outcome

The first minima stay at θ = ±6.32°. The central width increases from 221.34 mm to 442.69 mm.

2. Compare blue and red light

How to use

Keep a = 5 μm and L = 1 m. Select 450 nm, then 650 nm.

Outcome

The central fringe widens from 180.73 mm to 262.23 mm.

3. Follow the limit of the first minima

How to use

Set a = 0.5 μm in the idealized model and change λ from 500 nm to 650 nm.

Outcome

At 500 nm the angular minima lie at ±90° and have no finite screen position. At 650 nm the first-order equation has no real angle.

FAQ

Why is the central peak always one?

The curve divides every intensity by I₀, the intensity on the axis. The brightness slider changes the appearance of the fringes while the curve keeps that scale.

Can a dark fringe be used to estimate the slit width?

Measure the offset x₁ from the center and the distance L, and find θ₁ = arctan(x₁/L). With a known wavelength, use a = λ/sin|θ₁|.

At a Glance

Interactive Preview

Single-Slit Diffraction Simulator
Static preview of this visualization. Use the interactive panel above to explore it.

Verified Results

Typical Experiments and 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.

ScenarioParametersResult
First dark fringes at the default settingsa = 5 μm, λ = 550 nm, L = 1 mθ₁ = ±6.32°, x₁ = ±110.67 mm, Δx = 221.34 mm
Widen the slita = 5 μm → 20 μm, λ = 550 nm, L = 1 mΔx = 221.34 mm → 55.02 mm
Switch from blue to red lighta = 5 μm, λ = 450 nm → 650 nm, L = 1 mΔx = 180.73 mm → 262.23 mm
Double the distance to the screena = 5 μm, λ = 550 nm, L = 1 m → 2 mθ₁ = ±6.32°, Δx = 221.34 mm → 442.69 mm
Measure the first side peaksa = 5 μm, λ = 550 nm, L = 1 mβ = ±4.4934 rad, x = ±159.32 mm, I/I₀ = 4.72%
First minimum at the edge of the angular rangea = 0.5 μm, λ = 500 nm → 650 nm, L = 1 mAt λ = 500 nm, θ₁ = ±90° with no finite x₁. At λ = 650 nm, θ₁ has no real solution.

Sources

References

Papers and datasets underlying this visualization - every formula, algorithm, and data anchor on the page traces back to the sources below.

  1. [1]

    Samuel J. Ling, Jeff Sanny, William Moebs (2016). 4.1 Single-Slit Diffraction. OpenStax, University Physics Volume 3.

    View source→ a sin θₘ = mλ, m ≠ 0
  2. [2]

    Samuel J. Ling, Jeff Sanny, William Moebs (2016). 4.2 Intensity in Single-Slit Diffraction. OpenStax, University Physics Volume 3.

    View source→ Δφ = 2β and I/I₀ = (sin β/β)², Eqs. 4.2–4.4
  3. [3]

    Yen-Jie Lee (2016). Lecture 22: Diffraction, Resolution. MIT OpenCourseWare, 8.03SC Physics III: Vibrations and Waves.

    View source→ rectangular aperture → Fourier transform ∝ sin β/β
  4. [4]

    A. P. Konijnenberg, A. J. L. Adam, H. P. Urbach (2021). BSc Optics. TU Delft OPEN Publishing.

    View source→ Fraunhofer limit a²/(λL) ≪ 1 and one-dimensional slit reduction
  5. [5]

    C. E. Mungan (2012). Single-Slit Diffraction. United States Naval Academy, Department of Physics.

    View source→ first side peaks β = ±4.4934 rad, I/I₀ ≈ 4.72%
  6. [6]

    Lowell Wood (2019). Physics 3312 Lecture 21. University of Houston, Physics 3312 Modern Optics.

    View source→ d(sinc² β)/dβ = 0 → tan β = β for side peaks

Related

Related tools and workflows

Science & Education

Single-Slit Diffraction Calculator

a·sinθ = mλ minima with the double-wide central maximum and optional screen positions.

Science & Education

Diffraction Grating Calculator

d·sinθ = mλ from lines/mm: spacing d, diffraction angle per order, and the m_max cap — HeNe and CD examples included.

Education

STEM Physics — Kinematics Velocity-Time Graph Tutor

Kinematics visualisation tutor: velocity-time curve (constant-acceleration SUVAT solver with displacement-area shading), projectile parabola (adjustable g + air-resistance toggle), and free-fall timing

Science & Education

Physics Kinematics Problem Solver

Solve 1D constant-acceleration kinematics problems and 2D projectile motion, with a full step-by-step derivation. Enter any 3 of the 5 quantities (displacement, initial velocity, final velocity, acceleration, time) and the solver finds the other two, showing each formula, the substitution, and the result. For projectiles, enter launch speed/angle/height to get range, time of flight, and max height.

Next

More visualizations nearby

Cookie settings

Essential cookies keep the site running. Analytics and personalized ads are optional.

Cookie policy