Home / Lens Depth of Field Calculator

Lens Depth of Field Calculator

Depth of field is the range around the focused subject distance that falls within a chosen sharpness criterion. Focal length, aperture and focus distance combine with an assumed circle of confusion to estimate that range.

How to use this calculator

  1. Enter physical focal length, f-number, focus distance and a circle-of-confusion value appropriate to your format.
  2. Check that units, denominator definitions and time periods are consistent before comparing scenarios.
  3. Run a second scenario when an assumption is uncertain.

Formula used by lens depth of field calculator calculator

Hyperfocal distance H ≈ f² / (N × circle of confusion) + f; near/far limits use a simplified thin-lens depth-of-field relationship.

  • Hyperfocal distance H ≈ f² / (N × circle of confusion) + f; near/far limits use a simplified thin-lens depth-of-field relationship.
  • Real lens focus breathing, pupil magnification, sensor format and display conditions can change perceived depth of field. The tool uses a simplified thin-lens model.
  • The tool performs arithmetic on the values entered and does not validate assumptions against outside records.

Worked examples

Worked example

50 mm lens at f/2.8 focused at 3 m, using a 0.03 mm circle of confusion.

The hyperfocal distance is approximately 29.9 m; the near and far limits are calculated from the thin-lens depth-of-field relations.

The near and far focus limits are estimates for the entered optical assumptions.

Understanding the result

Depth of field is the range around the focused subject distance that falls within a chosen sharpness criterion. Focal length, aperture and focus distance combine with an assumed circle of confusion to estimate that range.

Real lens focus breathing, pupil magnification, sensor format and display conditions can change perceived depth of field. The tool uses a simplified thin-lens model.

Important notes

Real lens focus breathing, pupil magnification, sensor format and display conditions can change perceived depth of field. The tool uses a simplified thin-lens model.

Treat this output as an estimate tied to the stated inputs. For regulated, safety-critical, tax or professional decisions, verify applicable official guidance and specifications.

Frequently asked questions

Why ask for circle of confusion?

It defines the acceptable blur criterion used to estimate depth of field.

Does this predict autofocus accuracy?

No. It estimates a geometric sharpness range, not autofocus or lens performance.

How should I interpret the result?

Real lens focus breathing, pupil magnification, sensor format and display conditions can change perceived depth of field. The tool uses a simplified thin-lens model.

Related calculators

  • Battery Depth of Discharge Calculator — Estimate usable energy between starting and reserve state of charge for a battery of known capacity and discharge efficiency.
  • Thin Lens Focal Length Calculator — Calculate focal length and optical power from positive object and real-image distances using the thin-lens relation.
  • EV Charging Loss Calculator — Estimate charging energy loss and wall-to-battery efficiency from electricity drawn and energy added to the battery.
  • Solar Battery Recharge Time Calculator — Estimate solar charging time from battery capacity, current state of charge, average available PV power and system efficiency.
  • API Latency Percentile Calculator — Calculate median, p95 and p99 latency estimates from a list of measured request durations in milliseconds.
  • API Payload Size Calculator — Estimate daily and monthly transfer volume from request count and average payload size.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.
  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • Salary — Understand salary, hourly pay, annual gross pay estimates, and the assumptions behind salary conversions.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • Thin Lens Focal Length Calculator — Calculate focal length and optical power from positive object and real-image distances using the thin-lens relation.
  • Battery Depth of Discharge Calculator — Estimate usable energy between starting and reserve state of charge for a battery of known capacity and discharge efficiency.
  • EV Charging Loss Calculator — Estimate charging energy loss and wall-to-battery efficiency from electricity drawn and energy added to the battery.
  • Solar Battery Recharge Time Calculator — Estimate solar charging time from battery capacity, current state of charge, average available PV power and system efficiency.
  • API Latency Percentile Calculator — Calculate median, p95 and p99 latency estimates from a list of measured request durations in milliseconds.
  • API Payload Size Calculator — Estimate daily and monthly transfer volume from request count and average payload size.
Browse by categoryScience & Electronics CalculatorsFinancial CalculatorsHealth & Fitness CalculatorsBusiness CalculatorsConstruction CalculatorsDate & Time Calculators

Task collections

  • Science & Electronics Calculators — Free science and electronics calculators for projectile motion, force, buoyancy, fluid pressure, Reynolds number, heat transfer, capacitors, RC time constants, resistance, and electrical relationships.
  • Everyday Money Calculators — Free money and operating calculators for salary, overtime, VAT, pricing, budgets, fuel costs, receivables and payables days, acquisition payback, staffing, email-list growth, and creator RPM estimates.
  • Business & Work Calculators — Free business and work calculators for ROI, markup, break-even, sales commission, DSO/DPO, customer-acquisition payback, weighted sales pipelines, labour cost per unit, FTE staffing, email growth, and creator RPM.
  • Health & Fitness Calculators — Free health and fitness calculators for BMI, BMR, calories, macros, body fat, lean body mass, heart-rate training zones, hydration, and running pace.

Related guides

  • How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.
  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • How to Calculate Age from a Date of Birth — Learn how exact age is calculated using years, months, and days rather than a rough year difference.

Related terms

  • Basal Metabolic Rate (BMR) — Learn what basal metabolic rate means and how BMR estimates are used in calorie planning.
  • Markup — Learn what markup means, how markup is calculated from cost and selling price, and how it differs from margin.
  • Salary — Understand salary, hourly pay, annual gross pay estimates, and the assumptions behind salary conversions.

Useful conversions

  • °C to °F — Convert Celsius to Fahrenheit with a free temperature converter, formula, examples, and common temperatures.
  • °F to °C — Convert Fahrenheit to Celsius with a free temperature converter, formula, examples, and common temperatures.
  • cm to feet — Convert centimeters to feet with a free cm to feet converter, formula, examples, and a quick reference table.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.