Hyperfocal Distance Calculator
Find your lens hyperfocal distance. Free calculator using focal length, aperture, and sensor size for the optimal focus point and sharp landscape images.
About This Calculator
The Hyperfocal Distance Calculator helps photographers determine the optimal focus distance for achieving maximum depth of field. Whether you are shooting landscapes, cityscapes, or astrophotography, knowing your lens hyperfocal distance ensures everything from the foreground to infinity appears sharp in your final image.
This tool uses the standard hyperfocal distance formula H = f + f²/(N × C), where f is the focal length in millimeters, N is the aperture f-number, and C is the circle of confusion limit for your sensor. The calculator supports all major sensor formats including 35mm full-frame, APS-C (Nikon/Sony and Canon), Micro Four Thirds, and Medium Format, with an option to enter a custom circle of confusion for any sensor.
The hyperfocal concept is essential for photographers who want to maximize sharpness throughout their scene. By focusing at the calculated hyperfocal distance, your depth of field extends from half that distance (the hyperfocal near limit) all the way to infinity. The interactive charts show how aperture and focal length choices affect your hyperfocal distance, helping you make informed decisions in the field.
Regional Notes
All regions: Hyperfocal distance depends only on optical physics — focal length, aperture, and sensor size — and does not vary by country or currency. The formula and circle of confusion values are universal standards used by photographers worldwide.
Frequently Asked Questions
What is hyperfocal distance in photography?
Hyperfocal distance is the closest distance at which you can focus your lens while keeping objects at infinity acceptably sharp. When you focus at this distance, your depth of field extends from half the hyperfocal distance (the near limit) to infinity, making it ideal for landscape photography where you want everything from foreground to background in focus.
How do I calculate hyperfocal distance?
Hyperfocal distance is calculated using the formula H = f + f²/(N × C), where f is the focal length in millimeters, N is the aperture f-number, and C is the circle of confusion limit in millimeters. For most practical purposes, the simplified formula H ≈ f²/(N × C) gives nearly identical results since f is much smaller than f²/(N × C).
What sensor sizes does this calculator support?
This calculator supports Medium Format (43mm), 35mm Full-Frame (CoC 0.029mm), APS-C for Nikon/Sony (CoC 0.020mm), APS-C for Canon (CoC 0.018mm), Micro Four Thirds (CoC 0.015mm), and a custom option where you can enter your own circle of confusion value for any sensor size.
What is the circle of confusion limit?
The circle of confusion (CoC) is the maximum diameter of a blur spot that the human eye perceives as a sharp point. It depends on sensor size, viewing distance, visual acuity, and print enlargement. Standard CoC values are 0.029mm for full-frame 35mm, 0.020mm for APS-C (Nikon/Sony), 0.018mm for APS-C (Canon), and 0.015mm for Micro Four Thirds sensors.
When should I use hyperfocal distance in photography?
Use hyperfocal distance primarily for landscape photography, cityscapes, and astrophotography where you want maximum depth of field. It is ideal when you need both foreground elements and distant background details to appear sharp. Avoid using hyperfocal distance for portraits or subjects where you want a blurred background to isolate your subject.
Does sensor size affect hyperfocal distance?
Yes, sensor size significantly affects hyperfocal distance. Smaller sensors produce a larger hyperfocal distance, meaning you need to focus farther away to achieve infinity sharpness. For example, a Micro Four Thirds camera will have roughly double the hyperfocal distance of a full-frame camera at the same focal length and aperture settings.
What aperture should I use for maximum depth of field?
Smaller apertures (higher f-numbers like f/11, f/16, or f/22) produce shorter hyperfocal distances and greater depth of field. However, diffraction begins to reduce overall sharpness past f/11 on most cameras. The sweet spot for landscape photography is typically between f/8 and f/11, balancing depth of field with diffraction-limited sharpness.
How does focal length affect hyperfocal distance?
Hyperfocal distance increases with the square of the focal length. A 100mm lens has approximately four times the hyperfocal distance of a 50mm lens at the same aperture. Wide-angle lenses (14-35mm) have very short hyperfocal distances, making them ideal for hyperfocal focusing in landscape photography, while telephoto lenses require focusing much farther away.