Metlivi Blog

How to Calculate Macro Magnification with Extension Tubes and Crop Sensors

To estimate macro magnification with an extension tube, use magnification ≈ native magnification + tube length ÷ lens focal length. Keep both lengths in millimeters. Crop factor affects framing; it does not increase the optical reproduction ratio. The extension calculation also needs care when a lens changes focal length during focusing. Bill Claff’s optical explanation, Nikon’s explanation of crop factor.

This guide helps you choose an extension length for photographing a small object, predict how much of it will fit in the frame, and measure the actual result. The worked examples use explicitly illustrative equipment specifications.

October 28, 20267 min readBy Metlivi Editorial Team
Section 1

What does macro magnification measure?

Magnification, also called reproduction ratio, compares the physical size of the image on the sensor with the actual subject size. At 1:1, or 1×, a 10 mm subject forms a 10 mm image on the sensor. At 1:2, or 0.5×, its image measures 5 mm. Nikon describes life-size reproduction in these sensor-plane terms. Nikon: Experimenting with Macro Photography at Home.

The defining calculation is m = image size on sensor ÷ actual subject size. Screen enlargement is a separate quantity: zooming into a photograph on a monitor changes its displayed size without changing the reproduction ratio at capture.

That distinction matters when comparing cameras. A subject image measuring 10 mm across occupies a larger proportion of a smaller sensor, even though its physical image size remains 10 mm. This follows directly from the reproduction-ratio definition.

Section 2

How do you calculate magnification with an extension tube?

An extension tube is a hollow spacer between the camera and lens. Moving the lens farther from the sensor enables closer focusing and increased magnification. Tubes contain no additional optical elements, and compatible tubes can be stacked; add their stated extension lengths when calculating the total. Cambridge in Colour: Macro Extension Tubes & Close-up Lenses.

Use m ≈ m₀ + E/f, where:

  • m is the estimated magnification with the tube.
  • m₀ is the lens’s magnification without a tube at the selected focus setting.
  • E is the added extension in millimeters.
  • f is the lens focal length at that focus setting, in millimeters.

Claff derives this relationship from the lens’s image distance and focal length. How Extension Tubes Affect Magnification.

For an illustrative 50 mm lens with 0.20× native maximum magnification, adding 20 mm of extension gives m ≈ 0.20 + 20/50 = 0.60×. This estimates the result with the lens at its closest-focus setting, assuming its relevant focal length remains approximately 50 mm.

If you instead set the lens to infinity, its native magnification approaches zero, so the simplified estimate becomes m ≈ E/f. The same 20 mm tube on that 50 mm lens would then yield approximately 0.40×. The focus-ring position therefore belongs in your calculation; the tube length alone does not determine the result.

Use the lens’s actual focal length in this formula. For a lens marked 50 mm, do not substitute its crop-adjusted equivalent focal length.

Section 3

How does a crop sensor change macro framing?

Nikon explains that a smaller sensor records a tighter central portion of the lens’s projected image without physically altering the lens’s optical characteristics. Consequently, changing sensor size while preserving the optical setup leaves reproduction ratio unchanged. Nikon: What Is Crop Factor and How Do I Calculate It?.

To calculate the subject width that fits across the frame, rearrange the reproduction-ratio definition: subject-field width = active sensor width ÷ magnification. Use the camera’s documented sensor width and the image area actually recorded. The following comparison uses hypothetical 36 mm-wide and 24 mm-wide sensors:

Optical magnification Field width on a 36 mm-wide sensor Field width on a 24 mm-wide sensor
0.50× 72 mm 48 mm
0.60× 60 mm 40 mm
1.00× 36 mm 24 mm

At 0.60×, a 20 mm-wide object projects a 12 mm-wide image. It occupies one-third of the 36 mm sensor’s width and one-half of the 24 mm sensor’s width. The smaller sensor produces tighter framing at the same optical magnification.

For a horizontal framing comparison, calculate full-frame-equivalent magnification = m × 36/sensor width. Thus 0.60× on the illustrative 24 mm-wide sensor gives the same horizontal subject coverage as 0.90× on a 36 mm-wide sensor. Label that value as a framing equivalent; the optical magnification remains 0.60×.

Using sensor width directly also avoids ambiguity when comparing formats with different aspect ratios. Calculate vertical coverage separately as sensor height ÷ m whenever the subject’s height could determine whether it fits.

Section 4

How much extension will fit your subject in the frame?

