Diffraction in Photography

If you have ever wondered why your images get softer when you stop down to very small apertures like f/16 or f/22, you have encountered diffraction. It is one of the most important optical phenomena in photography, and understanding it will change how you choose your aperture settings. Diffraction places a hard physical limit on how sharp your images can be. It affects every lens on every camera, and there is no way to engineer it away. The good news is that once you understand the physics behind it, you can make informed aperture choices that give you the best possible sharpness for every shot.

Diffraction Photography
Photo: Layered Badlands Butte Beside Winding Road by Duncan Rawlinson

What Is Diffraction?

Diffraction is the bending and spreading of light waves as they pass around an edge or through a narrow opening. It is a fundamental property of wave physics, not a lens defect. You can observe diffraction in everyday life: when you look at a streetlight through squinted eyelids and see rays radiating outward, that is diffraction. Water waves spreading out after passing through a gap in a breakwater is diffraction. Sound bending around corners is diffraction.

In a camera, the opening that causes diffraction is the aperture, the adjustable hole in the lens that controls how much light reaches the sensor. When the aperture is wide open, light passes through a large opening and diffraction effects are minimal relative to the size of the image. But as you stop down to smaller apertures, the opening becomes narrower, and diffraction bends the light more aggressively, causing each point of light to spread into a larger area on the sensor.

The Airy Disc: How a Point of Light Becomes a Spot

When light from a single, infinitely small point source passes through a circular aperture, it does not focus to a perfect point on the sensor. Instead, diffraction spreads it into a circular pattern called an Airy disc (named after 19th-century astronomer George Biddell Airy). The Airy disc consists of a bright central spot surrounded by concentric rings of decreasing brightness.

The size of the Airy disc depends on two things: the wavelength of the light and the size of the aperture. Longer wavelengths (red light) produce larger Airy discs than shorter wavelengths (blue light). And smaller apertures produce larger Airy discs than wider apertures. The relationship is directly proportional: halve the aperture diameter and the Airy disc doubles in size.

The formula for the Airy disc diameter is: d = 2.44 x wavelength x f-number. For green light (about 550 nanometers) at f/8, the Airy disc is approximately 10.7 micrometers across. At f/16, it doubles to about 21.5 micrometers. At f/22, it grows to about 29.5 micrometers.

These numbers become meaningful when you compare them to the size of the pixels on your sensor. If the Airy disc is smaller than a pixel, diffraction is not limiting your resolution. The pixel size is the bottleneck, and the lens (plus diffraction) can resolve detail finer than the sensor can capture. But when the Airy disc grows larger than a pixel, diffraction is spreading each point of light across multiple pixels, and the image starts losing detail. This is the diffraction limit.

The Diffraction Limit: When Aperture Hurts Sharpness

The diffraction limit is the aperture at which the Airy disc becomes large enough to overlap with adjacent pixels and start reducing the resolving power of the system. Beyond this aperture, stopping down further makes the image progressively softer, even though depth of field continues to increase.

This creates a fundamental trade-off. Wider apertures give you less diffraction but shallower depth of field. Smaller apertures give you more depth of field but more diffraction softening. The ideal aperture for maximum sharpness depends on how much depth of field you need and where the diffraction limit falls for your specific camera.

Diffraction Limits by Sensor Type

The diffraction limit depends on pixel size, which varies with sensor size and resolution. Here are general guidelines for when diffraction begins to visibly affect sharpness.

For full-frame cameras with 24 to 30 megapixels, pixel pitch is roughly 5.5 to 6.0 micrometers. Diffraction starts becoming noticeable around f/11 to f/13. At f/16 it is clearly visible at 100% magnification. At f/22 it significantly reduces detail.

For full-frame cameras with 45 to 60 megapixels, pixel pitch is roughly 3.7 to 4.3 micrometers. Diffraction becomes noticeable sooner, around f/8 to f/10. These high-resolution sensors resolve so much detail that diffraction’s effect is visible at wider apertures. However, even at f/11 or f/16, a 50MP sensor still resolves more total detail than a 24MP sensor at the same aperture.

