Every lens has a sweet spot, the aperture where the image sharpness is at its best. If the aperture becomes larger, lens errors will become visible. When the aperture is closed, lens diffraction will become visible. In this article, I am going to take a closer look at lens diffraction.
A small aperture increases the depth of field. It also improves lens performance. The lens will produce more overall sharpness. So, why don’t we use the smallest aperture as a standard? The reason is called diffraction. It is the interference of light waves that occurs when it travels through a small opening. It causes image sharpness degradation.
Light Waves and Small Openings
When light waves hit a barrier that contains an opening, that opening can be considered as a new point of origin. From that point, the waves will disperse.
This can also be seen in the YouTube video I found, showing this effect in waves of water. Light is acting in a similar way.
But something strange happens. The light waves will show interference. In some places, these waves will be amplified, in other places, extinguished.
The corners of an opening can be considered as its own new point of origin, each producing its own waves. The drawings I made are projections on a flat surface. If you look at it in three dimensions, the light waves will show this interference when it hits the sensor. A point of light will be a spot surrounded by circles that decrease in sharpness and brightness with every next circle. This is called an Airy disk.
Every opening will produce an Airy disk. But these will differ in size depending on the size of the opening. With a small opening, the airy disk will be larger and more pronounced. With a larger opening, the Airy disk is smaller and less pronounced.
The Effect of the Airy Disk on Your Image?
The size of the Airy disk depends on the aperture. A smaller aperture will produce a larger airy disk compared to a larger aperture. If the Airy disk is smaller than a pixel, it won’t be visible. The image will be sharp. When the Airy disk grows in size, it will eventually also cover the adjacent pixels. In that situation, the sharpness is decreased.
When the size of the Airy disk reaches the size of the pixel, the lens opening is considered the sweet spot. If this is an aperture of f/5.6, like in the drawing I made, the lens will produce its optimum sharpness at that aperture. The example image below was shot with a Canon EOS R5 and an RF 50mm f/1.2L lens. It clearly shows how a larger or smaller opening decreases image sharpness. At f/5.6, the optimal sharpness has been reached.
The Effect of Sensor Resolution
Just before the Airy disk size exceeds the pixel size, the lens will perform at its best. In other words, the pixel size determines when diffraction becomes visible. A 50-megapixel sensor will show diffraction much sooner compared to a 25-megapixel sensor. To make it simple, the pixels of a 50-megapixel sensor will be half the size. An airy disk that will fall within the boundaries of the pixels on a 25-megapixel sensor will cover more pixels on the 50-megapixel sensor.
The Effect of Sensor Size
The size of the Airy disk is only determined by the lens opening. The sensor size has no effect on the Airy disk size that belongs to a certain lens opening. If the amount of pixels per square inch is the same between, let’s say a full frame sensor and a 1.6 crop sensor, the diffraction will be exactly the same.
In other words, a 25-megapixel full frame sensor has approximately the same amount of pixels per square inch as a 16-megapixel 1.6x crop sensor because the amount of pixels per square inch is roughly the same. But if the crop sensor also has 25 megapixels, the number of pixels per square inch is increased. In that case, diffraction will be visible much sooner.
The Effect of Focal Length
With focal length, it becomes more complex. For that, we first need to know how the lens opening is affected by the focal length. After all, f/8 on a 50mm lens will be the same as f/8 on a 100mm lens when it comes down to exposure.
In reality, the physical lens opening depends on the focal length. The real lens opening of a 50mm lens and f/8 is 50/8 = 6.25mm. With a 100mm lens, the real lens opening is only 100/8 = 12.5mm. Thus, a lens opening of f/8 will become larger when the focal length increases.
Still, the amount of light that hits the sensor will be the same regardless of the real physical lens opening. This is because of the focal length itself. With 100mm focal length, the light needs to travel twice as far compared to a 50mm focal length. After all, the focal length is longer. Because the distance is twice as long, the amount of light that reaches the sensor is half as much. It’s a bit more complex than this, but you get the point by this simplified example.
Now, we have seen how a larger lens opening will decrease the size of the Airy disk. The larger physical lens opening of f/8 with 100mm is producing a smaller Airy disk compared to a 50mm and f/8. But the Airy disk is the projection of the light on the sensor. With a longer focal length, the light needs to travel twice as long before it reaches the sensor, thus magnifying the Airy disk by a factor of two.
Although the Airy disk with an increased focal length will produce a smaller Airy disk, you need to take the magnification factor of the focal length into account. This will cancel each other out. The result will be approximately the same Airy disk size with a certain aperture, regardless of which focal length you are using.
Image Resolution Determines the Amount of Diffraction
Diffraction is always occurring. But the lens opening or aperture is determining how strong the diffraction will be. When the Airy disk becomes larger than a single pixel, diffraction will become visible.
Although the real physical lens opening with a certain aperture depends on the focal length, the magnification of the lens will counteract the smaller Airy disk. This means focal length will have no visible effect on the amount of diffraction.
The only thing that will have an effect on the amount of visible diffraction is resolution. More pixels will make the Airy disk become visible much sooner.