Optics

Macro Magnification, Bellows & Extension Tube Calculator

Check what an extension tube buys you in magnification, how much light it costs and how the resulting blur compares with your pixel pitch.

Inputs

Use 0 when the lens is focused at infinity.
Optical principal plane to front of lens or hood.

Results

Runs on your device

Total magnification
0.52 ×
Effective aperture
f/12.16
Bellows light loss
1.21 stops
Estimated working clearance
106.15 mm
Principal plane to subject
146.15 mm
Object field width
69.23 mm
Airy disk diameter
16.32 µm
Airy disk across pixels
3.8 px
Marked aperture for 2 px Airy disk
f/4.22
Macro geometry
Macro magnification 0.52 times and Airy disk 16.32 micrometersSUBJECTIMAGE PLANE0.52× magnificationAIRY DIAMETER16.32 µm
The left schematic shows subject, lens and image plane. The rings compare the Airy diameter with one pixel pitch.

How the calculation works

Magnification and clearance

M ≈ M₀ + extension ÷ f, subject distance ≈ f × (1 + 1 ÷ M)

Subtract the lens-front offset from the modeled subject distance to estimate clearance. Internal focusing changes the effective focal length and geometry.

Effective aperture and diffraction

N effective = N × (1 + M), loss = 2 × log₂(1 + M), Airy diameter = 2.44 × λ × N effective

The aperture model assumes a pupil ratio of one. Two pixels is a sampling reference for the Airy disk diameter.

Questions and answers

Can I use the lens’s reported effective aperture as marked aperture?

Use the nominal marked aperture in this calculation. Some camera systems display an already compensated value at close focus, which would double-count the effect.

Why does an extension tube tend to help a shorter focal length more?

The added magnification is approximately extension divided by focal length. Shorter lenses also tend to leave less room between the subject and lens front.