For APS-C cameras with 24 to 26 megapixels, pixel pitch is roughly 3.8 to 4.0 micrometers. Diffraction is noticeable around f/8 to f/10. Stopping down to f/16 on APS-C produces visible softening.

For Micro Four Thirds cameras with 20 megapixels, pixel pitch is roughly 3.3 micrometers. Diffraction becomes noticeable around f/7 to f/8. This is why experienced Micro Four Thirds shooters rarely go beyond f/8 when sharpness is a priority.

For smartphones with tiny sensors and very small pixels (around 0.7 to 1.4 micrometers), diffraction would be a severe issue at conventional apertures. This is why smartphone lenses use fixed, wide apertures (typically around f/1.5 to f/2.0) and rely on computational depth-of-field simulation rather than optical stopping down.

Pixel Pitch and Its Relationship to Diffraction

Pixel pitch is the distance from the center of one pixel to the center of the adjacent pixel on the sensor, measured in micrometers. It is determined by dividing the sensor’s physical width by the number of pixels across that dimension. Pixel pitch is the key number that determines at what aperture diffraction begins to dominate.

A common rule of thumb is that diffraction begins to limit resolution when the Airy disc diameter exceeds approximately twice the pixel pitch. For visible light (averaging around 550nm wavelength), you can estimate the diffraction-limited aperture as roughly: f-number = pixel pitch (in micrometers) / 1.3.

A camera with 6-micrometer pixels hits the diffraction limit around f/4.6 according to this formula, but in practice the effect does not become objectionable until about two stops past that theoretical limit. So a 6-micrometer pixel pitch camera shows noticeable diffraction softening around f/11 to f/13, which matches real-world observations.

Understanding pixel pitch gives you a framework for predicting how any camera will behave. When you read a camera’s specifications and see its resolution and sensor size, you can calculate the pixel pitch and estimate its practical diffraction limit before you ever pick it up.

The Sweet Spot: Where Sharpness Peaks

Every lens has a sweet spot, the aperture range where it delivers maximum sharpness. This sweet spot is the balance point between two opposing forces: lens aberrations (which decrease as you stop down) and diffraction (which increases as you stop down).

At wide apertures, lens aberrations like spherical aberration and coma degrade sharpness. As you stop down, these aberrations diminish because the aperture blocks the most problematic edge rays. Sharpness improves rapidly from wide open to about two stops down.

Meanwhile, diffraction is slowly increasing as the aperture shrinks, but at wider apertures its effect is too small to matter. At some point, the improving aberration correction and the worsening diffraction cross over. The aperture where they balance is the sweet spot, where total sharpness peaks.

For most lenses on most cameras, the sweet spot falls between f/5.6 and f/8 on full-frame and between f/4 and f/5.6 on APS-C. Premium lenses with excellent aberration correction at wider apertures may peak as wide as f/4, while less corrected lenses may peak at f/8 or even f/11.

Knowing your lens’s sweet spot is practical knowledge. When you need maximum sharpness and depth of field is not a concern (flat subjects, distant landscapes, architectural details), shooting at the sweet spot gives you the absolute best detail your lens can deliver.

Diffraction in Practice: When to Stop Down Anyway

Knowing about diffraction does not mean you should never shoot at f/16 or f/22. In many situations, the depth of field benefit of smaller apertures outweighs the sharpness loss from diffraction.

Landscape photography is the classic example. A scene with foreground flowers, a mid-ground stream, and distant mountains needs depth of field that only f/14 to f/16 can provide. Yes, diffraction is reducing peak sharpness, but the alternative, shooting at f/8 with foreground or background out of focus, produces a worse overall result. A slightly softer image that is sharp from front to back is almost always better than an image with a razor-sharp center plane but blurry foreground and background.

Macro photography pushes this further. At high magnifications, depth of field is paper-thin. Even at f/16, the zone of acceptable sharpness may be only a few millimeters deep. Macro photographers routinely shoot at f/16 to f/22, accepting diffraction softening because there is simply no other way to get enough of the subject in focus with a single exposure. Focus stacking (combining multiple shots focused at different distances) can solve this by letting you shoot each frame at the sweet spot and combine them for both sharpness and depth of field.

The point is not to avoid small apertures at all costs. It is to make an informed choice. Know what you are giving up and what you are gaining, and choose the aperture that serves the image best.

