Skip to main contentSkip to secondary navigation
HomeeverydayDepth of Field

Depth of Field Calculator — Sensor Size, Aperture & Hyperfocal Distance

Calculate depth of field for any camera setup. Enter sensor size, focal length, aperture, and subject distance to find near/far focus limits and hyperfocal distance. Supports full-frame, APS-C, Micro 4/3, and more.

✓ Formula verified: January 2026
📱

Depth of Field

Results update instantly as you type

Enter Values

Hyperfocal Distance
101.01 ft
↑ Neutral
Near Focus Limit9.10 ft
Far Focus Limit11.10 ft
Crop Factor1x
Circle of Confusion0.029 mm
http://127.0.0.1:54963/everyday/depth-of-field-calculator
Focus Range
Near
Far
Focus

Near Limit

9.10 ft

Far Limit

11.10 ft

Hyperfocal

101.01 ft

Total DOF

2.00 ft

The Formula

H = f^2 / (A × CoC) | Near = (H × D) / (H + D) | Far = (H × D) / (H − D) when H > D

Depth of field is calculated using the hyperfocal distance formula. The hyperfocal distance (H) is the closest distance at which a lens can be focused while keeping objects at infinity acceptably sharp. From H, the near and far limits of acceptable sharpness are derived, defining the total depth of field.

Variable Definitions

H

Hyperfocal Distance

The distance at which everything from half that distance to infinity appears acceptably sharp. Focusing at this distance maximizes depth of field for landscape photography.

f

Focal Length

The focal length of the lens in millimeters. Longer focal lengths produce shallower depth of field at the same aperture and subject distance.

A

Aperture (f-number)

The lens aperture setting. Smaller f-numbers (wider apertures like f/1.4) produce shallower depth of field. Larger f-numbers (narrower apertures like f/16) increase depth of field.

CoC

Circle of Confusion

The maximum allowable blur spot size that appears sharp to the human eye at a given viewing distance and print size. CoC varies by sensor size — larger sensors have larger CoC values.

D

Subject Distance

The distance from the camera sensor plane to the subject being focused on.

How to Use This Calculator

  1. 1

    Select your camera's sensor size from the dropdown for accurate circle of confusion values.

  2. 2

    Enter your lens focal length (e.g., 50mm for a standard prime lens).

  3. 3

    Set the aperture (f-number) you plan to use. Wider apertures (lower f-numbers) give shallower DOF.

  4. 4

    Enter the distance to your subject and choose feet or meters.

  5. 5

    Review the near and far focus limits to see what range will appear sharp in your photo.

Common Applications

  • Planning a portrait shot by choosing the right aperture and distance for subject-background separation
  • Determining the hyperfocal distance for landscape photography to maximize front-to-back sharpness
  • Comparing depth of field across different sensor sizes (full-frame vs. APS-C vs. Micro 4/3) before buying gear
  • Checking whether your entire group will be in focus at a given aperture and distance for event photography

DOF is the zone of acceptable sharpness between the near and far limits. Smaller apertures (higher f-numbers) increase DOF; longer focal lengths reduce it.

Understanding the Concept

Depth of field (DOF) is one of the most important creative tools in photography. It refers to the zone of acceptable sharpness in front of and behind the focus point. A shallow DOF isolates the subject from the background, ideal for portraits and macro photography. A deep DOF keeps everything sharp from foreground to infinity, essential for landscape photography. Four primary factors influence depth of field: aperture, focal length, subject distance, and sensor size. Wider apertures (smaller f-numbers like f/1.4) produce shallower DOF, while narrower apertures (larger f-numbers like f/16) increase DOF. Longer focal lengths compress perspective and reduce DOF, while shorter focal lengths increase it. Getting closer to your subject reduces DOF, and moving farther away increases it. Sensor size also plays a critical role: full-frame cameras achieve shallower DOF than crop-sensor cameras at the same aperture and framing due to their larger circle of confusion. The hyperfocal distance is a key concept for landscape photographers: by focusing at the hyperfocal distance, you maximize DOF from half that distance all the way to infinity. This technique is widely used to ensure foreground-to-background sharpness in landscape images. Understanding these relationships allows photographers to pre-visualize their images and choose the right settings to achieve their creative vision without trial and error.

Frequently Asked Questions

Sources & References

Related Calculators

Reviews

No reviews yet. Be the first to share your experience with Depth of Field Calculator — Sensor Size, Aperture & Hyperfocal Distance.

Write a Review

Your Rating *

0/1000

0/50

Related Calculators

Medical Disclaimer: The health and fitness calculators on this site are for informational and educational purposes only. They are not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with any questions about your health.

Financial Disclaimer: The finance calculators on this site are for informational purposes only and do not constitute financial advice. Results are estimates based on the inputs provided and may vary. Consult a qualified financial advisor before making investment or financial decisions.

© 2026 TheCalcUniverse. All results are for informational purposes only.

Fast, free, and privacy-first.