Calculadora de Distância Hiperfocal
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
Formula
H = f² / (N·c) [mm → m]
About this calculator
The Hyperfocal Distance Calculator determines the distance from which all objects in the scene appear acceptably sharp, from the foreground to infinity. This distance is calculated using the formula H = f² / (N × c), where H is the hyperfocal distance in meters, f is the focal length in millimeters, N is the f-number (aperture), and c is the circle of confusion in millimeters. The result is essential for photographers who want to maximize depth of field, especially in landscapes, architecture, and street photography.
How it works: enter the focal length of the lens (e.g., 24 mm), the f-number (e.g., f/8), and the circle of confusion (default value for your camera sensor). The tool automatically calculates the hyperfocal distance. If you focus at that point, everything from half that distance to infinity will be sharp. For example, with a 24 mm lens at f/8 and a circle of confusion of 0.02 mm, the hyperfocal distance is approximately 3.6 meters. Focusing at 3.6 m, everything from 1.8 m to infinity is acceptably sharp.
When to use: ideal for landscape photography, where sharpness from the foreground to the horizon is desired. Also useful in architecture, outdoor events, or any situation where maximum depth of field is preferred. Avoid using it in portraits or close-ups, where a blurred background is desirable. Remember that the circle of confusion varies according to sensor size: 0.02 mm for APS-C, 0.03 mm for full-frame, etc. The calculator uses typical values, but you can adjust it manually.
Cautions: the formula assumes ideal conditions and perfect lenses. In practice, sharpness can be affected by diffraction at very small apertures (f/16 or smaller) and lens quality. The calculated hyperfocal distance is a guide, not an absolute guarantee. Always check sharpness in the viewfinder or LCD after focusing. For maximum accuracy, consider using the calculation with the specific circle of confusion of your equipment.
Frequently asked questions
What is the circle of confusion and how do I choose the correct value?
The circle of confusion is the maximum size a point of light can be on the sensor and still be perceived as sharp. For full-frame sensors, use 0.03 mm; for APS-C, 0.02 mm; for Micro Four Thirds, 0.015 mm. The calculator suggests default values, but you can adjust.
Can I use this calculator for any lens?
Yes, as long as you know the focal length and aperture. Wide-angle lenses tend to have shorter hyperfocal distances, making focusing easier. Telephoto lenses require greater distances, making hyperfocal focus less practical.
Does hyperfocal distance work in all lighting conditions?
Yes, the formula is independent of lighting. However, in low light, you may need larger apertures, which reduce depth of field. The calculator still works, but the result may be less useful.
What is the difference between hyperfocal distance and depth of field?
Hyperfocal distance is a specific point that, when focused on, maximizes depth of field. Depth of field is the range of distances that appear sharp. Hyperfocal distance is used to achieve the greatest possible depth of field.
Do I need to convert millimeters to meters manually?
No, the calculator does the conversion automatically. You enter values in millimeters (focal length and circle of confusion) and the result is given in meters.