Worked example · Macro & extension

12mm extension tube on a 35mm close-focus lens

A 35mm lens reaches 0.25× on its own. Add a 12mm tube at marked f/4 and use a 23.6 mm APS-C sensor width.

See the worked calculation

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.5929 ×
Effective aperture
f/6.37
Bellows light loss
1.34 stops
Estimated working clearance
67.04 mm
Principal plane to subject
94.04 mm
Object field width
39.81 mm
Airy disk diameter
8.55 µm
Airy disk across pixels
1.99 px
Marked aperture for 2 px Airy disk
f/4.02
Macro geometry
Macro magnification 0.59 times and Airy disk 8.55 micrometersSUBJECTIMAGE PLANE0.59× magnificationAIRY DIAMETER8.55 µm
The left schematic shows subject, lens and image plane. The rings compare the Airy diameter with one pixel pitch.

Worked calculation

  1. The tube adds about 12 ÷ 35 = 0.343×. Add the native 0.25× to get approximately 0.593×.
  2. Effective aperture is 4 × 1.593 ≈ f/6.37.
  3. Subject width is about 23.6 ÷ 0.593 = 39.8 mm.

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 assume this 35mm lens stays near 0.59× at all focus-ring positions?

The estimate applies at the native 0.25× setting. Turning toward infinity changes the native contribution and can change effective focal length.

How can I check magnification after fitting the tube?

Photograph a millimeter scale square to the sensor. Divide the active sensor width by the width of the scale visible across the frame.