Diffraction and Post-Processing

Light diffraction softening can be partially recovered in post-processing using sharpening tools. Because diffraction produces a predictable, uniform softening (unlike motion blur or missed focus, which are irregular), deconvolution sharpening algorithms can effectively reverse some of its effect.

Software that uses lens profiles can apply diffraction correction tailored to the specific aperture used. This does not add new detail that was not captured, but it can tighten the Airy disc rendering and restore contrast at fine detail levels, making the image appear closer to its theoretical maximum.

However, post-processing has limits. Once diffraction has spread detail below the noise floor or smeared adjacent features together, no amount of sharpening can recover it. Heavy sharpening of diffraction-limited images also amplifies noise and can create unnatural halos. Think of post-processing sharpening as a way to recover about half a stop to one stop of diffraction softening, not a magic bullet that eliminates the problem entirely.

Diffraction Stars: A Creative Benefit

Diffraction is not always the enemy. At small apertures, bright point light sources (the sun, streetlights, candles) produce distinctive star-shaped patterns called diffraction stars or sunstars. These are caused by diffraction at the edges of the aperture blades.

The number of points in the star depends on the number of aperture blades. A lens with an even number of blades (6, 8, 10) produces that same number of points. A lens with an odd number of blades (7, 9) produces twice that number of points (14, 18). The shape and length of the rays depend on how straight or curved the blades are. Straight-edged blades produce more defined, prominent stars; curved blades produce softer, less defined ones.

Landscape and cityscape photographers often use apertures of f/14 to f/22 specifically to create appealing sunstars around light sources in the scene. The star effect adds visual interest and a sense of radiance. When using this technique, compose so that the light source is partially hidden behind an edge (a building corner, a tree trunk, a mountain ridge) for the most defined star pattern.

Common Mistakes

Diffraction is a straightforward concept, but it leads to some persistent misconceptions.

  • Believing smaller apertures always mean sharper images. This is the single most common misconception in photography. Stopping down improves depth of field, but past the sweet spot it reduces per-pixel sharpness. Many beginners shoot everything at f/16 or f/22 thinking it will maximize detail, when f/8 would actually produce a sharper image for subjects that do not need extreme depth of field.
  • Thinking diffraction is a lens defect. Diffraction is a fundamental property of light physics. It affects every lens equally at any given f-number. You cannot buy a lens that “solves” diffraction. Premium lenses may push the sweet spot wider by having less aberration at wider apertures, but the diffraction behavior itself is identical.
  • Using the same aperture rules for different sensor sizes. The diffraction limit depends on pixel size, which varies across sensor formats. f/11 may be fine on a 24MP full-frame camera but visibly soft on a 20MP Micro Four Thirds camera. Always consider your specific camera’s pixel pitch when choosing apertures for maximum sharpness.
  • Obsessing over diffraction at normal viewing sizes. Diffraction softening is most visible at 100% magnification on a high-resolution display. At normal print sizes and viewing distances, the effect is much less noticeable. A landscape shot at f/16 will look perfectly sharp in an 8×10 or even a 20×30 print. Diffraction matters most when you are making very large prints, heavy crops, or pixel-level evaluations.
  • Ignoring diffraction with high-resolution sensors. Photographers who invest in 50+ megapixel cameras sometimes defeat the purpose by shooting at f/16 or f/22, where diffraction reduces effective resolution below what a 24MP camera would deliver. If you bought a high-resolution camera for maximum detail, shoot at apertures that let it deliver that detail.

Try This: Practical Diffraction Exercises

