Audited ·Last updated 28 Jul 2026·8 citations·Tier 2·0 uses

Lens Magnification Calculator

Free lens magnification calculator. Get the reproduction ratio, working distance, subject coverage, effective f-number and stops lost for any macro setup.

Lens Magnification Calculator

What do you know?
Sensor format
Only used when the format above is set to Custom. Take the imaging-area width from your camera's specification sheet.
mm
Only used when the format above is set to Custom. Required alongside the width so a half-filled custom format is caught rather than silently accepted.
mm
The focal length engraved on the lens, in millimetres. Used in all three modes: it sets the magnification directly in extension-tube mode and the working distance in the other two.
mm
The f-number set on the lens — type 8 for f/8. Close up, this is not the aperture the light behaves like, which is exactly what the effective f-number output is for.
f/
Used in working-distance mode. In millimetres, and measured from the lens, not the sensor plane — camera focus scales measure from the sensor, so subtract the lens length plus the flange distance if you are reading one.
mm
Used in subject-size mode. How wide the real thing is: 36 mm gives life size on full frame, a honeybee is about 12 mm, a postage stamp about 22 mm.
mm
Used in extension-tube mode. Canon's tubes are 12 mm and 25 mm; typical third-party sets are 12, 20 and 36 mm and can be stacked. The result is the magnification with the lens at infinity focus.
mm
Magnification (m)
0.25
Image size on the sensor divided by real subject size. 1.0 is life size, 0.5 is half life size, 2.0 is twice life size. It is a property of the lens and the distance, not of the sensor behind it.
Reproduction ratio
1:4
Subject width across the frame
144 mm
Lens-to-subject distance
500 mm
Lens-to-sensor distance
125 mm
Effective f-number
f/10
Light lost
0.6439 stops

Background.

Magnification is the number that actually matters in close-up photography. Not the focal length, not the minimum focus distance printed on the barrel — the ratio between how big something is in life and how big its image is on the sensor. This calculator gives you that ratio three ways, and then tells you the things that follow from it: how far you have to be, how much of the subject fills the frame, what the aperture really behaves like, and how much light you have quietly lost.

Pick your route in. If you know how close you can physically get — a shy insect, a display case, a lens hood that keeps casting a shadow — start from the working distance. If you know how big the subject is and it has to fill the frame, start from the subject width. If you already own a set of extension tubes and want to know what they buy you, start there. All three routes converge on the same geometry.

Two of the outputs are the ones people come here for. The first is the reproduction ratio in the notation lenses are sold in: 1:1 for life size, 1:2 for half, 2:1 for twice. The second is the effective f-number, and it is the one that catches people out. As a lens focuses closer it has to move further from the sensor, which spreads the same cone of light over a longer throw, so the aperture stops behaving like the number engraved on the ring. At 1:1 it behaves like two stops smaller: your f/8 is really f/16. Through-the-lens metering absorbs this silently, which is why so many photographers never notice — until they use manual flash, a studio strobe or a handheld meter, and everything comes out two stops dark.

That same effective aperture is also why macro images soften sooner than expected. Diffraction depends on the effective f-number, not the marked one, so an f/11 setting at 1:1 is diffracting like f/22 and the whole frame goes soft while the depth of field you were chasing barely improves. Combined with the fact that depth of field at high magnification is measured in millimetres, this is the reason focus stacking became standard practice rather than an exotic technique.

The working distance output tends to be the surprise. It is u = f(1 + m)/m, which collapses fast: a 100 mm lens at 1:1 works at 200 mm from the front principal plane, and a 50 mm lens at 1:1 works at 100 mm — close enough that the lens itself shades the subject. That is the whole reason 90 mm, 100 mm and 105 mm macro lenses dominate the category and why 180 mm and 200 mm macros exist for insects.

One honest limit. Everything here is a thin-lens model with a symmetric pupil, and real macro lenses are neither. Fujifilm's XF80mm Macro reaches 1:1 at a published 25 cm minimum focus distance while this model predicts 32 cm from sensor to subject, because internally-focusing lenses shorten their focal length as they focus closer. Treat the geometry as a planning figure accurate to a few centimetres, and the ratios and light losses as reliable.

Below the widget you will find the derivation, three worked examples computed by hand, how the extension-tube figure compares with Canon's own published ranges, and why magnification is a lens property while subject coverage is a sensor one.

What is lens magnification calculator?

