Diffraction Calculator
Where do dark fringes appear in your single-slit diffraction experiment?
Calculate where bright and dark fringes appear when light waves pass through narrow openings. Essential for understanding wave interference in physics labs and optical system design.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Imagine water waves hitting a narrow gap in a harbor wall. The waves don't just pass straight through — they bend and spread out on the other side, creating a fan-shaped pattern. Light behaves identically when squeezed through a narrow slit.
The mathematics behind this spreading follows a precise relationship: the narrower the opening, the wider the spread. When light encounters the slit edges, it bends around them through a process called diffraction. The bent waves from opposite edges travel different distances to reach any point on the screen, sometimes reinforcing each other (bright fringes) and sometimes canceling out (dark fringes).
The first dark fringe occurs where waves from the top and bottom of the slit are exactly half a wavelength out of phase. At this position, every light ray from the upper half of the slit has a corresponding ray from the lower half that cancels it out completely, creating zero intensity.
When To Use This
Right tool, right situation
This calculator applies to single-slit diffraction experiments in physics labs, where students measure fringe positions to determine light wavelength or verify wave theory. It's essential for designing optical instruments where aperture size affects image quality, such as camera lenses or telescope mirrors.
Use these calculations when planning interference demonstrations, sizing lab equipment for visible diffraction patterns, or analyzing resolution limits in optical systems. The tool helps predict whether a given setup will produce measurable fringes within your available screen space.
Don't use this calculator for multiple slits (use double-slit interference formulas instead), circular apertures (requires Airy disk calculations), or when the slit width approaches or exceeds several millimeters with visible light. Also avoid using it for very short distances where near-field effects dominate, typically when screen distance is less than 10 times the slit width squared divided by wavelength.
Common Mistakes
Why results sometimes look wrong
Students commonly assume wider slits create wider diffraction patterns, reversing the actual relationship. This misconception stems from everyday experience with geometric shadows, where larger openings cast larger shadows. In wave optics, the opposite occurs because diffraction becomes more pronounced as the opening approaches the wavelength scale.
Another frequent error involves measuring from the wrong reference point. The fringe positions calculated here represent distances from the central bright maximum, not from the slit itself. Measuring from the slit location introduces systematic errors that compound with distance.
Many experimenters place the screen too close to the slit, invalidating the far-field approximations this calculator uses. When screen distance is less than a²/λ (where a is slit width), the wave fronts remain curved rather than planar, requiring complex Fresnel diffraction analysis instead of the simpler Fraunhofer approximation used here.
The Math
Worked examples and deeper derivation
The fundamental diffraction equation relates slit width to fringe position: sin(θ) = nλ/a, where θ is the angle to the nth dark fringe, λ is wavelength, and a is slit width. This deceptively simple formula encapsulates wave interference across the entire opening.
For small angles (typical in most setups), sin(θ) ≈ tan(θ) ≈ y/L, where y is the fringe position and L is screen distance. This approximation transforms the calculation into y = nλL/a, making position directly proportional to wavelength and screen distance but inversely proportional to slit width.
The intensity pattern follows I(θ) = I₀[sin(β)/β]², where β = (πa sin θ)/λ. This sinc-squared function creates the characteristic pattern with a bright central maximum twice as wide as the secondary maxima, which rapidly decrease in brightness.
Expert Unlock
The thing most explanations skip
The far-field approximation breaks down when screen distance approaches a²/λ, transitioning from Fraunhofer to Fresnel diffraction where numerical integration becomes necessary. Professional optical design requires considering this boundary carefully, especially in compact systems where space constraints force shorter working distances than ideal.
How does slit width affect diffraction patterns?
Need something this doesn't cover?
Suggest a tool — we'll build it →