Calculate a lens’s f-stop from focal length and aperture diameter, or solve for aperture or focal length, with the nearest full stop and an f-stop chart.

The aperture opening as seen through the front of the lens, not the front glass size.

Compare apertures
Another f-number to compare light and stops. Blank skips it.

Calculator Functions

FunctionWhat it doesWhat it requires
F-numberFinds the f-number (f-stop) of a lens, N = f ÷ DRequires the focal length and the aperture (entrance-pupil) diameter
Aperture diameterFinds the aperture diameter at a given f-number, D = f ÷ NRequires the focal length, the f-number and a result unit
Focal lengthFinds the focal length from an aperture diameter and f-number, f = N × DRequires the aperture (entrance-pupil) diameter, the f-number and a result unit

Lengths can be entered in mm, cm or inches. Every result also lists the entrance-pupil area, the nearest full stop and an f-stop chart of aperture diameters from f/1 to f/32 at that focal length. An optional comparison f-number shows how much light a second aperture passes and how many stops apart the two are.

F-Stop Formula

N = f ÷ D [1]
NF-number, written f/N
fFocal length of the lens
DDiameter of the entrance pupil: the aperture opening as seen through the front of the lens, not the size of the front glass

F-number

A 50 mm lens with a 25 mm aperture opening is 50 ÷ 25 = f/2.

Aperture diameter

D = f ÷ N

A 50 mm lens set to f/2.8 has an opening of 50 ÷ 2.8 = 17.857 mm.

Focal length

f = N × D

A 25 mm opening at f/4 belongs to a 4 × 25 = 100 mm lens.

F-Stop Chart

The numbers marked on a lens usually rise by multiples of √2. Each step of √2 halves the aperture area, so each full stop passes half the light of the one before [1]. The marked numbers are rounded from the exact values.

Full stopExact f-numberLight compared with f/1
f/111
f/1.41.4141/2
f/221/4
f/2.82.8281/8
f/441/16
f/5.65.6571/32
f/881/64
f/1111.3141/128
f/16161/256
f/2222.6271/512
f/32321/1024

Comparing two apertures

stops = 2 × log₂(N₂ ÷ N)

The light passed by a second aperture N₂, compared with the current one, is (N ÷ N₂)². Going from f/2 to f/4 passes (2 ÷ 4)² = 25% of the light, which is 2 stops darker. The entrance-pupil area is π × (D ÷ 2)².

Limits of This Estimate

  • This is the geometric f-number, which is defined for a lens focused at infinity [1]. At close focusing distances the working f-number is higher than the marked one.
  • The comparison assumes the same shutter speed and scene, and equal light loss inside both lenses.
  • The nearest full stop is the closest one on a logarithmic scale, so f/1.8 rounds to f/2 and not to f/1.4.

Sources

  1. Edmund Optics, System Throughput, f/#, and Numerical Aperture (Imaging Resource Guide, Section 2.1): f-number formula, √2 steps and the infinity-focus condition