Diffraction is when a wave spreads out as it passing through a small slit or any intricate surface. With Photography, this would apply to how the light interacts with the aperture and how it is detected by the photosites on a sensor.
When light is focused through the aperture, it interacts with the edge of the aperture blades causing it to spread out where its angle bends slightly, this causes a reduction with the maximum optical resolution. The smaller the aperture the greater the effect. You can see a visible real-world example in a harbor or a pond by watching a wave as it bends around a jetty.
How will diffraction affect your camera?
To see the limits of diffraction on any given sensor with any number of megapixels, use this diffraction calculator.
*This calculator is based on a standard Bayer sensor. New technology like that found in BSI sensors has removed the circuitry. Gaps between the pixels continue to be improved or are compensated with microlenses as technology advances. New sensor advancements allow for an actual larger pixel pitch which is why you usually see a jump in resolution as sensors get upgraded to BSI.
Diffraction | The Equation
The Airy Disc
In optics, our way of looking at diffraction is through the Airy Disc or Airy Pattern. A circular pattern named after George Biddell Airy. This doesn’t necessarily reflect what the light is doing in terms of the shape, rather it’s the spread of a power vector. Illustrating that about 84% of the power of the wave is in the first cone and 91% within the first and second. This means that the majority of an image resolution is made up of the diameter of the first cone which can also be referred to as the circle of confusion.
To put the simplest way possible; as your aperture gets smaller, diffraction causes the Airy Pattern to get larger and when the diameter is about 2.5x larger than a single pixel on a sensor, there will be a visible reduction in optical resolution.
If you were to shine a laser through an aperture and close that aperture down, you would get a pattern on a wall that looks like this – rendered with Mathematica.
How Aperture Can Ruin A Shot
The smallest spot of detail a lens can produce is 2.44 x Fstop x λ.
Your aperture will have a direct roll in the details your lens can produce. For example, if you were to shoot at f19, your smallest spot of perfect detail produced (the Airy Disc diameter) would be (2.44 x 19 x 0.5) = 23.18 microns.
A look at diffraction at various apertures.
Calculate are taken between 0.4 and 0.6 since that is the range of the visible light spectrum.
Diffraction Size 0.4-0.6λ (microns)
Average 0.55 λ
Circle of Confusion
|f19||18.54 – 27.82||25.5 µm||7.4 – 11.13|
|f16||15.62 – 23.42||21.5 µm||6.25 – 9.36|
|f11||10.74 – 16.10||14.7 µm||4.3 – 6.44|
|f8||7.81 – 11.71||10.7 µm||3.12 – 4.68|
|f5.6||5.47 – 8.20||7.5 µm||2.19 – 3.28|
|f4||3.90 – 5.87||5.3 µm||1.56 – 2.35|
|f2.8||2.73 – 4.10||3.7 µm||1.09 – 1.64|
|f2||1.95 – 2.93||2.7 µm||0.78 – 1.17|
It may look like at f2.8 your diffraction limit is 2.73 – 4.09 microns in size. However, the Airy Disk pattern doesn’t have hard edges and visible light has a range of about 0.4 microns. When we look at the airy disc, about 84% of the power of the light will be within the first cone which creates a circle of confusion of about .4 of the airy disc, so there is a lot more room to play with before noticing diffraction and the range would really look more like 1.09-1.64.
Since light has a range in microns of about .4 microns, if you were shooting an image that was primarily blue, you would see less diffraction than if you were to shoot an image that was primarily red.
Diffraction | Real-World Results
How does this relate to our camera sensor and megapixels and what does diffraction look like in a real-world shoot?
Here is a sample of how diffraction affects the rendering of the Ziess 35mm f2.8 on the Sony A7r.
How Megapixels Play A Roll
When it comes to megapixels, they can play a roll in overall resolution. The size of the sensor and the number of megapixels determine the size of the pixels on the sensor.
A camera like the Nikon D800 with 36.3 megapixels has a pixel pitch of 4.878. Meaning, a single pixel is 4.878 microns in size.
If you were to shoot at f19, the smallest spot of perfect detail (the entire airy disc) you could produce is 23.18 microns and the circle of confusion (perceived resolution) would be 9.2 microns.
To maximize the use of the D800 sensor, which is capable of capturing the detail of 4.878 microns in size, you would need to shoot at an aperture of f9.5 or lower which would produce an Airy Disk of 4.9 microns in size.
This is often why you see some camera manufacturers say that there is a limit the number of megapixels a camera should have for general use. Too many megapixels means the diffraction limitation will meet the spherical aberration limitations making it very difficult to actually capture more detail.
Pixel Sizes (In Microns) Based On Megapixels
Sensor sizes have been rounded to produce a close estimate. Canon full-frame is actually 36mm but Canon APS-C is actually 22.2mm whereas Sony APS-C is 23.6mm.
|Megapixels||Medium Format (53.90mm)||Full Frame (36mm)||APS-C (23.6mm)||Micro 4/3 (17.3mm)||1/3″ (iPhone)|
Compare those numbers to the resolution limits at certain apertures and you can see how your resolution will be limited by your lens aperture and diffraction. At some point, packing more pixels onto a sensor quickly becomes futile.
How Cameras Are Designed Around The Diffraction Limit
A lot of high megapixels cameras are designed to resolve perfect details between f5.6 and f8. The sweet spot of most lenses.
While it makes sense for the camera to try to take the megapixel count to the limits of diffraction, some cameras are designed well below the f5.6-f8 limits of diffraction with bigger photosites so they can perform better in low light and with video. Cameras like the Sony A7III and A7sIII for example.
Many smartphones have high-resolution cameras by locking the aperture to a certain f-stop on the camera so that the output of the lens will match the pixel pitch of the photosites on the sensor.
How Lenses Work With Diffraction
Different lenses will also produce different levels of diffraction. This may have to do with the point of convergence or the aperture location within the design. The further the sensor is from the point of diffraction the more the light has a chance to spread.
How Diffraction Can Affect Your Photography
You should be able to see how your aperture and sensor resolution work with each other. While owning a 50-megapixel camera is great, you’ll have to open up your aperture to fully take advantage of it. Great for maybe studio and wedding photographers, not so great for landscape photographers.
When shooting at f8-f16, you likely won’t really see the difference between a 50-megapixel camera or a 42-megapixel camera. Sure your images will have a larger dimension in size, but the detail should be very close to the same when scaled to match.
Diffraction is even less of a problem if you’re not printing to the maximum size of the sensor output.
Why Larger Sensors Are Better
Larger sensors can pack in more megapixels and still come out with a larger pixel pitch. So a 50-megapixel medium format camera will always have an advantage over a 50-megapixel full-frame camera when shooting at higher apertures. The same applies full frame compared to APS-C.
The Beauty Of More Megapixels
Based on diffraction and sensor microns, you might be thinking that having more megapixels is completely pointless. However, there are some advantages when it comes to image artifacts.
Having a 50-megapixel image and scaling down to 24 megapixels will do a great deal to help eliminate artifacts while still maintaining a very sharp image, compared to a 24-megapixel camera that uses an optical low pass filter to help eliminate artifacts. While optical low pass filters are nice to help reduce moire and artifacts, they do lower the overall resolution.
In this case, the 50-megapixel camera with no optical low pass filter shot at f11 should still look slightly better when compared to a 24-megapixel camera with a low pass filter shot at f5.6 even when they’ve both have been scaled accordingly. Simply because the 50-megapixel image is scaling from more pixels resulting in cleaner diagonal lines, whereas the 24mp camera is using a filter that impacts resolution.
If you removed the optical low pass filter from the 24-megapixel camera, the detail should be the same, but you would have a disadvantage when it comes to moire and aliasing.
What Is Diffraction? | Conclusions
This seems all confusing, but ultimately what you need to take away is, the more you stop down your aperture, the less detail your lens is capable of producing, this in turn can greatly reduce some of the advantages of using a higher megapixel camera.
While having tons of megapixels packed into your sensor is great, you have to consider the trade-offs. You also have to consider that APS-C cameras and Micro 4/3 cameras will be much more impacted by diffraction because of their small pixel size.
Real World Use
Because of diffraction on my Sony A7r III, I typically like to shoot my landscapes at f8 to f11. I know I’ll not be capture as much detail at f11 compared to f8 but that’s ok. F11 is good enough for me and I’m willing to trade more depth of field for slightly less IQ.
The other alternative is to focus stack. Macro photographers have been doing this for years and if we really want to take advantage of massive megapixel cameras, landscape photographers will have to focus stack. Meaning, shooting at something like f5.6 at various focus ranges and blending the images in post. The other alternative is to invest in medium format cameras that have even bigger sensors with bigger pixels or wait for stacked sensors to become mainstream.
I’m not a math genius, but some people that read this will be (although I did finish my College Trig final in 15 minutes). If it looks like I have a mistake, please let me know.
|**This website contains affiliate links and I will be compensated if you click them to make a purchase.|