Lens magnification, also called the reproduction ratio or the imaging scale, is the transverse magnification m = v/u: the size of a subject's image on the sensor divided by its real size. A ratio of 1:1 means a 36 mm-wide object exactly spans a 36 mm-wide full-frame sensor. From the thin-lens equation 1/f = 1/u + 1/v, three equivalent expressions follow: m = f/(u − f) from a working distance, m = sensor width ÷ subject width from framing, and m = e/f for an extension tube of length e added to a lens focused at infinity. The same equation gives the geometry back: u = f(1 + m)/m and v = f(1 + m). Two photometric consequences follow. First, the effective f-number is N(1 + m/p), where p is the pupil magnification; taking p = 1 for a symmetric lens, N_eff = N(1 + m), so light loss is 2·log₂(1 + m) stops — exactly two stops at 1:1. Second, because diffraction scales with the effective f-number, close-up images diffract at a smaller aperture than the marked one. Note carefully what magnification does and does not depend on. It is a property of the lens and the distance, not of the sensor: a 100 mm lens at 500 mm gives m = 0.25 on every camera ever made. What the sensor changes is how much subject that magnification puts across the frame, which is why a Micro Four Thirds camera at 1:1 fills its frame with a 17.3 mm object while full frame needs a 36 mm one — and why "equivalent magnification" figures quoted by small-format manufacturers are framing claims, not optical ones.

How to use this calculator.

  1. Choose your starting point. Working distance is the field constraint, subject width is the framing constraint, and extension tube is the gear constraint. They all lead to the same geometry.
  2. Enter the focal length engraved on the lens. It is used in every mode — directly for extension tubes, and to convert magnification into working distance in the other two.
  3. Enter the f-number you intend to shoot at. Close up this is not the aperture the light behaves like, and the effective f-number output exists precisely to tell you the difference.
  4. In working-distance mode, enter the lens-to-subject distance in millimetres. Measure from the front of the lens if you must, but remember the model measures from the front principal plane inside it, so the real clearance in front of the glass is always less than the figure you enter.
  5. In subject-size mode, enter the real width of the thing that has to fill the frame. A honeybee is about 12 mm, a postage stamp about 22 mm, a credit card 86 mm.
  6. In extension-tube mode, enter the tube length. The result is the magnification with the lens focused at infinity — racking the lens to its own minimum focus adds more on top, which is why manufacturers publish a range.
  7. Check the effective f-number before you set a flash or a handheld meter. Through-the-lens metering already compensates; anything metered outside the lens does not, and the stops-lost figure is what you add.
  8. Use the effective f-number to decide when to stop stopping down. Once it passes about f/16 on full frame the whole frame is diffraction-limited, and further stopping down costs more sharpness than the extra depth of field returns. That is the point at which focus stacking wins.

The formula.

m = f ⁄ (u − f) = w ⁄ S = e ⁄ f · u = f(1 + m) ⁄ m · v = f(1 + m) · N_eff = N(1 + m) · stops = 2·log₂(1 + m)

Everything starts from the thin lens, 1/f = 1/u + 1/v, with the transverse magnification m = v/u.

Solving the pair for u and v in terms of m gives the two geometry outputs:

u = f (1 + m) / m v = f (1 + m)

and rearranging the first gives the working-distance route into magnification:

m = f / (u − f)

The framing route is definitional: if a subject of width S spans a sensor of width w, then m = w/S. The extension-tube route follows from v = f + e when a lens focused at infinity is pushed e millimetres further out, so m = v/u = e/f.

The two subject-coverage results are then trivial: S = w/m, and the reproduction ratio is just m written as 1:(1/m) or m:1.

The photometric part is where the useful surprise lives. The f-number is defined at infinity focus as focal length ÷ entrance pupil diameter. When the lens is extended to v = f(1 + m), the same cone of light is thrown over a longer distance, and the illuminance at the sensor falls by (1 + m)². The aperture therefore behaves as though it were

N_eff = N (1 + m)

and the light lost is 2·log₂(1 + m) stops. At m = 0.25 that is 0.64 stops. At m = 0.5 it is 1.17 stops. At m = 1 it is exactly 2 stops. At m = 5, the magnification of a Canon MP-E-class lens at full extension, it is 5.17 stops — the reason such lenses are essentially flash-only tools.

The general form is N_eff = N(1 + m/p), where p is the pupil magnification, the ratio of exit to entrance pupil diameter. This page uses p = 1, and says so, because p is not published for any consumer lens. For a true symmetric macro lens p ≈ 1 and the approximation is excellent. For a strongly retrofocus design p > 1 and the real loss is a little smaller than shown; for a telephoto design p < 1 and it is a little larger.

Two consequences worth carrying away. First, diffraction follows the effective f-number, so an f/11 setting at 1:1 diffracts like f/22 — the whole frame softens while the depth of field you were buying barely moves. Second, depth of field at a fixed magnification is very nearly independent of focal length: Zeiss put it as "The depth of field (almost) does not depend on the focal length at all but rather on the imaging scale." A 50 mm and a 100 mm macro at the same reproduction ratio and the same f-number give you the same depth. What differs is the working distance, the perspective, and how blurred the distant background becomes.

