Focusing on the horizon isn’t actually the sharpest choice for a landscape shot, this finds the one distance that genuinely is.

Free camera tool

Hyperfocal Distance Calculator

Find the one focus distance that gets everything from close-up to infinity acceptably sharp, the standard landscape-photography trick.

Focus at this distance 0
Everything sharp from0
Circle of confusion used0

Runs entirely in your browser. Nothing you enter is sent anywhere.

How to actually use this in the field

Manually focus your lens at the hyperfocal distance shown above (not on your actual subject), using the distance markings on the lens barrel if it has them, or by estimating the distance and focusing there. Everything from half that distance out to infinity will read as acceptably sharp, which is why landscape shooters lean on this instead of just focusing on the horizon and hoping the foreground holds up. Stopping down further always increases the hyperfocal reach, but past f/11 or so on most lenses you start trading it against diffraction softness, so "smallest aperture" isn't automatically "sharpest everywhere."

Hyperfocal distance calculator FAQ

What is hyperfocal distance?

It's the closest focus distance you can use while still keeping infinity acceptably sharp. Focus any closer than that and distant objects start to blur, focus at exactly the hyperfocal distance and everything from half that distance out to infinity is in the acceptably-sharp zone, the maximum possible depth of field for that lens and aperture.

How do I actually use this while shooting?

Switch to manual focus, estimate or measure the hyperfocal distance shown above, and focus there instead of on your actual subject or the horizon. If your lens has a distance scale, use it directly, otherwise pick a reference point roughly that far away and focus on it.

Why does the reference table show different distances for different apertures?

Stopping down (using a larger f-number) shortens the hyperfocal distance, which is why landscape photographers often shoot around f/8 to f/11 rather than the smallest aperture available: past that point, the gain in hyperfocal reach is increasingly offset by diffraction softness, so the whole-frame result can actually get less sharp, not more.

Does hyperfocal distance change with sensor size?

Yes, through the same circle-of-confusion mechanism as depth of field generally. A smaller sensor has a smaller acceptable circle of confusion, which shortens the hyperfocal distance for the same focal length and aperture, part of why smaller-sensor cameras naturally hold more in focus.

How is this different from the depth of field calculator?

The depth of field calculator answers "if I focus on my subject at this distance, what's sharp?" This one answers the reverse landscape-photography question, "where do I need to focus to get the maximum possible sharp range?" Both use the same underlying optics.

Embed this free tool on your site

Paste this where you want the tool to appear. Please keep the credit link — it is how we keep these tools free.

Free hyperfocal distance calculator by ANUPRESS

Focusing at infinity wastes depth of field you already have

A lens focused at infinity still has a near limit somewhere in front of it, everything closer than that blurs, and that near limit is often much closer than people assume. Focus slightly nearer than infinity instead, at the hyperfocal distance, and that near limit moves dramatically closer while the far edge of the sharp zone barely moves, still effectively infinity. It’s a small adjustment that meaningfully extends how much of the frame is actually sharp.

Why the reference table matters more than the headline number

Hyperfocal distance shrinks fast as you stop down, which is exactly why the table above shows it across a full range of apertures rather than just one. Landscape photographers rarely shoot at their lens’s smallest aperture despite the shorter hyperfocal distance it implies, because diffraction softness starts eating into overall sharpness well before the smallest stop, seeing the full table makes that trade-off visible instead of hidden behind a single number.