ForHosting KIT · Science

Depth of field far limit calculator

See how far behind your subject sharpness reaches: a 50 mm lens at f/8 focused at 5 m stays acceptably sharp to a point between 9 and 10 m away, and the result tells you when focus carries all the way to infinity. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Focal length mm
50
F number
8
Focus distance m
5
Circle of confusion mm
0.03
You get
Hyperfocal distance m
10.4666666667 m
Far limit m
9.5274390244

This depth of field far limit calculator finds the most distant point that remains acceptably sharp when a lens is focused at a chosen distance. Enter focal length in millimetres, aperture as an f-number, focus distance in metres, and circle of confusion in millimetres. The result reports the far limit in metres, the hyperfocal distance used by the calculation, and whether acceptable focus continues to infinity. It is useful when the near limit and total depth of field are not needed and the practical question is simply whether a distant subject or background falls inside the acceptable focus region.

Understand what the far focus limit represents

The far depth of field limit is the most distant plane that appears acceptably sharp under a selected circle-of-confusion criterion. It is not the exact distance at which an image suddenly becomes blurry; sharpness changes continuously, while the circle of confusion creates a practical threshold for viewing and printing. The calculator first finds hyperfocal distance H using focal length f, f-number N, and circle of confusion c: H equals f squared divided by N times c, plus f.

When the focus distance s is less than H, the far limit Df equals s times H minus f, divided by H minus s. All lengths inside that equation use millimetres, so the supplied focus distance is converted from metres before calculation. If s reaches or exceeds H, the denominator would be zero or negative and the conventional photographic result is infinity.

Remember that acceptable sharpness depends on the chosen c value, final enlargement, viewing distance, eyesight, sensor sampling, and artistic intent. This calculator applies the standard geometric model consistently; it does not claim that every lens, sensor, or display produces an identical perceptual boundary. Use the number as a planning threshold and verify critical work with actual captures at the intended output size.

Apply the result to real photographic decisions

Use the far limit when the main planning question concerns background coverage. A portrait photographer can check whether a second person standing behind the focus plane remains within acceptable focus. An event photographer can compare the calculated limit with the back row of a group.

A landscape photographer can test whether a selected foreground focus distance, aperture, and focal length carry acceptable focus to infinity. To widen the far reach, photographers commonly stop down to a larger f-number, use a shorter focal length, or move the focus plane farther away, though each choice has tradeoffs. Stopping down may increase diffraction, a shorter lens changes framing and perspective choices, and focusing farther away moves the near boundary even though this capability deliberately reports only the far boundary.

Near-hyperfocal results are especially sensitive: as focus approaches H from below, the denominator H minus s becomes small and the computed far limit grows rapidly. Small changes in measured distance or circle of confusion can then produce large changes in the result. Do not confuse this tool with a complete depth of field calculator, a diffraction calculator, or a lens simulator.

It answers one narrow question with transparent arithmetic. For critical cinematography, focus pulling, macro work, tilt movements, or lenses with substantial focus breathing, treat the result as a starting point because the conventional thin-lens assumptions may not describe the whole optical system. Measure from the camera’s focal plane when possible, keep units consistent, and test the intended aperture on the actual camera before a non-repeatable shoot.

Group portrait coverage

Check whether people behind the focused row remain inside the acceptable far focus boundary at the selected aperture.

Landscape infinity planning

Determine whether a foreground focus choice reaches infinity or ends at a finite far limit.

What is the depth of field far limit?

It is the farthest distance considered acceptably sharp for the chosen focal length, aperture, focus distance, and circle of confusion.

Why can the far limit be infinite?

When focus distance is at or beyond the hyperfocal distance, the standard model says acceptable focus extends to infinity.

Which units should I enter?

Use millimetres for focal length and circle of confusion, metres for focus distance, and the plain aperture ratio for f-number.

How can I push the far limit of sharpness farther away?

Choose a larger f-number, a shorter focal length or a farther focus distance. Each choice has a tradeoff: stopping down can add diffraction softness, and a shorter lens changes your framing.

What circle of confusion value should I enter?

A commonly quoted planning value for full-frame cameras is 0.03 mm. A stricter or looser value can make sense depending on print size, viewing distance and how critical the work is.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/optics/depth-of-field-far

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/optics/depth-of-field-far \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"focal_length_mm":50,"f_number":8,"focus_distance_m":5,"circle_of_confusion_mm":0.03}'
{
  "focal_length_mm": 50,
  "f_number": 8,
  "focus_distance_m": 5,
  "circle_of_confusion_mm": 0.03
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "optics.depth_of_field_far",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Understand what the far focus limit represents

The response therefore uses a clear Boolean flag and a null far-limit value instead of emitting JavaScript Infinity, which is not valid JSON.

Enter consistent inputs and interpret the response

A commonly quoted full-frame planning value is 0.03 mm, but your workflow may justify a stricter or looser criterion. The formula field documents exactly which equations were applied. Provide four positive finite values. focal_length_mm is the marked lens focal length, such as 24, 50, or 200. f_number is the aperture ratio, such as 2.8, 5.6, or 11; enter 8 for f/8, not the physical aperture diameter. focus_distance_m is the lens-to-focus-plane distance in metres and must be greater than the focal length after units are aligned. circle_of_confusion_mm is the acceptable blur-circle diameter in millimetres. The successful response echoes normalized inputs, gives hyperfocal_distance_m, and reports far_limit_m. When far_infinite is false, far_limit_m is a finite distance beyond the selected focus plane. When far_infinite is true, far_limit_m is null and the conventional model says the acceptable region extends indefinitely toward the horizon. Inputs may use the declared aliases, although canonical field names make integrations easier to read and maintain. Missing, zero, negative, non-finite, excessively large, or physically unsuitable values return invalid_input. That failure is preferable to silently correcting a unit mistake. A successful API request costs $0.002; failed validation is represented as an error rather than a misleading optical answer.

Camera app regression tests

Generate deterministic far-limit and hyperfocal values for validating photography software calculations.

What does a null far_limit_m mean?

It accompanies far_infinite set to true and represents infinity in valid JSON rather than a missing calculation.

How much does the calculator cost?

The browser calculator is free. A successful API request costs $0.002; invalid inputs return an error.

Read the full KIT documentation →