Omni Calculator logo

Hyperfocal Distance Calculator

Created by Kenneth Alambra
Reviewed by Wojciech Sas, PhD and Steven Wooding
Last updated: Jan 18, 2024


This hyperfocal distance calculator will help you find a camera's hyperfocal distance depending on its sensor size, focal length, and aperture area opening. In this calculator, you will learn:

  • What hyperfocal distance is;
  • How to find the hyperfocal distance of your camera; and
  • The hyperfocal distance formula.

Learning about hyperfocal distance could help you improve your landscape photography game. Keep on reading to start learning 📸.

What is the hyperfocal distance? Hyperfocal distance definition

The prefix hyper itself seems to denote some extremity to the mentioned distance. And indeed it does.

Hyperfocal distance is the distance in which we can focus our camera to achieve the greatest or deepest depth of field. The hyperfocal distance depends on our chosen camera settings:

  • Sensor size;
  • Focal length; and
  • Aperture area.

When focusing at the hyperfocal distance, our camera's depth of field will start at the hyperfocal near limit up to infinity. The hyperfocal near limit is the distance halfway towards the hyperfocal distance, as shown in the image below:

Image showing the relationship between the hyperfocal distance, hyperfocal near limit, focusing point, and depth of field.

In other words, all the objects before the hyperfocal near limit will have a blurred image, and everything is "acceptably sharp" beyond that distance. However, since sharpness is subjective, we can say that the hyperfocal distance also varies depending on how much we consider something to be sharp. Factors affecting our perceived sharpness are visual acuity and the amount of enlargement we'll apply to our captured image when we make a printed copy.

Now that we know what hyperfocal is, how about we next discuss how to use our hyperfocal distance calculator? 🙂

How to use our hyperfocal distance calculator

Let's say we want to know the hyperfocal distance of a 35mm full-frame camera with a 50 mm lens and an aperture set at f/22. To use this tool to find the hyperfocal distance:

  1. Firstly, we select 35mm full-frame from the sensor size list. If you have another camera with a different sensor size that's not on the list, select Custom sensor size from the options to enter its sensor width and height measurements.
  2. Then, we enter 50 mm for the lens focal length.
  3. Lastly, we pick f/22 from the aperture f-stop selection. This will display 22.627 for the focal ratio as additional information.

Upon doing these steps, our hyperfocal distance calculator will instantly display the hyperfocal near limit and the hyperfocal distance of our camera to be 1.94 m and 3.88 m, respectively.

🙋 However, let's say we want to include an object 1.5 meters from the camera in the acceptably sharp area of our composition. We can use our calculator in reverse to determine how to adjust our camera settings to capture that object. Since it's easier to adjust the aperture, we'll try that first.

Continuing our steps:

  1. On the aperture f-stop options, we now select Custom. This option will clear the focal ratio and the hyperfocal distance values.
  2. Click on the lock button 🔒 next to the focal ratio to show two more options: the lock toggle 🔒 and the autosave feature 💾 of our calculator. Click on the lock toggle to unlock the focal ratio. You'll see that we can now type values for the hyperfocal near limit and hyperfocal distance.
  3. Enter 1.5 m for the hyperfocal near limit to discover our approximate focal ratio to now be 29.38. However, since we may not have a very specific focal ratio like that on our camera, we go to the next nearest aperture f-stop available to us.
  4. Since our next available aperture f-stop is f/32, we select that to obtain our new hyperfocal near limit and hyperfocal distance with values of 1.38 m and 2.76 m, respectively. That will now cover the object 1.5 m away from us 🙂.

💡 If you wish to adjust your lens focal length to obtain a particular hyperfocal distance, you can choose to unlock the lens focal length by following the same steps. Then, before you enter your preferred hyperfocal distance or hyperfocal near limit, make sure to lock the focal ratio and clear the lens focal length first so our calculator can calculate fresh new numbers for you.

Of course, we don't forget that you may be wondering how to calculate hyperfocal distance yourself. That's why in the next section of this text, we'll discuss precisely that 🙂.

How to find the hyperfocal distance

Learning how to calculate the hyperfocal distance is definitely another fun way to help you better understand what hyperfocal distance is. Calculating the hyperfocal distance takes only a few steps. Let's start with the hyperfocal distance formula, as shown below:

H=f+f2N × CH = f + \frac{f^2}{N\ \times\ C}

where:

  • HHHyperfocal distance;
  • ffFocal length of lens used;
  • NNAperture f-number; and
  • CCCircle of confusion limit.