Finally, the model's boundary. Real macro lenses are not thin lenses and most of them focus internally, which shortens their focal length as they focus closer. Fujifilm's XF80mm Macro is published as reaching 1x with a minimum focus distance of 25 cm; this model at m = 1 with f = 80 mm gives u = v = 160 mm, so 320 mm from subject to sensor. The 7 cm discrepancy is the model telling you honestly where it stops. The magnification, the coverage and the light loss remain right; the distances are planning figures.

A worked example.

Example

A 100 mm macro lens on a full-frame body, working 500 mm from the subject at f/8. The magnification is m = f ÷ (u − f) = 100 ÷ 400 = 0.25, which is a reproduction ratio of 1:4 — quarter life size. On a 36 mm-wide sensor that means a subject 36 ÷ 0.25 = 144 mm across fills the frame, roughly the length of a small paperback. The geometry checks out: u = f(1 + m)/m = 100 × 1.25 ÷ 0.25 = 500 mm, which is the distance we started from, and the lens-to-sensor distance is v = f(1 + m) = 125 mm, so the lens has extended 25 mm beyond its infinity position. The effective f-number is N(1 + m) = 8 × 1.25 = f/10, and the light lost is 2·log₂(1.25) = 0.64 stops. Through-the-lens metering hides that; a handheld meter or a manual flash does not, and two thirds of a stop is a visible error. Push to life size and the numbers get dramatic. Switch to subject-size mode with a 36 mm subject on the same 100 mm lens: m = 36 ÷ 36 = 1, a 1:1 ratio, working distance u = 100 × 2 ÷ 1 = 200 mm from the front principal plane, lens-to-sensor distance also 200 mm, effective aperture 8 × 2 = f/16, and exactly 2 stops of light gone. That f/16 is why 1:1 images look softer than the settings suggest — diffraction follows the effective number, not the marked one. Now the gear question. Switch to extension-tube mode with a 50 mm lens and a 25 mm tube: m = e ÷ f = 25 ÷ 50 = 0.5, a 1:2 ratio, 72 mm of subject across the frame, a working distance of 150 mm, an effective f/12 and 1.17 stops lost. Canon's own specification for exactly that pairing — the EF 50mm f/1.8 II with the Extension Tube EF25 II — publishes a magnification range of 0.68 to 0.53. Our 0.50 is the infinity-focus end of that range, as it should be: the higher figure is the lens racked out to its own minimum focus, adding its internal extension on top of the tube's.

aperture8
sensor FormatfullFrame
subject Distance500
extension Length25
subject Width36
custom Sensor Height24
solve ForworkingDistance
custom Sensor Width36
focal Length100

Frequently asked questions.

