Calculate the optimal aperture.
Find the optimal aperture for macro photography while balancing diffraction blur and depth of field – for maximum image quality up close.
Includes the distinction between nominal and effective aperture, plus hints on when focus stacking is the smarter choice.
- ◆Macro-optimised
- ◆Diffraction limit
- ◆Pupil ratio
- ◆Focus stacking hints
Optimal Aperture Calculator
Calculate the optimal aperture for macro and close-up photography. The optimal aperture considers both depth of field and diffraction blur.
1:1 = 1.0, 1:2 = 0.5, 2:1 = 2.0, etc.
CoC: 0.028844 mm
Default: 0.00055 mm (550 nm – green light)
The optimal aperture is the theoretically best aperture for macro shots. It takes both the desired depth of field and the unavoidable diffraction blur at small apertures into account.
Nominal aperture: The aperture set on the lens, based on infinity focus.
Effective aperture: The actual aperture taking the reproduction ratio (bellows factor) into account.
Optimal aperture (nominal):
f = CoC / (1.22 × λ × (M + 1))
Effective aperture:
f_eff = f_nominal × (M + 1)
Here CoC is the circle of confusion, λ is the wavelength of light (550 nm) and M is the reproduction ratio.
The CoC defines from which size a point is perceived as out of focus. It depends on the sensor size and the intended output size.
Automatic calculation: CoC = sensor diagonal / 1500 (for digital sensors)
35mm film: Traditionally 1/30 mm = 0.033 mm
What the optimal aperture does.
A theoretical concept with major practical value: the aperture at which depth of field and diffraction are in balance – the one that delivers the sharpest image at the sensor.
Finding the balance.
Two aperture terms.
Nominal aperture: the aperture set on the lens, based on focus at infinity.
Effective aperture: the actual aperture taking the bellows factor at close focus into account. It is always larger (darker) than the nominal aperture.
The formulas behind the optimal aperture.
Two formulas combined deliver the optimal aperture for any macro situation – the second adjusts it for a real setup with extension.
CoC: circle of confusion diameter · λ: wavelength of light (550 nm) · M: magnification
Three magnification tiers in the macro range.
The higher the magnification, the more critical diffraction becomes – and the more focus stacking pays off as an alternative to a very small aperture.
Sweet spot of the optimal aperture.
Diffraction becomes critical.
Diffraction dominates.
What the CoC means.
The circle of confusion diameter determines from what size a point is perceived as out of focus. It's the secret main ingredient of every depth-of-field calculation.
Three influencing factors.
- Sensor size (larger sensor = larger CoC)
- Output size (larger prints = smaller CoC required)
- Viewing distance (closer viewing = smaller CoC required)
Quick values for everyday use.
Digital: sensor diagonal ÷ 1500
35 mm film: 1/30 mm (0.033 mm)
Why small apertures make images soft.
Diffraction is physics – not a lens problem. It occurs with every lens and forces macro photographers to find a compromise.
Light bends at the blades.
Depth of field vs. diffraction.
Focus stacking instead of very small aperture.
When the optimal aperture isn't enough, you combine multiple shots into one image – the result exceeds anything that's possible with a single exposure.
Answers to common questions.
Related tools.
These calculators match the current tool and extend your workflow.
Solid photography knowledge.
Calculators give you the number. On the blog and in 1:1 coaching I turn theory into results you can see in your images.