Hyperfocal Distance Calculator

Enter the focal length, aperture and sensor format to find the hyperfocal distance.

What it's for

The hyperfocal distance is the focus distance that maximizes depth of field: focusing exactly on it makes everything from half that distance out to infinity appear acceptably sharp. It's a classic landscape photography technique used to keep both foreground and background in focus.

Formula used

We use the standard formula H = f²/(N·c) + f, where f is the focal length, N is the f-number (aperture) and c is the sensor's circle of confusion — the same calculation used in our depth of field calculator, isolated here to focus just on the hyperfocal distance.

How to use it in practice

After calculating the hyperfocal distance, manually set focus (or use the lens's distance scale) to that distance. Everything from roughly H/2 out to the horizon will appear sharp — so the smaller the hyperfocal distance, the easier it is to get an entire scene in focus.

Why the hyperfocal changes with aperture and sensor

Smaller apertures (higher f-numbers) reduce the hyperfocal distance, since they increase overall depth of field. Smaller sensors (with a smaller circle of confusion) also tend to have different hyperfocal distances than full-frame cameras at the same focal length and aperture.

Limitations

The calculated value depends on the standard circle of confusion used for each sensor format — a practical convention, not a measurement of your specific lens's actual sharpness.

Frequently asked questions

What does "focusing at the hyperfocal" mean?

It means manually setting the lens focus to the calculated hyperfocal distance instead of focusing on a specific subject — this maximizes the area of the scene that appears sharp, from foreground to background.

Why is this technique common in landscape photography?

Because landscapes often have points of interest both close and far away, and the hyperfocal distance lets you keep both sharp in the same shot without resorting to focus stacking.

Does the hyperfocal distance change if I switch lenses?

Yes — it depends directly on the focal length used, so each lens (or each zoom setting) has its own hyperfocal distance for a given aperture and sensor.