Make sure that ff and CC are in millimeters to get a value for the hyperfocal distance in millimeters, too. In the formula above, we introduce the concept of the circle of confusion. We use the circle of confusion limit to determine the depth of field, and we find its value using this equation:

C=davdsv ×visual acuitydiagonalpdiagonals×1000C = \frac{\frac{d_{\text{av}}}{d_{\text{sv}}\ \times \text{visual\ acuity}}}{\frac{\text{diagonal}_\text{p}}{\text{diagonal}_\text{s}}\times1000}

where:

  • davd_{\text{av}}Actual viewing distance of a printed photo version of an image;
  • dsvd_{\text{sv}}Standard viewing distance that a person can observe the said printed photo through a defined visual acuity;
  • visual acuity\text{visual\ acuity}Visual acuity at which an observer can tell the details in a printed photo at the standard viewing distance in terms of line pairs per mm (lp/mm);
  • diagonalp\small{\text{diagonal}_\text{p}}Diagonal measurement of the printed photo observed; and
  • diagonals\small{\text{diagonal}_\text{s}}Diagonal measurement of the camera's sensor.

We can calculate the diagonals mentioned above with the help of the Pythagorean theorem as long as we know the widths and heights of our camera's sensor and the printed photo used in the visual acuity test.

✅ You can learn more about the circle of confusion in our depth of field calculator.

Our other photography tools

Using the hyperfocal distance is perfect in taking landscape shots, cityscape pictures, and in astrophotography. However, since we're taking very deep depths of field and we're using small aperture sizes, capturing those photos in low-light situations would be difficult without the proper camera settings.

You can check out our shutter speed calculator to help you decide the duration of your shot. We also have our exposure calculator that you can use to check if your camera settings are perfect for any given lighting situation.

FAQ

What is hyperfocal near limit?

Hyperfocal near limit is the distance to the camera of the closest acceptably sharp object in a considered depth of field when focusing the camera at a point lying on the plane at the hyperfocal distance. We measure the hyperfocal near limit to be half the hyperfocal distance.

How do I calculate hyperfocal distance?

To calculate the hyperfocal distance:

  1. First, we determine our camera's settings. Let's say we have a camera with 100 mm lens focal length (f), a circle of confusion (C) equal to 0.02884 mm, and an aperture f-stop of f/8, or a focal ratio (N) equal to 8.
  2. Then, we define the hyperfocal distance formula as H = f + f²/(N×C).
  3. Lastly, we substitute our known values to the formula to get: H = 0.1 + 0.1²/(8×0.02884) = 43,442.57 mm43.44 m.

How do I use the hyperfocal distance?

Use hyperfocal distance as your go-to focusing distance whenever you want to capture the entire scene while keeping nearby objects in focus. However, there are times when background objects can confuse the viewers about which object in your shot is the main subject. In those cases, it may not be best to use the hyperfocal distance and opt for a shallower depth of field.

Does sensor size affect the hyperfocal distance?

Yes, sensor size affects the hyperfocal distance. The smaller the sensor size becomes, the farther the hyperfocal distance gets. However, as the hyperfocal distance moves away, so does the hyperfocal near limit — this decrease in sensor size results in more objects blurred in the foreground.

What is the hyperfocal distance of a 50 mm lens?

The hyperfocal distance we get using a 50 mm lens on a 35 mm full-frame camera at f/16 aperture is around 17.94 ft (or 5.47 m). Switching to an f/22 f-stop results in a closer hyperfocal distance of 12.73 ft (or 3.88 m). Decreasing the aperture size even more to f/32 will give us a hyperfocal distance of 9.05 ft (or 2.76 m).

Kenneth Alambra
Sensor size
35mm full-frame
Lens focal length
mm
Aperture f-stop
f/2.8
Focal ratio
Results
Hyperfocal near limit
ft
Hyperfocal distance
ft
Check out 27 similar photo and video calculators 📷
3D render timeAspect ratioBlink-free photos… 24 more
People also viewed…

Christmas tree

Welcome to the Christmas tree calculator, where you will find out how to decorate your Christmas tree in the best way. Take a look at the perfect Christmas tree formula prepared by math professors and improved by physicists. Plan in advance how many lights and decorations you'll need!

Coffee kick

A long night of studying? Or maybe you're on a deadline? The coffee kick calculator will tell you when and how much caffeine you need to stay alert after not sleeping enough 😀☕ Check out the graph below!

Gender pay gap

The gender pay gap calculator lets you calculate how much your paycheck is affected by your gender for different countries.

High school GPA

With this high school GPA calculator, determining your unweighted and weighted GPA will be a piece of cake!
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service