Skip to content

How much of my photo will be in focus?

Near and far focus limits and hyperfocal distance from your lens settings.

mm

f/

m

mm

Acceptable focus range

2.34 m to 4.19 m

Everything from 2.34 m to 4.19 m is acceptably sharp, 1.85 m deep.

Total depth of field
1.85 m
Hyperfocal distance
10.5 m
Formula

H = f² / (N × c) + f

Near and far focus limits and hyperfocal distance from your lens settings.

How to use

  1. Enter the actual focal length printed on your lens and the aperture f-number.
  2. Enter the distance at which you are focusing, in metres from the lens principal plane.
  3. Set the acceptable circle of confusion, then read the focus range and hyperfocal distance.

How it works

Depth of field describes the range that meets a chosen sharpness criterion. A smaller acceptable blur circle makes that range narrower. The default 0.03 mm is a starting criterion, not a measurement of your camera.

For focal length f, f-number N, blur diameter c and focus distance s, let q = f²/(Nc). With all lengths in millimetres, the near limit is sq/(q+s−f), the far limit is sq/(q−s+f), and the hyperfocal distance is H = q+f. A zero or negative far denominator means the range reaches infinity.

This is a thin-lens geometric estimate. It excludes diffraction, aberrations and pupil magnification. Close-up work and complex lens designs need a more detailed model. A camera distance scale is usually referenced to the sensor plane, so its reading differs from the principal-plane distance used here.

Worked example

What range is in focus with a 50 mm lens at f/8, focused at 3 m?

  1. Choose a circle of confusion of 0.03 mm.
  2. H = f²/(N × c) + f = 10.467 m.
  3. Apply the near and far blur limits to get 2.338 m and 4.185 m.

The acceptable focus range is 2.338–4.185 m, a depth of 1.847 m.

Method

No outside data is used: the result is worked out directly from the formula H = f² / (N c) + f, explained under How it works.

Sources and methods

Frequently asked questions

What is hyperfocal distance?

It is the focus distance at which the far acceptable-focus limit first reaches infinity for the chosen blur criterion.

What circle of confusion should I use?

Choose a sensor-plane blur diameter appropriate to your intended viewing conditions. The default 0.03 mm is a conventional starting point for 35 mm photography; tighter sharpness requirements need a smaller value.

Should I enter crop-equivalent focal length?

Enter the actual optical focal length. Account for your desired sharpness through the circle of confusion rather than replacing focal length with an equivalent.

Does a smaller aperture always make the picture sharper?

A higher f-number increases geometric depth of field, but diffraction can reduce fine detail. This calculator does not model that trade-off.

Why does the far limit say Infinity?

You are focusing at or beyond the calculated hyperfocal distance. Distant objects then meet the selected geometric blur limit.

Send feedback