Diffraction Calculator

Calculate diffraction patterns for single slit, double slit, diffraction grating, and circular aperture. Includes angle, fringe spacing, and order tables.

1st Minimum Angle
0.3151°
Angle to the m-th dark fringe: sin(θ) = mλ/a
Position on Screen
5.500 mm
Distance from center to the m-th minimum on the screen
Central Maximum Width
11.000 mm
Full width of the bright central band on screen
Central Maximum Angular Width
0.6303°
Angular width of the central bright fringe
Wavelength
550 nm
Input wavelength of monochromatic light
Slit Width
0.1 mm
Width of the single slit aperture
Diffraction Pattern (relative intensity)
OrderAngle (°)Position (mm)
10.31515.500
20.630311.001
30.945416.502
41.260622.005
51.575827.510
Planning notes, formulas, and examples

About the Diffraction Calculator

Diffraction is the bending and spreading of waves when they encounter obstacles or pass through apertures. It is a fundamental wave phenomenon that limits the resolution of all optical instruments and creates the characteristic fringe patterns observed in laboratory optics experiments. The four most important diffraction configurations — single slit, double slit, diffraction grating, and circular aperture — each produce distinct, mathematically predictable patterns.

In a single-slit experiment, light passing through a narrow slit produces a central bright maximum flanked by increasingly dim secondary maxima, separated by dark minima at angles where a·sin(θ) = mλ. Young's double-slit experiment creates an interference pattern of equally spaced bright fringes modulated by the single-slit envelope. Diffraction gratings with hundreds or thousands of slits produce extremely sharp spectral lines used in spectroscopy. Circular apertures create the Airy disk pattern that defines the diffraction limit of telescopes, microscopes, and cameras.

This comprehensive calculator handles all four diffraction types, computing angles, fringe positions, order tables, angular dispersion for gratings, and Airy ring data for circular apertures. An interactive intensity profile visualization helps students and researchers understand the pattern structure intuitively.

When This Page Helps

Use this calculator to move from wavelength and aperture geometry to diffraction angles, fringe spacing, and resolution limits without re-deriving each pattern from scratch. It keeps the same setup visible across slits, gratings, and apertures so you can compare the patterns directly. That is especially helpful when you are checking which opening size or grating spacing best matches the wavelength you are using.

How to Use the Inputs

  1. Select the diffraction type: single slit, double slit, grating, or circular aperture.
  2. Enter the wavelength of light in nanometers.
  3. Enter the slit width (or aperture diameter for circular).
  4. For double slit or grating, enter the slit separation or grating spacing.
  5. Set the screen distance and desired diffraction order.
  6. Review the computed angles, positions, and the order comparison table.
Formula used
Single Slit minima: a·sin(θ) = mλ. Double Slit maxima: d·sin(θ) = mλ. Grating maxima: d·sin(θ) = mλ. Circular Aperture (Airy): θ = 1.22 λ/D.

Example Calculation

Result: 0.315° (5.50 mm on screen)

A single slit of 0.1 mm width illuminated by 550 nm light produces the first minimum at sin(θ) = 550e-6/0.1 = 0.0055, θ = 0.315°, which is 5.50 mm from center on a screen 1 m away.

Tips & Best Practices

  • A smaller aperture produces a wider diffraction pattern, which is why stopping down an optical system eventually reduces resolution.
  • Double-slit patterns are usually modulated by a single-slit envelope, so the fine fringes do not all have equal brightness.
  • Diffraction gratings give sharper wavelength separation because many slits reinforce the allowed angles more strongly.
  • For small diffraction angles, screen displacement is often close to `L * tan(theta)` and sometimes approximated further by `L * theta` in radians.

Diffraction As A Geometry Problem

Most diffraction calculations reduce to a simple relationship between wavelength and aperture spacing. Once wavelength becomes a non-negligible fraction of the opening size, wave spreading is no longer a small correction and the angular structure becomes obvious.

Why The Pattern Changes By Setup

A single slit emphasizes the envelope created by the aperture width, a double slit highlights interference between two paths, and a grating sharpens the allowed directions by repeating the geometry many times. A circular aperture produces the Airy pattern that sets the diffraction limit of imaging systems.

Use In Practice

These formulas are useful for optics labs, grating selection, and quick resolution estimates, but real instruments also include finite source size, imperfect coherence, aberrations, and detector limits. Treat the result as the clean theoretical baseline.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Diffraction is the bending of waves around obstacles. Interference is the superposition of waves from multiple sources. In practice, most diffraction patterns involve both effects simultaneously.