Free Film & Video Tool · Calculator

    Depth of Field Calculator

    Calculate near and far focus limits, total depth of field and hyperfocal distance from focal length, aperture, focus distance and sensor format — in metres or feet, with the circle of confusion shown.

    Deterministic maths that runs entirely in your browser — no AI model, no uploads, no account. Formulas and assumptions are explained below the calculator.

    Inputs

    Results update as you type.

    mm

    The actual focal length marked on the lens — not a full-frame equivalent.

    f/

    Use the f-number (f-stop). T-stops on cine lenses are close but slightly slower.

    m
    Units

    Crop factor 1× vs full frame.

    mm

    Leave blank to use 0.0288 mm (this format's diagonal ÷ 1500). Enter your own value for stricter or looser sharpness.

    Results

    Total depth of field

    57.7 cm

    26.1 cm in front · 31.6 cm behind

    Hyperfocal distance

    31.0 m

    Focus here for sharpness from 15.5 m to infinity

    Near limit

    2.74 m

    Far limit

    3.32 m

    Acceptably sharp zone

    Circle of confusion used: 0.0288 mm (Full frame diagonal ÷ 1500).

    How it works

    Depth of field is the range of distances in front of and behind your focus point that look acceptably sharp. It's controlled by four things: focal length, aperture (f-number), focus distance and the circle of confusion — the largest blur spot that still reads as a sharp point. This calculator uses the standard thin-lens equations found in most depth-of-field tables.

    The formulas

    With focal length f, f-number N, circle of confusion c and focus distance s (all in the same units):

    • Hyperfocal distance H = f² ÷ (N × c) + f
    • Near limit = s × (H − f) ÷ (H + s − 2f)
    • Far limit = s × (H − f) ÷ (H − s), or infinity when s is at or beyond H
    • Total depth of field = far limit − near limit

    Worked examples

    SetupNearFarTotalHyperfocal
    Full frame, 50 mm, f/2.8, focused at 3 m2.74 m3.32 m57.7 cm31.0 m
    Full frame, 35 mm, f/8, focused at 3 m1.92 m6.80 m4.87 m5.34 m
    Super 35, 50 mm, f/2.8, focused at 3 m2.81 m3.22 m41.3 cm43.1 m
    50 mm, f/2.8, focused at 10 ft, c = 0.03 mm9.08 ft11.1 ft2.04 ft97.8 ft

    Stopping down from f/2.8 to f/8 (with a wider lens) turns a few tens of centimetres of sharpness into several metres — which is why interviews at f/2 and landscapes at f/8 look so different.

    Sensor presets and circle of confusion

    Each preset's circle of confusion is its image diagonal ÷ 1500, a common modern convention. Traditional tables vary: many quote 0.030 mm for full frame, and motion-picture tables often use 0.025 mm (one thousandth of an inch) for 35 mm cine. Enter your own value in the optional field if you work to a different standard.

    FormatDiagonalCrop factorCoC used
    Full frame (36 × 24 mm)43.3 mm1×0.0288 mm
    Super 35 (24.89 × 18.66 mm)31.1 mm1.39×0.0207 mm
    APS-C — Sony, Nikon, Fujifilm (23.5 × 15.6 mm)28.2 mm1.53×0.0188 mm
    APS-C — Canon (22.3 × 14.9 mm)26.8 mm1.61×0.0179 mm
    Micro Four Thirds (17.3 × 13.0 mm)21.6 mm2×0.0144 mm
    1-inch type (13.2 × 8.8 mm)15.9 mm2.73×0.0106 mm
    Super 16 (12.52 × 7.41 mm)14.5 mm2.97×0.0097 mm
    Medium format 44 × 33 (43.8 × 32.9 mm)54.8 mm0.79×0.0365 mm

    Sensor sizes are nominal. Real cameras differ slightly, and many crop the sensor in certain video modes — if yours does, choose the format closest to the area actually recorded, or enter a custom circle of confusion.

    Assumptions and limitations

    • “Acceptably sharp” is a judgement, not a physical boundary. The same shot can look sharp on a phone and soft on a cinema screen — the circle of confusion encodes that viewing assumption.
    • The thin-lens model ignores lens design details (pupil magnification, focus breathing, field curvature) and becomes unreliable at macro and very close focus distances; the calculator warns you in that range.
    • Focus distance is treated as measured to the lens. Lens distance scales and tape measures usually run from the sensor plane (the focal-plane mark), which only makes a noticeable difference at close range.
    • Diffraction softening at small apertures and anamorphic lens behaviour are not modelled.
    • Results are approximations to guide shot planning and focus pulling — always check focus on a calibrated monitor. For background blur and creative choices, see our guide to the bokeh effect.

    FAQ

    What is the hyperfocal distance?
    The closest focus distance at which everything out to infinity is still acceptably sharp. Focus there and the depth of field runs from roughly half the hyperfocal distance to infinity.
    Which circle of confusion should I use?
    There's no single correct value — it depends on how large and how closely the image will be viewed. This calculator defaults to the sensor diagonal ÷ 1500 (about 0.029 mm for full frame). Use a smaller value for big-screen projection or critical focus pulling, and a larger one for small screens.
    Why does a smaller sensor give more depth of field?
    To get the same framing, a smaller sensor needs a shorter focal length or a greater distance, and both increase depth of field. At the same focal length, f-number and distance, the smaller format's smaller circle of confusion actually gives slightly less depth of field — but a tighter field of view.
    Can I use T-stops instead of f-stops?
    Depth of field depends on the geometric f-number. A cine lens's T-stop is usually slightly slower than its f-stop, so entering the T-stop gives a close but slightly generous estimate.
    Is it free to use?
    Yes. There's no signup or account, and the calculations run entirely in your browser — nothing you type is sent to a server or an AI model.
    Can I share or save my results?
    Yes. Your inputs are saved in the page address as you type, so “Copy link” gives you a URL that reopens the calculator with the same settings. “Copy results” copies a plain-text summary.
    Get More Video Clients — free guide for video professionals
    Getting started

    Your first paying video clients — where to look first

    If you’re early in the journey, start here: realistic channels, simple outreach, and what to say when someone says “send me a quote.”

    No spam — one focused email with your download. Unsubscribe anytime. Filmmaking Lifestyle — trusted by video pros worldwide.