1. Home
  2. Image tools
  3. Macro & Extension Tube Calculator

Macro & Extension Tube Calculator

Extension tubes turn any lens into a macro lens. See how close they take you, and how much light you lose as the lens moves away from the sensor.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Macro & Extension Tube Calculator

  1. Enter the focal length and the extension (or the magnification you want).
  2. Set the aperture and, for asymmetric lenses, the pupil magnification.
  3. Read magnification, effective aperture and the shutter to use.

Features

  • Magnification from extension, or extension for a magnification
  • Effective f-number with pupil magnification
  • Light loss in stops
  • Diffraction warning

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Macro & Extension Tube Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Results come from standard optical formulas; real lenses, filters and conditions differ slightly, so check the first shot and adjust.

Guide

Extension tubes and bellows: magnification, effective aperture and light loss

Extension tubes and bellows move a lens farther from the sensor, so it focuses closer and magnifies more. They are an inexpensive way into macro photography, but they also cost light and change the effective aperture. This calculator shows the magnification you will get, or the extension you need, plus the exposure and sharpness consequences.

Magnification from extension

For a lens focused at infinity, magnification equals extension divided by focal length. A 25 mm tube on a 50 mm lens gives 0.5×, half life size; 50 mm of extension gives 1:1, life size. The same tube adds much less magnification on a long lens: 25 mm on a 100 mm lens gives only 0.25×. If the lens is already focused closer, enter its own magnification at that setting and the two are combined.

Extension for a target magnification

Choose “I want a magnification” and enter, for example, 1 for life size. The calculator gives the extension needed. A common tube set of 12, 20 and 36 mm totals 68 mm, which gives about 1.36× on a 50 mm lens.

Effective aperture

As the lens moves away from the sensor, the light spreads over a larger area, so the effective aperture becomes smaller than the number set on the lens. It equals the set f-number times one plus magnification divided by pupil magnification. At 1:1 with a symmetric lens, f/8 behaves like f/16.

Pupil magnification

Lenses are not all symmetric. Telephoto designs have a pupil magnification below 1 and lose more light at the same magnification; retrofocus wide-angles have values above 1 and lose less. If you know your lens’s value, enter it; otherwise 1 is a reasonable starting point.

Light loss and shutter speed

The bellows factor is the square of the ratio of effective to set aperture, shown in stops. If you meter with a handheld meter or calculate flash exposure, add that correction. The calculator gives the shutter speed to use, from the metered time without extension. With through-the-lens metering the camera compensates automatically.

Diffraction

At high magnification, effective apertures quickly reach f/22 and beyond, where diffraction softens fine detail. The calculator warns when that happens. Open the lens up, accept a thinner zone of sharpness, or use focus stacking, combining several shots focused at different depths.

Practical tips

Use a tripod and a focusing rail, since small movements change focus dramatically. Focus by moving the camera rather than the focus ring. Use flash or continuous light, because light loss and small apertures demand a lot of it. Manual lenses with an aperture ring are easiest on tubes without electronic contacts.

Tubes versus a macro lens

A dedicated macro lens focuses to 1:1 on its own, keeps autofocus and is corrected for close distances. Tubes are cheaper, lighter and work with lenses you already own, but optical quality depends on the lens: normal primes such as a 50 mm usually do well, while zooms can soften at the edges.

For flash power at close distances, use the Flash Exposure Calculator. For depth of field at normal distances, the Depth of Field Calculator helps. To sharpen macro shots after stacking, try Sharpen Image.

Checked against the current version of the Macro & Extension Tube Calculator on .

Frequently asked questions

How much magnification does a 68 mm tube set give on a 50 mm lens?

About 1.36× when the lens is set to infinity, more than life size. At f/8 the effective aperture becomes about f/19, roughly 2.5 stops less light.

Do I need the exposure correction with in-camera metering?

No. A through-the-lens meter already sees the reduced light. The correction matters for handheld meters, flash calculations and for knowing how diffraction will affect sharpness.

Do I need exposure compensation with extension tubes?

Not when the camera meters through the lens: it already sees the dimmer image. You do need it with a handheld meter, studio flash calculated by guide number, or a film camera without TTL metering.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.