What does 1:1 actually mean?
It means the image on the sensor is exactly the same size as the subject in life. A 36 mm-long object spans the full 36 mm width of a full-frame sensor; a 22 mm postage stamp occupies 22 mm of it. The notation is subject:image, so 1:2 is half life size — the image is half as big as the thing — and 2:1 is twice life size. A lens marketed as "macro" conventionally means it reaches 1:1 unaided, though the label is applied loosely and plenty of "macro" zooms stop at 1:3 or 1:4. The magnification is a property of the lens and the distance and does not change with the camera: 1:1 is 1:1 on every body ever made.
Why does my f/8 behave like f/16 close up?
Because the f-number is defined with the lens focused at infinity, and focusing close moves the lens further from the sensor. At magnification m the lens sits at v = f(1 + m) rather than f, so the same cone of light is spread over a longer throw and the illuminance falls by (1 + m)². The aperture therefore behaves as N_eff = N(1 + m): at 1:1 that is exactly double the marked f-number, which is two stops. Through-the-lens metering measures the light that actually arrives, so it compensates automatically and most photographers never notice. The moment you switch to a manual flash, a studio strobe or a handheld incident meter, nothing is compensating, and the stops-lost figure on this page is what you add.
Does a longer macro lens give more magnification?
No — it gives more working distance at the same magnification, which is usually what you actually want. A 50 mm and a 200 mm macro both reaching 1:1 produce identically sized images of the same subject; the 50 mm does it from 100 mm away and the 200 mm from 400 mm. That extra clearance is the difference between photographing a hoverfly and watching it leave, and it is also what stops the lens barrel from shading your own subject. Depth of field is essentially the same for both at matched magnification and f-number — Zeiss put it as "The depth of field (almost) does not depend on the focal length at all but rather on the imaging scale." What does differ is the perspective and how blurred the distant background becomes.
How much magnification does an extension tube give?
With the lens focused at infinity, m = tube length ÷ focal length. A 25 mm tube on a 50 mm lens gives 0.5, or 1:2; the same tube on a 135 mm lens gives 0.185, barely 1:5. Two rules follow: tubes work brilliantly on short lenses and barely at all on long ones, and they stack, so 12 + 25 mm on a 50 mm gets you to 0.74. Focusing the lens closer than infinity adds its own internal extension on top, which is why manufacturers publish a range — Canon's specification for the EF 50mm f/1.8 II with the EF25 II tube is 0.68 to 0.53, and the 0.53 end is the infinity-focus figure this page computes. Tubes contain no glass, so they cost no image quality, but they do cost the same light as any other extension.
Why does the working distance shrink so fast?
Because u = f(1 + m)/m has magnification in the denominator, so it falls hyperbolically. On a 100 mm lens: 1:10 works at 1100 mm, 1:4 at 500 mm, 1:2 at 300 mm and 1:1 at 200 mm. The last doubling of magnification costs you a third of your distance. Worse, the figure is measured from the lens's front principal plane, somewhere inside the barrel, so the actual clearance in front of the glass is smaller still — often only a few centimetres at 1:1 on a short lens. That is why 90 to 105 mm is the standard macro focal length, why 180 mm and 200 mm macros exist for insects, and why lens hoods usually come off for close-up work.
Does a crop sensor give me more magnification?
It gives you more subject coverage, not more magnification, and the distinction is worth being precise about. Magnification is set by the lens and the distance: a 100 mm at 500 mm is 0.25 on every camera. What changes is how much of the subject that puts across the frame — 144 mm on full frame, 94 mm on Nikon DX, 69 mm on Micro Four Thirds. So a small-sensor camera fills its frame with a smaller object at the same true magnification, which for a photographer trying to make an insect big in the frame is exactly as useful as extra magnification would be. Manufacturers exploit this by quoting "35 mm-equivalent magnification" figures, and those are honest framing claims but not optical ones.
How accurate are the distances this page gives?
The magnification, the subject coverage and the light loss are exact under the model. The distances are planning figures good to a few centimetres. The reason is that real macro lenses are neither thin nor fixed in focal length: almost all modern designs focus internally, which shortens the focal length as they focus closer. Fujifilm publishes the XF80mm Macro as reaching 1x at a minimum focus distance of 25 cm, while this model at m = 1 and f = 80 mm predicts 16 cm from lens to subject and 16 cm from lens to sensor, so 32 cm overall. The 7 cm gap is the lens no longer being an 80 mm at 1:1. Use the numbers to choose a lens and plan a setup, not to machine a rig.

References& sources.

  1. [1]Nasse, H. H. (2010). 'Depth of Field and Bokeh.' Carl Zeiss Camera Lens Division. Source for the central close-up result quoted on this page: 'The depth of field (almost) does not depend on the focal length at all but rather on the imaging scale', with the entrance-pupil reasoning behind it — 'A focal length that is twice as long creates an image of the same size from an approximately doubled distance, and with the same f-number its entrance pupil diameter is twice as large.'
  2. [2]FUJIFILM Corporation. FUJINON XF80mmF2.8 R LM OIS WR Macro Specifications. Lists 'Focal length f=80mm (122mm in 35mm format equivalent)', 'Maximum Magnification 1x' and 'Minimum Focus Distance 25cm – ∞' — the real-lens figures against which this page states the thin-lens model's 32 cm prediction and explains the difference.
  3. [3]Canon Inc. EOS R6 Product Manual, Specifications — Image Sensor. Gives the full-frame sensor size as 'Approx. 35.9×23.9 mm', the measured dimension behind the nominal 36 × 24 mm frame used for the subject-coverage output.
  4. [4]Nikon Corporation. D7500 Online Manual, Technical Notes — Specifications. Gives the Nikon DX imaging area as '23.5 × 15.7 mm CMOS sensor', the width behind the 94 mm subject-coverage figure quoted in the crop-sensor FAQ.
  5. [5]Canon Inc. EOS R7 Product Manual, Specifications. Gives the Canon APS-C sensor as 'Approx. 22.3 × 14.8 mm'.
  6. [6]OM Digital Solutions. OM SYSTEM OM-1 Mark II Specifications. Lists the imaging area as 'Aspect ratio & area 4:3 / 17.3 x 13.0 mm', the width behind the 69 mm subject-coverage figure quoted for Micro Four Thirds.
  7. [7]FUJIFILM Corporation. GFX100 II Specifications. Lists the image sensor as '43.8mm×32.9mm', the dimensions used for the medium-format preset.
  8. [8]Ray, S. F. (2002). Applied Photographic Optics: Lenses and Optical Systems for Photography, Film, Video, Electronic and Digital Imaging, 3rd ed. Focal Press. Standard reference for the effective-aperture relation N_eff = N(1 + m/p), for pupil magnification p and its effect on retrofocus and telephoto designs, and for the exposure-increase factor (1 + m)² at close focus.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 590 calculators remain free
  • No billing is enabled
Coming soon