Diffraction and the sharpest aperture
Diffraction is the spreading of light as it passes the edges of the aperture. At small apertures such as f/16 or f/22 it blurs fine detail across the whole frame. Most lenses are sharpest about two to three stops down from wide open, around f/5.6–f/8 on full frame (approximate).

In short
- Light spreads at the aperture edge; the smaller the aperture, the larger the blur spot.
- Wide open, lens aberrations limit sharpness; stopped far down, diffraction does.
- The sharpest aperture is usually two to three stops down from wide open (approximate).
- Smaller sensors reach the diffraction limit at wider f-numbers, because they need more enlargement.
What diffraction is
Light behaves like a wave. When it passes the edge of an opening, it spreads out a little. In a camera, this means a point of light is never focused into a perfect point but into a small pattern called an Airy disk, a bright centre with faint rings.
The size of that spot depends on the f-number and the wavelength of the light, not on focal length alone. Its diameter is roughly 2.44 × wavelength × f-number. For green light at f/8 that is about 11 micrometres; at f/16 it is about 21 micrometres (approximate).
The two limits on sharpness
At wide apertures, the lens's own flaws, such as spherical aberration and coma, limit sharpness, especially in the corners. Stopping down cuts off the outer rays where those flaws are strongest.
At small apertures, diffraction takes over. The blur spot grows steadily as you stop down, and it softens the centre as well as the edges. Between these two limits lies the lens's sharpest aperture, often called the sweet spot.
Approximate sweet spots by sensor size
Because smaller sensors are enlarged more for the same print or screen size, the same diffraction spot is magnified more. So diffraction becomes visible at wider f-numbers on smaller sensors.
As rough guidance: on full frame, many lenses peak around f/5.6–f/8 and diffraction becomes noticeable beyond about f/11. On APS-C, peaks are around f/4–f/5.6 with softening beyond about f/8. On Micro Four Thirds, around f/2.8–f/4 with softening beyond about f/5.6. On 1-inch sensors and phones, lenses are often best near wide open. All of these values are approximate and vary by lens.
Pixel count changes how early you can see the effect at 100% view, but not how sharp the whole image looks at a given print size.
When to stop down anyway
Depth of field often matters more than the last bit of sharpness. A landscape with a near foreground may need f/11 or f/16 on full frame to keep everything acceptably sharp. Slight overall softness is usually better than an out-of-focus foreground.
Small apertures also lengthen the exposure for long-exposure effects and create sunstars from bright points of light.
Ways around the trade-off
Focus stacking combines several shots focused at different distances, each at the sweet spot, to get deep sharpness without heavy diffraction.
Focusing at about the hyperfocal distance, or about one-third into the scene as a simple rule of thumb, can let you use a wider aperture than you might think. Tilt lenses and shooting from further back can also increase the zone of sharpness.
Testing your own lens
Put the camera on a tripod, photograph a detailed flat subject and take one frame at each full stop. Use a timer to avoid shake and keep focus fixed.
Compare the centre and the corners at 100%. You will usually see the corners improve for a few stops, then everything soften slightly at the smallest apertures. Light sharpening in editing can recover some, but not all, of the lost detail.
Frequently asked questions
Is f/22 always a bad idea?
No. It softens detail but can give the depth of field, sunstars or slow shutter speed you need. Just choose it on purpose.
Does diffraction depend on focal length?
The blur spot depends on the f-number, not focal length on its own. What changes with sensor size is how much the image is enlarged.
Why is my phone sharpest wide open?
Its tiny sensor is enlarged a lot, so diffraction appears very early. Phone lenses are designed to perform well at their fixed, wide aperture.
Can software remove diffraction blur?
Partly. Sharpening and deconvolution tools can recover some contrast, but fine detail lost to heavy diffraction does not fully come back.