What this Lens Diffraction Calculator does
The Lens Diffraction Calculator estimates the diameter of the central bright spot produced when light passes through a circular lens aperture. This pattern is called an Airy disk. Even a well-made lens cannot focus a point of light into a perfectly dimensionless point. Diffraction spreads the light, and the spread grows as the aperture becomes smaller relative to the wavelength.
The calculator uses the Rayleigh criterion expression for Airy disk diameter at the image plane: 2.44 multiplied by wavelength and f-number. It adjusts the diameter by image magnification, so the output is an estimate in micrometers at the stated magnification. The supplied description is: “Estimate the Airy disk diameter and diffraction-limited image detail for a given aperture, wavelength, and magnification. The model uses the Rayleigh criterion for a circular aperture and reports the Airy disk diameter at the sensor plane.” The result label is Airy disk diameter (µm).
This is an optical estimate, not a complete prediction of perceived sharpness. It describes diffraction from an ideal circular aperture under simplified conditions. Real photographs also reflect lens aberrations, focus accuracy, sensor sampling, processing, subject movement, and viewing size.
How to use the Lens Diffraction Calculator
Enter the aperture as an f-number, choose a wavelength in nanometers, and enter the image magnification. All three inputs affect the estimate. The default values are f/8, 550 nm, and 1× magnification, which represent one illustrative visible-light setup rather than a universal camera configuration.
- Aperture (f-number): Enter a supported value from 1 to 64. A larger f-number means a smaller physical opening for a given focal length.
- Light wavelength: Enter a value from 380 to 750 nm to model a wavelength within the visible spectrum. Shorter wavelengths produce a smaller Airy disk under the same aperture conditions.
- Image magnification: Enter a value from 0.1× to 10×. In this model, magnification scales the diffraction pattern's image-plane diameter.
After entering the values, read the Airy disk diameter in micrometers. For example, at f/8, 550 nm, and 1× magnification, the result is 2.44 × 550 × 8 / 1000 = 10.74 µm. The division by 1000 converts nanometers to micrometers. If magnification is 2×, the estimated image-plane diameter doubles to 21.47 µm.
How the Lens Diffraction Calculator formula works
The formula is 2.44 × wavelength_nm × aperture_f_number × magnification / 1000. The constant 2.44 comes from the diameter of the central Airy disk under the Rayleigh criterion for a circular aperture. Wavelength is the color-dependent input, aperture f-number describes the opening relative to focal length, and magnification scales the image-plane size.
Wavelength must be converted into the unit used by the result. Since the input is nanometers and the output is micrometers, dividing by 1000 performs that conversion. The relation is linear in each input. Doubling the wavelength, f-number, or magnification while holding the other two fixed doubles the computed diameter.
The formula is a simplified optical model. It assumes an ideal circular aperture and does not account for the lens's aberrations or the sensor's pixel pitch. The Rayleigh criterion is also a criterion for resolving two point sources, while this calculator reports the central Airy disk diameter. Those related concepts should not be treated as interchangeable measures of photographic sharpness.
Use cases for the Lens Diffraction Calculator
Photographers can use the estimate to compare aperture choices in macro work, landscape photography, product images, or other situations where fine detail matters. It can help explain why stopping down may increase depth of field while also enlarging the diffraction pattern. The calculation supports a technical comparison rather than selecting an aperture for a specific photograph.
- Compare the estimated diffraction spot at two f-numbers while keeping the wavelength and magnification unchanged.
- Explore how a blue or red visible wavelength changes the modeled spot size.
- See how reproduction magnification changes the image-plane estimate in close-up photography.
- Build intuition about why diffraction depends on both aperture and wavelength.
For an example comparison, f/5.6 at 550 nm and 1× gives about 7.51 µm. At f/11 with the same wavelength and magnification, the estimate is about 14.76 µm. These values describe the idealized Airy disk size. They do not establish that one exposure will look sharper, since depth of field, focus placement, lens behavior, sensor resolution, and output size all matter.
Other factors to consider when calculating diffraction
Aperture is only one part of the image-making decision. A smaller aperture can render more of a three-dimensional subject acceptably focused, which may be valuable even when diffraction becomes more pronounced. The best compromise depends on subject distance, focal length, camera position, desired depth of field, and how the image will be displayed or printed.
Sensor sampling influences how a diffraction pattern is recorded. Pixel pitch, color filter arrays, demosaicing, sharpening, and noise reduction change the appearance of detail. A calculated disk diameter larger than a pixel does not by itself say how many lines per millimeter a complete camera system resolves. The lens may also perform differently across the frame and at different focus distances.
Wavelength varies across a scene because light contains a range of colors. Using one wavelength makes the estimate easier to interpret, but a broadband subject does not produce a single uniform diffraction diameter. The selected magnification should represent the image scale relevant to your intended comparison. Keep the assumptions consistent when comparing setups, and use actual photographs to assess the complete system.
FAQ
What does the Airy disk diameter represent?
It is the diameter of the central bright region in the diffraction pattern from an ideal point source passing through a circular aperture. The calculator estimates that diameter at the image plane using the entered wavelength, f-number, and magnification.
Why does a higher f-number increase the estimate?
For a given focal length, a higher f-number corresponds to a smaller aperture opening. The formula makes the estimated Airy disk diameter proportional to the f-number, so the computed value increases as the f-number rises.
Which wavelength should I enter?
Choose a visible wavelength that is useful for your comparison. The default of 550 nm is a convenient green-light example. A real scene includes many wavelengths, so a single input cannot describe every color component at once.
Does a larger result mean my photograph will look blurry?
Not by itself. The result describes an idealized diffraction pattern, while perceived detail depends on the lens, focus, motion, sensor, processing, subject, and display. Treat it as one factor in understanding image formation.
Can this calculator choose the best aperture?
No single aperture is best for every scene. Use the estimate to compare diffraction under stated assumptions, then weigh it against depth of field, exposure, lens performance, and the intended output.