Depth of field aperture calculator.
Calculate the optimal aperture for your desired depth of field – with scientifically grounded formulas that work for every sensor format.
Ideal for portrait, landscape and product photography when you want to control depth in a deliberate way.
- ◆Free
- ◆All sensors
- ◆Scientific formula
- ◆Diffraction notes
Aperture Calculator for Depth of Field
Calculate the optimal aperture for a desired depth of field
Input Parameters
Minimum distance: 0.20m at 50mm
Calculation Results
Important Notes:
- • Smaller f-numbers = larger aperture opening = shallower depth of field
- • Larger f-numbers = smaller aperture opening = greater depth of field
- • At very small apertures (f/16+), diffraction blur can occur
- • The circle of confusion depends on sensor size
- • Practical results may differ from calculated values
Aperture and its effect on depth of field.
Two things at once: aperture controls the amount of light reaching the sensor while simultaneously deciding how deep your zone of sharpness extends. Understand that, and you can plan images much more deliberately.
What aperture does.
Aperture controls how much light passes through the lens onto the sensor. At the same time, it has a major influence on the depth of field in your shots.
The f-number expresses the ratio of focal length to aperture diameter – and depending on the aperture you choose, the look of the image changes noticeably:
- f/1.4 – wide opening, very shallow depth of field
- f/2.8 – medium opening, moderate depth of field
- f/5.6 – small opening, deep depth of field
- f/11 – very small opening, maximum depth of field
What this calculator is built for.
The calculator helps you in particular with these genres:
- Portrait photography with controlled background blur
- Landscape photography – sharp from foreground to background
- Product photography – entire product sharp end to end
- Group photography – everyone within the sharp zone
- Architecture photography – the entire building sharp
f/5.6 – f/8: sweet spot of most lenses. Maximum sharpness with moderate depth of field.
f/11 – f/16: maximum depth of field, but watch out for diffraction blur.
The formula the calculator uses.
No rule of thumb, but a clean optical derivation. Here you can see exactly which variables go into the equation and under what conditions it holds.
- f = focal length in mm
- s = subject distance in mm
- DoF = desired depth of field in mm
- CoC = circle of confusion in mm
- Distance ≥ 4 × focal length
- Subject distance > focal length
- All values > 0
Four pointers for optimal aperture use.
These points come up in my coaching sessions again and again – they prevent image-quality losses that pure maths can't surface.
Answers to common questions.
Related tools.
These calculators match the current tool and extend your workflow.
Combined calculation of depth of field and magnification in the macro range.
Optimal aperture for macro – including diffraction limit and effective aperture.
Precise exposure values from aperture, shutter speed and ISO.
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.