InputTestHub

Hyperfocal Distance Calculator

Finds the focus distance that puts everything from half that distance to infinity in acceptable focus, for any sensor, lens and aperture.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Leave at 0 for the sensor default. Use a smaller value if you print large.
Enter your figures and press Calculate.
In short The hyperfocal distance is the closest you can focus while still keeping infinity acceptably sharp, and focusing there gives you the largest possible depth of field: everything from half that distance to infinity. A 24 mm lens at f/11 on full frame has a hyperfocal distance of about 1.8 metres, so focusing at 1.8 m makes everything from 0.9 m to the horizon sharp in one setting. That is the single most useful number in landscape photography, and it is why focusing on the mountains is a mistake — infinity has nothing behind it, so all the depth you would have had in front is thrown away for nothing. The formula is H = f² divided by (N times the circle of confusion), plus the focal length. Two consequences follow that people find counter-intuitive. Focal length matters as its SQUARE, so going from 24 mm to 48 mm at the same aperture quadruples the hyperfocal distance — which is exactly why wide lenses are the landscape tool. And stopping down helps only as a square root: two full stops from f/8 to f/16 merely halves it, while diffraction is taking sharpness away at the same time. The practical refinement is to focus slightly BEYOND the hyperfocal distance rather than exactly at it. You give up a little at the near end and remove the risk of a marginally soft horizon, which is the failure people actually notice in a print.

How to use the Hyperfocal Distance Calculator

  1. Pick your sensor and enter the focal length and aperture.
  2. Read the hyperfocal distance and the near limit it produces.
  3. Use the table to see what every other aperture would give.

About the Hyperfocal Distance Calculator

The hyperfocal distance for any lens and aperture, with the near limit it produces and a full aperture chart.

What people use it for

  • Setting one focus point for a landscape and getting everything sharp.
  • Zone-focusing a street lens so you never have to focus again.
  • Seeing how much stopping down actually buys you.

Details

The formulaH = f² ÷ (N × c) + f
Focus at Hand H/2 to infinity is sharp
24 mm f/11 full frameabout 1.8 m, sharp from 0.9 m
Focal lengthmatters as its SQUARE
Stopping downonly helps as a square root
Focusing on infinity insteadthrows away all the near depth for nothing
PrivacyEverything runs in your browser. Nothing you enter is sent anywhere
This page checks itself. The hyperfocal distance comes from one formula and the near and far limits from another; feeding the answer back into the second must give exactly half of it and an infinite far limit, and the result of that check is shown as a stat.

Where this tool stops

Depth of field is not a line between sharp and blurred. It is the zone where the blur is small enough to ignore at a normal viewing size, which means every figure here rests on an assumed circle of confusion — the sensor diagonal divided by 1500, a convention about human eyesight. Print bigger, crop harder or pixel-peep at 100% and the same photograph has less depth of field than this says. These are also ideal-lens calculations: they ignore diffraction, field curvature and focus breathing, all of which are real on a real lens.

Frequently asked questions

What is hyperfocal distance?
The nearest distance you can focus at while infinity is still acceptably sharp. Focus there and everything from half that distance to the horizon is in focus, which is the most depth of field any single focus setting can give.
Why not just focus on infinity?
Because there is nothing behind infinity to gain, so all the depth of field that would have fallen in front of it is wasted. Focusing at the hyperfocal distance moves that zone back into the scene.
Does stopping down help much?
Less than people expect. Hyperfocal distance falls as the square root of the aperture change, so two whole stops only halve it — and diffraction is softening the image over the same range.
Should I focus exactly at the hyperfocal distance?
Focusing slightly beyond it is safer. You lose a little at the near end and guarantee a properly sharp horizon, which is the difference people actually see in a print.
Why do wide lenses have such short hyperfocal distances?
Because the formula divides the SQUARE of the focal length. Halving the focal length quarters the hyperfocal distance, so a 14 mm lens can put almost everything in focus at once and a 200 mm never will.
Does the circle of confusion matter here?
Very much. A smaller circle of confusion — for large prints or heavy crops — pushes the hyperfocal distance further out. The field above accepts your own value.
Is the Hyperfocal Distance Calculator free, or is there a paid tier?
It is free, with no account, no trial and no daily cap. Every calculators tool on inputtesthub.com works the same way: open the page and use it.
Is the Hyperfocal Distance Calculator safe to use with private information?
No. The Hyperfocal Distance Calculator runs entirely in your browser using JavaScript. Your input never reaches inputtesthub.com or any third party — open your browser's Network tab while you use it and you will see no request go out.
Who is the Hyperfocal Distance Calculator for?
The most common reasons people reach for it: setting one focus point for a landscape and getting everything sharp. Zone-focusing a street lens so you never have to focus again. Seeing how much stopping down actually buys you. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
When is the Hyperfocal Distance Calculator not the right tool?
Depth of field is not a line between sharp and blurred. It is the zone where the blur is small enough to ignore at a normal viewing size, which means every figure here rests on an assumed circle of confusion — the sensor diagonal divided by 1500, a convention about human eyesight. Print bigger, crop harder or pixel-peep at 100% and the same photograph has less depth of field than this says. These are also ideal-lens calculations: they ignore diffraction, field curvature and focus breathing, all of which are real on a real lens. Knowing where a tool stops being trustworthy matters more than the cases where it works.
Which values should I know?
The formula is H = f² ÷ (N × c) + f. Focus at H is and H/2 to infinity is sharp. 24 mm f/11 full frame is about 1.8 m, sharp from 0.9 m. These are printed on the page itself, so you do not have to take them on trust.
Can I rely on this for exact work?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…