Hyperfocal Distance Calculator

Find the focus distance that keeps everything from half that distance to infinity sharp.

Hyperfocal distance
-
Sharp from-
Sharp to-

Hyperfocal Distance Explained →

What is hyperfocal distance?

The hyperfocal distance is the closest distance you can focus at while still keeping distant objects, all the way to infinity, acceptably sharp. Focus there and your depth of field stretches from half that distance out to the horizon - the maximum possible for that lens and aperture.

It is the landscape photographer's shortcut to front-to-back sharpness without focus stacking.

How to focus at the hyperfocal distance

Read the hyperfocal distance for your focal length and aperture, then set the lens to that distance using the focus scale, live view, or by focusing on something at roughly that range. Everything from half the hyperfocal distance to infinity will then be sharp.

Focusing at infinity instead wastes the near half of your depth of field, leaving the foreground soft.

Hyperfocal distance and sensor size

A smaller sensor or a wider lens brings the hyperfocal distance closer, so more of the scene falls inside the sharp zone. Stopping down (a higher f-number) also shortens it. The calculator uses the circle of confusion for your chosen sensor, so the result matches your camera rather than a generic full-frame figure.

How this calculation works

Formula: H = f² / (N · c) + f

where:

Sources:

FAQ

How do I use the hyperfocal distance?

Switch to manual focus and focus at the calculated distance (or just beyond). Everything from half that distance to infinity will be sharp.

Why does a wider lens give a closer hyperfocal distance?

Shorter focal lengths have inherently more depth of field, so the point at which infinity becomes sharp sits closer to the camera.

Is focusing at infinity the same as hyperfocal?

No. Focusing at infinity wastes near sharpness; focusing at the hyperfocal distance keeps infinity acceptably sharp while also sharpening the foreground.

Does aperture change the hyperfocal distance?

Yes. A smaller aperture (higher f-number) shortens the hyperfocal distance, so more of the scene falls within the sharp zone.

Related tools

Depth of Field CalculatorSee exactly how much of your photo will be in focus, for any camera, lens and aperture.Field of View CalculatorWork out the angle of view and how much of a scene your lens covers at any distance.500 Rule CalculatorFind the longest shutter speed for sharp, trail-free stars with any lens.

By camera

Sony A7 IVFull frame (35 mm) · 33 MPCanon EOS R6 Mark IIFull frame (35 mm) · 24 MPNikon Z8Full frame (35 mm) · 45 MPFujifilm X-T5APS-C - Nikon/Sony/Fuji (1.5×) · 40 MPSony a6700APS-C - Nikon/Sony/Fuji (1.5×) · 26 MPCanon EOS R7APS-C - Canon (1.6×) · 33 MPOM System OM-1 Mark IIMicro 4/3 (2×) · 20 MPFujifilm GFX 100 IIMedium format (44×33) · 102 MP

Browse all cameras →

All calculators

Depth of Field CalculatorSee exactly how much of your photo will be in focus, for any camera, lens and aperture.Hyperfocal Distance CalculatorFind the focus distance that keeps everything from half that distance to infinity sharp.Field of View CalculatorWork out the angle of view and how much of a scene your lens covers at any distance.Crop Factor CalculatorConvert focal length and aperture to their full-frame equivalents for any sensor.Aspect Ratio CalculatorFind the ratio of any image and resize it while keeping perfect proportions.Print Size CalculatorSee how big you can print your photo at any resolution, in centimetres and inches.500 Rule CalculatorFind the longest shutter speed for sharp, trail-free stars with any lens.ND Filter CalculatorGet the exact shutter speed to use after screwing on any ND filter.Time-lapse CalculatorPlan interval, clip length, frame count and card space for any time-lapse.Exposure CalculatorFind equivalent exposures and the EV of any aperture, shutter and ISO combination.Sunny 16 CalculatorGet correct exposure settings without a light meter, using the sunny 16 rule.Flash Guide Number CalculatorTurn a flash's guide number into real shooting distance for any aperture and ISO.Golden Hour CalculatorFind today's sunrise, sunset, golden hour and blue hour for your exact location.