Focal Ratio Calculator (f-number / f-stop)

Calculate f-number, focal length, aperture diameter, depth of field and exposure equivalents.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

The focal ratio (also called the f-number or f-stop) is one of the most fundamental numbers in photography, cinematography, and optics. It controls how much light the lens passes, how blurry the background is, and how sharp fine detail can be before diffraction limits resolution. This calculator solves the core relationship in three directions, adds a full depth-of-field model, and computes exposure equivalents when you change f-stops — all inside your browser, with no data ever leaving your device.

What is the focal ratio?

The focal ratio N is the ratio of a lens’s focal length f to its entrance pupil (effective aperture) diameter D:

N = f / D

A 50 mm lens opened to a 25 mm entrance pupil is f/2. The same lens stopped down to 6.25 mm is f/8. Because the area of the aperture scales as D², and image illuminance is proportional to area, the illuminance scales as 1/N²: double the f-number, quarter the light. That is why each standard “stop” in the series f/1, 1.4, 2, 2.8, 4, 5.6, 8, 11, 16, 22, 32 multiplies N by √2 — every step changes the light by exactly 2×.

How the calculator works

Focal Ratio tab — enter any two of (N, f, D) and the third is solved immediately. The result panel shows the nearest standard full-stop values, how many stops the result sits from f/1, and the Airy disc diameter for 550 nm green light using the Rayleigh diffraction formula ⌀ = 2.44 × λ × N. A schematic circle scales to show the relative aperture opening.

Depth of Field tab — uses the standard photographic DoF formulae. The hyperfocal distance is:

H = f² / (N × c) + f

where c is the circle of confusion for your sensor. Near and far limits are:

Dn = H × d / (H + d) Df = H × d / (H − d) (infinite when d ≥ H)

Pre-set CoC values are provided for full-frame 35 mm (0.030 mm), APS-C Canon (0.019 mm), APS-C Nikon/Sony (0.020 mm), Micro Four Thirds (0.015 mm), medium format GFX 50S (0.054 mm), and 1-inch sensors (0.011 mm). You can also enter a custom CoC for telescope eyepieces or large-format film.

Exposure tab — given two f-numbers N₁ and N₂ and a shutter speed t₁ at N₁, it finds the equivalent shutter speed at N₂:

t₂ = t₁ × (N₂ / N₁)²

and the relative illuminance (N₁ / N₂)², shown as a percentage.

Worked example

A 200 mm telephoto lens has a maximum aperture of 50 mm. What is the focal ratio?

  • N = f / D = 200 mm / 50 mm = f/4
  • Nearest standard stop: f/4 (exact match)
  • Airy disc at 550 nm: 2.44 × 0.00055 × 4 ≈ 5.4 μm — well below a modern 24 MP full-frame pixel pitch of roughly 6 μm, so diffraction is not yet the limiting factor

Now stop down to f/11 and focus at 3 m (3000 mm) on a full-frame body (CoC = 0.030 mm):

  • Hyperfocal distance H = 200² / (11 × 0.030) + 200 ≈ 121.4 m
  • Near limit Dn = 121 400 × 3000 / (121 400 + 3000) ≈ 2.93 m
  • Far limit Df = 121 400 × 3000 / (121 400 − 3000) ≈ 3.07 m
  • Total depth of field: about 0.14 m — typical for a long telephoto at medium distance

Switching from f/4 (t = 1/500 s) to f/11 for the above shot:

  • Stops difference = 2 × log₂(11/4) ≈ 2.93 stops
  • New shutter speed = (1/500) × (11/4)² ≈ 1/66 s (use 1/60 s in practice)
Scenariof-numberDAiry disc
50 mm, 25 mm aperturef/225 mm2.7 μm
200 mm, 50 mm aperturef/450 mm5.4 μm
400 mm, 50 mm aperturef/850 mm10.7 μm
100 mm, 3.1 mm aperturef/323.1 mm42.9 μm

Every figure updates live as you type — no server, no cookies, no tracking.

Ad placeholder (rectangle)