Hyperfocal Distance Calculator
Enter your focal length, aperture and sensor size to find the hyperfocal distance, the focus point that squeezes the most depth of field out of a lens. Focus your lens there and everything from half that distance out to infinity stays acceptably sharp. It is the single most useful number for landscape and street photographers who want front-to-back sharpness.
How to use the hyperfocal distance calculator
- Pick your sensor with the preset buttons (Full frame, APS-C, Micro 4/3 or 1 inch) to set the circle of confusion.
- Enter your lens focal length in millimetres.
- Enter the aperture f-number you plan to shoot at after the f/ label.
- Fine-tune the circle of confusion value if your camera differs from the presets.
- Read the hyperfocal distance in metres, plus the near limit where sharpness begins, then copy the summary.
Examples
50mm at f/8 on full frame
focal 50 mm, f/8, circle of confusion 0.029 mm
Hyperfocal 10.83 m, sharp from 5.413 m to infinity
Wide landscape lens stopped down
focal 24 mm, f/16, circle of confusion 0.029 mm
Hyperfocal 1.265 m, sharp from 0.6327 m to infinity
35mm at f/11 on APS-C
focal 35 mm, f/11, circle of confusion 0.018 mm
Hyperfocal 6.222 m, sharp from 3.111 m to infinity
Frequently asked questions
What is the hyperfocal distance?
It is the nearest distance you can focus at while keeping everything from half that distance out to infinity acceptably sharp. Focusing there gives the deepest depth of field a lens and aperture can produce, which is ideal for landscapes.
What formula does this calculator use?
H equals the focal length squared divided by the f-number times the circle of confusion, plus the focal length, all in millimetres, then divided by 1000 for metres. The near sharp limit shown is simply half of H.
What is the circle of confusion?
It is the largest blur spot that still reads as a sharp point at a normal viewing size. It scales with sensor size, so the presets use 0.029 mm for full frame, 0.018 mm for APS-C, 0.015 mm for Micro Four Thirds and 0.011 mm for a 1 inch sensor.
Why does a wider lens have a shorter hyperfocal distance?
The distance grows with the square of the focal length, so halving the focal length roughly quarters the hyperfocal distance. That is why wide lenses reach front-to-back sharpness so easily and are favoured for deep landscape focus.
Does stopping down really help?
Yes. A larger f-number, meaning a smaller aperture, shortens the hyperfocal distance and deepens the zone of sharpness. Past roughly f/16 on most lenses, diffraction starts to soften fine detail, so there is a practical limit to how far you should stop down.
Which sensor preset should I choose?
Match the button to your camera: full frame for 35mm sensors, APS-C for most enthusiast bodies, Micro 4/3 for Olympus and Panasonic, and 1 inch for many premium compacts. A smaller sensor uses a smaller circle of confusion, which lengthens the hyperfocal distance for the same focal length and aperture.
How do I actually focus at the hyperfocal distance?
Switch to manual focus, or focus once and lock it, on a subject at roughly the calculated distance, then recompose. Live view magnification helps you confirm the focus point, since autofocus will not target an empty patch of ground at that exact distance.
Should I use my full focal length on a crop body?
Enter the true focal length engraved on the lens, not an equivalent. The crop is already accounted for by the smaller circle of confusion in the sensor preset, so converting to a full frame equivalent would double count the effect.
Is my input private and does this work offline?
Yes. The calculation runs entirely in your browser with no data sent anywhere, and once the page has loaded you can keep using it without a connection, which is handy in the field.
Learn more
- Hyperfocal focusing for sharp landscapes
How to use hyperfocal distance in the field, why sensor size and aperture change it, and the trade-offs against focus stacking.
Related tools
Depth of Field Calculator
Calculate depth of field from focal length, aperture and focus distance. Get the near limit, far limit, total DoF and hyperfocal distance. Free and instant.
Field of View Calculator
Calculate the angle of view and subject coverage for any lens and sensor. Get horizontal, vertical and diagonal angles plus the scene width at a distance. Free.
Crop Factor Calculator
Find your sensor crop factor versus full frame and the 35mm-equivalent focal length and f-number. Works for APS-C, Micro 4/3 and any sensor size. Free.
Aperture Area Calculator
Calculate the physical aperture diameter and area from focal length and f-number. See how area scales with the square of the f-stop. Free and instant.
Exposure Value Calculator
Calculate exposure value from aperture and shutter speed, adjusted for ISO. Get EV at ISO 100 and at your ISO to compare exposures by stops. Free and instant.
F-Stop Calculator
Calculate the stops of light between two f-stops and the light ratio. See which aperture is brighter and by how much. Free and instant.