Hyperfocal distance

What Is Hyperfocal Distance?

Annika Jansen

Hyperfocal Distance

As a photographer, you naturally want your photos to be exactly as sharp as you envisioned. But how do you make sure that both the foreground and the background of your image appear razor-sharp? This has everything to do with the hyperfocal distance. We’ll explain everything you need to know.

What is hyperfocal distance?

The hyperfocal distance is the minimum distance at which you need to focus your camera lens in order to get both the foreground and the background as sharp as possible.

When photographing landscapes, you often want everything from the foreground to the horizon to be tack-sharp. That means you want to achieve the perfect depth of field. A useful technique to maximize sharpness is to use the hyperfocal distance.

When you set your focus point to this distance, the depth of field runs from half of that distance all the way to infinity. This means that, for example, a field of wildflowers and a distant mountain range can both be sharp in the same image.

The hyperfocal distance is determined by the focal length of your lens, the aperture, and your camera’s sensor. The smaller the aperture (higher f-number), the greater the depth of field and the closer the hyperfocal distance becomes.

This principle is mainly used in landscape photography, but it can also be helpful in street and architectural photography, where you want to preserve as much detail as possible.

If you want to experiment with hyperfocal distance, there are apps that help you calculate the correct setting on your phone. You can also test it manually with your camera: focus on a point just before the hyperfocal distance and see how sharp the entire scene becomes. This helps you get a feel for depth of field and easily improve the sharpness of your landscape photos.

How do you calculate the hyperfocal distance?

The hyperfocal distance may sound like a complicated concept, but it’s a super useful tool for achieving maximum sharpness in your photos. By calculating it correctly, you ensure that both your subject and the background appear sharp.

There are several ways to determine the hyperfocal distance—from doing the math yourself to using handy apps that take care of the calculation.

Hyperfocal distance example

Manual calculation using the formula

If you want to calculate the hyperfocal distance yourself, you can use the following formula:

H = (f²) / (N × c) + f

Where:

H is the hyperfocal distance
f is the focal length of your lens in millimeters
N is the selected aperture (f-number)
c is the circle of confusion (a value depending on your sensor size)

This method requires some practice, but once you know the parameters of your camera and lens, you can make a reliable estimate quickly.

Apps to calculate the hyperfocal distance

Even easier is using an app that calculates it for you. You simply enter your focal length, aperture, and sensor size, and the calculator instantly gives you the correct distance. Try the following apps

  • Photopills
  • Photopills free online table
  • Hyperfocal (Android)
  • Hyperfocal Pro (iOS)

This is especially practical when you're out in the field and need to choose the right settings quickly. Many photographers use their smartphone for this so they always have the information at hand.

The camera sensor influences the hyperfocal distance

Your camera’s sensor size plays an important role in hyperfocal distance. A full-frame camera has a larger sensor than an APS-C or Micro Four Thirds camera, which affects the hyperfocal distance.

This means that with a smaller sensor, you need to focus closer to your subject to achieve the same depth-of-field effect as with a full-frame camera. Keep in mind that the same lens and settings don’t always produce the same result on different cameras.

How do you focus using the hyperfocal distance?

  • Choose the right aperture: A smaller aperture (e.g., f/8 to f/16) increases the depth of field, making more of the scene sharp. Avoid extremely small apertures (like f/22), as diffraction can reduce sharpness.
  • Use a hyperfocal distance chart or app: Calculate the correct hyperfocal distance for your camera and lens settings.
  • Focus at the hyperfocal distance: Once you know the correct distance, focus manually or use live view for precision.
  • Use manual focus and check with live view: Turn off autofocus and adjust the focus ring until the subject at the hyperfocal distance is sharp. With live view, you can zoom in to check sharpness before taking the photo.
Hyperfocal distance focusing example

Tips for focusing with live view and manual focus

Live view and focus peaking

Live view is a handy tool when focusing at the hyperfocal distance. Zoom in digitally on the screen while focusing so you can precisely determine whether your subject and surroundings are sharp. Focus peaking can also help by highlighting the areas that are in focus. If you're using a tripod, you’ll have plenty of time to fine-tune your settings and focus.

Using wide-angle versus telephoto lenses

The hyperfocal distance has the biggest effect when using wide-angle lenses. With a 16mm lens at f/11, the hyperfocal distance is relatively short, allowing almost the entire image to remain sharp. With telephoto lenses, it works differently: a 200mm lens has a much longer hyperfocal distance and a smaller depth of field, making the technique less practical for telephoto shots. For the best results, use the hyperfocal technique with wide-angle photography such as landscapes and cityscapes.

Want to experiment? Try different apertures and distances and observe the effect on your depth of field. This is the best way to learn how to apply the technique in practice.

Misconception about the 1/3–2/3 rule

A commonly heard rule is that depth of field extends one-third toward the camera and two-thirds toward the background. While this is sometimes true, it’s not a universal law.

The distribution depends on your focal length and aperture. With wide-angle lenses, the depth of field can indeed extend farther behind the focus point, but with telephoto lenses this changes completely. So don’t rely blindly on this rule—experiment and adjust your focus point based on your subject and composition.

What else do you need?

Whether you’re a landscape photographer capturing breathtaking vistas or an architecture photographer aiming for crisp real-estate shots, achieving sharp images is always the goal.

Tripods and remote shutters

A tripod is an essential tool when you want to reduce vibrations and improve image sharpness. Especially with long exposures, such as in night photography or landscape shots, a tripod prevents blur caused by camera movement.

Combine this with a remote shutter or your camera’s self-timer to avoid even the smallest vibrations caused by pressing the shutter button. Don’t have a remote shutter? A two-second timer is often a great alternative.

A strong composition

Sharpness isn’t just about technique—it’s also about how you compose your shot. A well-chosen composition and perspective draw attention to the sharpest point in your image. Use the rule of thirds to place your subject in a powerful position and experiment with different angles to discover new perspectives. Sometimes a low angle or a top-down shot can give your photo that extra bit of sharpness and impact.

Hyperfocal distance in a field