๐Ÿ“ท

Depth of Field (DoF) Calculator

Calculate depth of field for your camera settings.

Depth of Field Calculator

Total depth of field

1.66 m

Near limit

4.30 m

Far limit

5.96 m

Hyperfocal distance

30.95 m

Circle of confusion

0.0288 mm

Information hub

The Circle of Confusion (CoC)

The Circle of Confusion is the largest blur circle that our eyes still perceive as a sharp point. Points outside the depth of field form circles on the sensor; once that circle exceeds the CoC, we see them as soft. This calculator uses CoC = sensor diagonal รท 1500, so larger sensors use a larger CoC and thus a deeper apparent DoF at the same print size.

Sensor size impact

At the same effective focal length and f-stop, a full frame sensor has a shallower depth of field than a crop (e.g. APS-C) sensor. If you want more background blur, full frame helps; if you want more of the scene sharp, a crop sensor gives you more DoF at equivalent framing.

Macro warning

As you focus very close (macro photography), depth of field becomes paper-thin โ€” often only millimetres. A single shot usually can't keep the whole subject sharp. Focus stacking (several shots at different focus distances, merged in software) is the standard way to get a fully sharp macro image.

Hyperfocal distance

Focus at the hyperfocal distance and everything from half that distance to infinity falls within the depth of field. Landscape photographers use this to maximise sharpness across the frame โ€” set your focus point to the hyperfocal distance shown in the results and stop down to f/8โ€“f/11 for the sharpest zone from foreground to horizon.

Depth of field and sharpness

What actually controls how much of your image stays sharpโ€”and how this calculator turns that into numbers you can use in the field.

Key ideas

Circle of Confusion

CoC is the largest blur circle we still accept as sharp. This tool uses the rule CoC = sensor diagonal รท 1500 (mm). Bigger sensor โ†’ larger CoC for the same viewing standard.

Sensor size

Full frame gives shallower DoF than crop at the same effective focal length and f-stop. Crop sensors often give more โ€œeverything sharpโ€ at the cost of more background in focus.

Near and far limits

DoF is the band in front of and behind your focus point that still looks sharp. The calculator gives you the near and far distances so you know exactly whatโ€™s in that band.

Hyperfocal

Focus at the hyperfocal distance and everything from half that distance to infinity stays acceptably sharp. Useful when you want maximum sharp range without guessing.

Macro and focus stacking

Close-up DoF is paper-thin. For a fully sharp macro shot, take several frames at different focus distances and merge them in software (focus stacking).

Custom sensor

If your camera isnโ€™t in the presets, pick Custom and enter the sensor diagonal in mm from the spec sheet or DxOMark. The calculator does the rest.

Depth of Field (DoF) Calculator

Get near limit, far limit, total depth of field, and hyperfocal distance. Focal length, aperture, subject distance, and sensor size. Free DoF calculator for photography.

What this calculator does

This depth of field calculator gives you the near limit, far limit, total DoF, and hyperfocal distance for your settings. Enter focal length (mm), aperture (f-stop), subject distance (meters or feet), and camera sensor (presets including full frame and medium format, or custom diagonal). It uses the standard Circle of Confusion rule and shows results in the same units you chose for distance. Use it to plan portraits, landscapes, or macro so you know how much will stay sharp.

Circle of Confusion and sensor size

The Circle of Confusion is the largest blur circle that still reads as sharp. This tool uses CoC=diagonal/1500\text{CoC} = \text{diagonal} / 1500 (diagonal in mm). A full frame sensor has a larger diagonal than a crop sensor, so at the same effective focal length and f-stop you get a larger CoC and shallower depth of fieldโ€”more background blur. Crop sensors give more DoF at equivalent framing. If youโ€™re chasing blur, full frame helps; if you want more of the scene sharp, crop often gives you that.

Hyperfocal distance and macro

Focus at the hyperfocal distance and everything from half that distance to infinity stays acceptably sharpโ€”handy for landscape and street when you donโ€™t want to focus at infinity. At macro distances, DoF shrinks to millimetres; a single shot rarely keeps the whole subject sharp. Focus stacking (multiple shots at different focus distances merged in software) is the standard way to get a fully sharp macro image.

Depth of Field Calculator FAQ

? What is the Circle of Confusion (CoC)?

The Circle of Confusion is the largest blur circle that still looks sharp to the eye. This tool uses the common rule CoC = sensor diagonal รท 1500 (diagonal in mm). Once a pointโ€™s blur exceeds that size on the sensor, it starts to look soft. Sensor size and viewing distance both affect what โ€œsharp enoughโ€ means.

? Why does full frame have shallower depth of field than crop?

At the same effective focal length and f-stop, full frame uses a larger sensor diagonal, so the CoC is larger and the DoF math gives you less depth of fieldโ€”more background blur. Crop sensors give more DoF at equivalent framing, which can help for landscapes or when you want more of the scene in focus.

? What is hyperfocal distance?

Hyperfocal distance is the focus distance where everything from half that distance out to infinity appears acceptably sharp. Set your lens to the hyperfocal distance (or the closest mark on a manual lens) when you want maximum sharp range without focusing at infinityโ€”handy for landscape and street.

? Why is my depth of field so thin in macro?

At very close focus distances, DoF drops to millimetres. A single shot usually canโ€™t keep the whole subject sharp. Focus stackingโ€”several shots at different focus distances merged in softwareโ€”is the usual way to get a fully sharp macro image.

? Can I use a custom sensor size?

Yes. Choose Custom in the sensor dropdown and enter your cameraโ€™s sensor diagonal in mm. Youโ€™ll find it in the manufacturerโ€™s spec sheet or on sites like DxOMark. The calculator then uses that for the CoC and all DoF results.
๐Ÿ’ก
Mathematical Reference Note

Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.

Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.

Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.

ยฉ 2026 CalcRegistry Reference Last System Check: FEB 2026Free Online Utility Tools