Diffraction Calculator
Including which fringes cannot exist at all.
Including which fringes cannot exist at all. Diffraction angles and fringe spacing from a slit or grating, plus the Rayleigh resolution limit for an aperture.
Angle to the order-1 fringe
14.478°
Orders up to 4 are visible with this geometry
Constructive interference happens where the path difference is a whole number of wavelengths: d sin θ = mλ. Because the sine cannot exceed 1, there is a hard limit on how many orders exist — beyond it the fringe simply is not there, and a formula applied blindly will return an impossible angle for it. The same physics sets the resolution of every optical instrument. The Rayleigh criterion, 1.22λ/D, says two points are just resolvable when the first dark ring of one falls on the centre of the other — which is why bigger telescopes see finer detail, and why they are built large for resolution as much as for light. Diffraction is also why stopping a camera lens down past about f/11 starts to soften the image. The aperture becomes small enough that the diffraction blur exceeds what the extra depth of field gains.
How the Diffraction Calculator works
Diffraction angles and fringe spacing from a slit or grating, plus the Rayleigh resolution limit for an aperture. The maximum order is reported because beyond it the fringe genuinely does not exist.
Also known as: double slit fringe spacing · diffraction grating angle · telescope resolving power · why does f22 look soft
Where to go next
The Diffraction question rarely arrives on its own. These are the ones that usually come with it:
- Wavelength & Frequency Calculator — With the photon energy that makes the spectrum mean something.
- Thin Lens Calculator — A negative image distance is a magnifying glass, not an error.
- Critical Angle Calculator — Only exists going from dense to less dense.
- Speed Distance Time Calculator — Any one of the three from the other two, in four units.
Frequently asked questions
What is the diffraction formula?
d sin θ = mλ. Constructive interference happens where the path difference between adjacent slits is a whole number of wavelengths.
Why is there a maximum order?
Because sine cannot exceed 1. Once mλ exceeds the slit spacing there is no angle that satisfies the equation, and that fringe simply is not there — a formula applied blindly will return an impossible angle for it.
What is the Rayleigh criterion?
1.22λ/D — the angular separation at which two point sources are just resolvable through an aperture of diameter D. It is why bigger telescopes see finer detail as well as fainter objects.
Why does stopping down a camera lens soften the image?
Diffraction. Past about f/11 on a small sensor, the blur from the aperture exceeds what the extra depth of field gains, so overall sharpness falls.
How does a diffraction grating split light?
The angle depends on wavelength, so each colour emerges in a different direction. Gratings separate light far more strongly than prisms, which is why spectroscopes use them.
Put this calculator on your own site
Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.
<iframe src="https://www.thecalclibrary.com/embed/diffraction-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Diffraction Calculator"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:6px 0 0;color:#64748b">Powered by <a href="https://www.thecalclibrary.com/diffraction-calculator" style="color:#64748b">Diffraction Calculator</a> from The Calc Library</p>The only condition is that the credit line below the frame stays in place. That one line is what pays for the tool being free — it is how anyone else finds it.
Related calculators
Wavelength & Frequency Calculator
With the photon energy that makes the spectrum mean something.
OpenThin Lens Calculator
A negative image distance is a magnifying glass, not an error.
OpenCritical Angle Calculator
Only exists going from dense to less dense.
OpenSpeed Distance Time Calculator
Any one of the three from the other two, in four units.
Open