Start with the composition you want. Let W be the subject’s actual width, S the sensor width, and p the fraction of frame width you want the subject to occupy. All physical dimensions must use the same units.

From the reproduction-ratio definition, the required sensor-image width is p × S, so target magnification = p × S/W. Rearranging the extension estimate then gives required extension ≈ f × (target magnification − m₀).

Suppose you want a 30 mm-wide decorative object to occupy 80% of a hypothetical 24 mm-wide sensor’s frame. You have the illustrative 50 mm lens with 0.20× native maximum magnification:

  1. Target magnification = 0.80 × 24/30 = 0.64×.
  2. Required extension ≈ 50 × (0.64 − 0.20) = 22 mm.
  3. Predicted field width = 24/0.64 = 37.5 mm.
  4. Subject occupancy = 30/37.5 = 80%.

A nearby available extension length gives a starting point. With the same assumptions, these calculations show why fitting every tube you own may give an unnecessarily tight composition:

Added extension Estimated magnification Field width on the illustrative 24 mm sensor Does the 30 mm subject fit horizontally?
0 mm 0.20× 120 mm Yes, with substantial surrounding space
12 mm 0.44× 54.5 mm Yes
20 mm 0.60× 40 mm Yes, occupying 75% of the width
36 mm 0.92× 26.1 mm No, at this focus setting

If the calculation returns zero or negative extension, the requested composition needs no additional magnification at the selected native setting. Try the bare lens and adjust focus and camera position. If you change focus, recalculate or measure the resulting ratio.

Section 5

When does the simple extension formula become inaccurate?

The main limitation is using the focal length printed on the lens as though it applied unchanged at every focusing distance. Claff’s original analysis notes that focal length commonly decreases during close focusing and demonstrates how using the close-focus focal length changes the predicted extension gain. How Extension Tubes Affect Magnification.

Treat calculations using the marked focal length as planning estimates. When the manufacturer supplies a magnification table for your exact lens and tube combination, use that information to refine the prediction.

Canon’s EF50mm f/1.8 STM instructions provide a useful real example. They list native maximum magnification as 0.21×, magnification with the EF12 II as 0.24–0.45×, and magnification with the EF25 II as 0.53–0.74×. These are ranges across focus settings. Canon EF50mm f/1.8 STM Instructions, extension-tube specifications.

Using the marked 50 mm focal length predicts a maximum of 0.21 + 25/50 = 0.71× with 25 mm extension, compared with Canon’s listed 0.74×. This comparison illustrates why an approximate formula should not override a documented specification.

Magnification also does not tell you the space available between the subject and the front of the lens. Assess that separately when arranging your composition and lighting. Extension tubes reduce the range of distances at which the lens can focus, including loss of distant focus. Cambridge in Colour: Extension Tube Considerations.

Section 6

How can you measure the actual magnification with a ruler?

A ruler photograph checks the result without requiring the lens’s close-focus focal length. The method below is derived from the reproduction-ratio definition: if a known subject width spans the complete recorded sensor width, magnification is their ratio.

  1. Find your camera’s physical sensor width in its official specifications. Use the active width if recording a cropped image area.
  2. Mount the chosen tube and lens, select a focal length, and set the focus position you want to test.
  3. Place a millimeter ruler parallel to the sensor plane, with its scale running horizontally through the frame center.
  4. Move the camera or ruler until the scale is sharply focused. Keep the focus setting unchanged during this adjustment.
  5. Capture the full frame and read the ruler distance between the left and right image edges. Avoid a subsequently cropped or perspective-corrected version.
  6. Calculate measured magnification = active sensor width ÷ ruler span.

For example, if a hypothetical 24 mm-wide sensor records exactly 30 mm of ruler across the frame, m = 24/30 = 0.80×. That is the measured optical reproduction ratio. Its horizontal full-frame framing equivalent is 0.80 × 36/24 = 1.20×.

Keep the ruler parallel to the sensor and read complete millimeter intervals carefully. A tilted scale or an altered image crop introduces measurement error. Record the tube length, focal length, focus setting, ruler span, and calculated ratio so you can reproduce the setup.

Use the extension formula to select a starting combination, the sensor dimensions to predict composition, and the ruler photograph to establish the actual ratio. Once the measured field of view accommodates your subject and the surrounding space you want, replace the ruler with the subject and keep those optical settings for the photograph.

Section 7

Sources

Related reading

Keep exploring this topic