All tools
Calculator

Cinema DoF Calculator & Hyperfocal Distance Tool

Calculate precise depth of field limits, hyperfocal distance, and total focus zones for cinematography. Supports custom Circle of Confusion (CoC) for cinema cameras.

Settings

Hyperfocal – Quick Actions

Auto-fill one value for hyperfocal shooting. The highlighted field is computed.

Results

Near limit
Far limit
Total DoF
Hyperfocal

Tired of opening 5 different web calculators on set?

Get Filmari for iOS & macOS. Always offline, always in your pocket.

Download on the App Store

Reference

Cinema Depth of Field Calculator & Optics Guide

Mastering Focus and Image Separation in Cinematography

Depth of Field (DoF) is one of the most powerful storytelling tools in a filmmaker's arsenal. It defines the distance between the nearest and farthest objects in a scene that appear acceptably sharp on screen. Mastering this budget of sharpness allows a cinematographer to direct the audience's attention, isolate characters from distracting backgrounds, and establish a distinct cinematic texture.

The Mathematical Formulas Behind Depth of Field

While this online depth of field calculator handles the complex math instantly, understanding the optical physics behind the code is crucial for precise focus pulling and lens calibration. The total depth of field is derived from calculating the Near Limit and Far Limit of acceptable sharpness.

First, we must calculate the Hyperfocal Distance (H):

\[ H = \frac{f^2}{N \cdot c} + f \]

Where f is the focal length in millimeters, N is the aperture f-number, and c is the Circle of Confusion (CoC) limit for the specific camera sensor.

Once the hyperfocal distance is established, the Near Limit \(D_n\) and Far Limit \(D_f\) are calculated based on your target focus distance \(s\):

\[ D_n = \frac{s \cdot (H - f)}{H + s - 2f} + f \]
\[ D_f = \frac{s \cdot (H - f)}{H - s} + f \]

The Total Depth of Field is simply the difference between the two: \(Total\ DoF = D_f - D_n\). If your focus distance (\(s\)) is equal to or greater than the hyperfocal distance (\(H\)), the Far Limit reaches infinity (\(\infty\)), providing maximum depth from half the hyperfocal distance all the way to the horizon.

Why "Circle of Confusion" Changes Everything for Cinema

The Circle of Confusion (CoC) is the maximum diameter a blurred point of light can spread on the camera sensor and still be perceived as perfectly sharp by the audience. If it spreads wider than this threshold, it registers as out of focus. Crucially, cinema standards differ from standard still photography.

Still photographers typically look at a static image closely, expecting tight tolerances (e.g., \(0.030\ \mathrm{mm}\) for Full Frame). In cinema, because images are moving and traditionally projected or viewed on screens from a controlled distance, tables often utilize a more permissive or adjusted CoC (such as \(0.025\ \mathrm{mm}\) or \(0.029\ \mathrm{mm}\) depending on the delivery format). Smaller sensors (like Micro Four Thirds or Super 16) require much smaller circles of confusion, making focus tolerances incredibly tight when scaling up to 4K or 8K cinema masters.

Standard Cinema Circle of Confusion (CoC) Reference Matrix

When jumping between different camera packages, use these standardized industry parameters inside the custom CoC input field to match focus expectations perfectly:

Sensor Format Reference Width Industry Standard CoC (Photography) Strict Cinema CoC (4K/8K Masters)
Full-Frame / VistaVision (e.g., Sony FX9, RED V-Raptor)36.0 mm0.030 mm0.025 mm
Super 35 / APS-C (e.g., ARRI Alexa Mini, Sony FX30)24.0 mm0.020 mm0.015 mm
Micro Four Thirds (MFT) (e.g., BMPCC 4K, Panasonic GH6)17.3 mm0.015 mm0.011 mm
1-Inch Type / Super 16 (e.g., Vintage film, specialized small rigs)13.2 mm0.011 mm0.008 mm

Advanced Focus Pulling Strategies on Set

1. Utilizing Hyperfocal Quick Actions: For run-and-gun documentary work or vast cinematic wide landscape masters, use the calculator's quick actions to compute hyperfocal settings. If you are shooting on a 24mm lens at f/8, focusing exactly at the computed hyperfocal distance guarantees everything from half that distance up to infinity will remain acceptably sharp, allowing you to shoot without riding the focus ring.

2. The Anamorphic Factor: Anamorphic lenses squeeze the horizontal field of view while preserving vertical depth characteristics. A 50mm anamorphic lens with a \(2\times\) squeeze provides the wide horizontal field of view of a 25mm lens, but retains the ultra-shallow depth of field and background compression of a native 50mm spherical lens. Always calculate your DoF based on the physical focal length (50mm), not the equivalent wide field of view.

3. Sensor Size Misconceptions: A larger sensor does not inherently create a shallower depth of field by itself. However, because a larger sensor requires you to either move physically closer to the subject or swap to a longer focal length lens to achieve the exact same framing as a smaller sensor, the depth of field appears significantly shallower. It is the adjustment of distance and focal length that shifts the focus zone.