Seeing diffraction’s effects firsthand will make the concept real and practical for your photography.

  1. Map your camera’s diffraction curve. Photograph a highly detailed flat subject (a brick wall, printed text, or a test chart) at every aperture from wide open to minimum. Use a tripod, mirror lockup or electronic shutter, and a timer to eliminate vibration. Compare all images at 100% magnification, examining both center and corner sharpness. Note where sharpness peaks and where it begins to visibly soften. You now know your camera’s practical diffraction limit.
  2. Compare diffraction across formats. If you have access to cameras with different sensor sizes (full-frame, APS-C, Micro Four Thirds, smartphone), shoot the same subject with each at f/8, f/11, and f/16. Compare the images at 100%. You will see diffraction affecting the smaller-sensor cameras more aggressively at the same f-number, proving the relationship between pixel size and diffraction.
  3. Create diffraction stars. Find a scene with a point light source (the sun peeking around a building or tree, a streetlight at dusk). Shoot the scene at f/8, f/11, f/14, and f/22. Watch how the star pattern develops and intensifies as the aperture narrows. Note how the number and shape of the rays relate to your lens’s aperture blade count.
  4. Practice the depth-of-field vs. diffraction trade-off. Set up a scene with objects at near, middle, and far distances. Shoot at f/5.6, f/8, f/11, f/16, and f/22. For each shot, note which objects are acceptably sharp. Find the aperture that gives you just enough depth of field without excessive diffraction softening. This exercise builds the judgment you need for landscape and architectural photography.

Frequently Asked Questions

At what aperture does diffraction start to matter?

It depends on your camera’s pixel size. For typical full-frame cameras (24-30MP), diffraction becomes noticeable around f/11-f/13. For APS-C (24-26MP), around f/8-f/10. For Micro Four Thirds, around f/7-f/8. For high-resolution full-frame cameras (45-60MP), as early as f/8-f/10. These are guidelines for 100% magnification viewing. At normal print sizes and viewing distances, you can typically go one to two stops smaller before the softening is visible.

Does diffraction affect all lenses the same way?

Yes. Diffraction is a physics phenomenon, not a lens property. At any given f-number, diffraction spreads light by the same amount regardless of the lens’s quality, price, or brand. What differs between lenses is their aberration behavior at wider apertures, which affects where the sweet spot falls. A lens with excellent wide-open performance may have its sweet spot at f/4, while a less corrected lens peaks at f/8. But the diffraction curve itself is identical.

Can I remove diffraction softening in post-processing?

Partially. Deconvolution sharpening and lens-profile-based diffraction correction can recover some of the lost contrast and apparent detail. You can typically recover about half a stop to one stop worth of softening. But this is not the same as capturing the detail in the first place. Heavy sharpening amplifies noise and can introduce artifacts. It is better to shoot at the optimal aperture when possible and treat post-processing correction as a supplement, not a solution.

Why do macro photographers use f/16 or f/22 if diffraction hurts sharpness?

At macro magnifications, depth of field is extremely shallow. Even at f/16, only a few millimeters may be in focus. The choice is between a sharp slice of the subject with a blurry rest (wide aperture) or a softer but more complete view (small aperture). Most macro photographers choose depth of field over peak sharpness. Focus stacking offers a way around this: shoot multiple frames at a wider aperture, each focused slightly deeper, and combine them in software for both sharpness and depth.

Does crop factor affect diffraction?

Crop factor does not change diffraction physics, but it changes the practical impact. A crop sensor camera with smaller pixels hits the diffraction limit at a wider aperture than a full-frame camera with larger pixels. So while f/11 might be perfectly fine on full-frame, it may already show noticeable softening on APS-C, and significant softening on Micro Four Thirds. The physics are the same; the pixel size determines when the effect becomes visible.

What is an Airy disc?

An Airy disc is the diffraction pattern formed when light from a point source passes through a circular aperture. It consists of a bright central spot surrounded by progressively fainter concentric rings. The size of the Airy disc determines the smallest detail the optical system can resolve. When the Airy disc is smaller than a sensor pixel, the sensor is the resolution bottleneck. When the Airy disc is larger than a pixel, diffraction is the bottleneck. The term is named after George Biddell Airy, the mathematician who first described the pattern in 1835.

Is there a way to get more depth of field without stopping down?

Yes. Focus stacking captures multiple frames at a wider aperture (avoiding diffraction), each focused at a different distance, and combines them in post-processing for front-to-back sharpness. Tilt-shift lenses allow you to tilt the focal plane to align with your subject, achieving extensive depth of field at moderate apertures. Hyperfocal distance focusing maximizes depth of field for any given aperture by placing focus at the optimal distance. And using a smaller sensor format gives you inherently more depth of field at equivalent framing, allowing wider apertures for the same depth coverage.