CalcDepo

Camera Depth of Field Calculator

Find the depth of field and hyperfocal distance of a camera lens.

Inputs

Results

Depth of field0.6048m
Hyperfocal distance29.8119m

Chart

Not what you need? Search by intent

Describe what you want to find — “depth of field” — and jump to the right calculator.

How to use the camera depth of field calculator

Find the depth of field and hyperfocal distance of a camera lens. Enter aperture f-number, circle of confusion, focal length, subject distance in the fields above; the depth of field, hyperfocal distance are computed instantly and plotted on the chart so you can see how the answer changes.

Common searches this calculator answers include “depth of field”, “hyperfocal distance”, “how much is in focus”, “calculate camera depth of field”, “find depth of field”.

Formula

Depth of field (m) = 2 × N × (c / 1000) × s × s / ((f / 1000)^2)
Hyperfocal distance (m) = (f / 1000)^2 / (N × c / 1000)+f / 1000

Variables

  • N — Aperture f-number
  • c — Circle of confusion (mm)
  • f — Focal length (mm)
  • s — Subject distance (m)

Worked example

With aperture f-number = 2.8, circle of confusion = 0.03 mm, focal length = 50 mm, subject distance = 3 m, the calculator gives depth of field ≈ 0.6048 m; hyperfocal distance ≈ 29.8119 m.

Frequently asked questions

What is the camera depth of field calculator used for?

Find the depth of field and hyperfocal distance of a camera lens. It helps with questions such as “depth of field”, “hyperfocal distance”, “how much is in focus”.

What is the formula for the camera depth of field calculation?

Depth of field (m) = 2 × N × (c / 1000) × s × s / ((f / 1000)^2). Hyperfocal distance (m) = (f / 1000)^2 / (N × c / 1000)+f / 1000. Here N is aperture f-number, c is circle of confusion (mm), f is focal length (mm), s is subject distance (m).

What inputs do I need for the camera depth of field calculator?

You need aperture f-number, circle of confusion in mm, focal length in mm, subject distance in m. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.

How do I use the camera depth of field calculator?

Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.

Is the camera depth of field result exact?

Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.

Related calculators

More in Waves, Sound & Optics: Wave Speed · Wavelength to Frequency · Speed of Sound · Echo and Sonar Distance · Lightning Distance · Doppler Effect · Sound Intensity Level · Adding Decibels