Magnification Ratio Calculator
Calculate the magnification ratio of a lens at a given subject distance — the ratio of subject image size on the sensor to actual subject size. Use it for macro photography planning to predict how large your subject will render and to choose between dedicated macro lenses, extension tubes, or close-up filters.
Last updated: May 2026
Compare with similar
About this calculator
The formula uses the thin-lens approximation: magnification = focalLength / (subjectDistance − focalLength), valid only when subjectDistance > focalLength (otherwise the lens cannot focus on the subject and the calculator returns 0). Both lengths must be in the same units (millimeters is standard). The result is the linear magnification ratio: 0.1 means the subject renders at 1/10 actual size on the sensor (1:10), 1.0 means 1:1 (life-size — the subject's real width equals its sensor projection), 2.0 means 2:1 (twice life-size). True macro by ISO 12233 definition is 1:1 or greater. Edge cases: subjectDistance ≤ focalLength returns 0 (subject is too close to focus); very large subjectDistance approaches zero magnification. The formula assumes a thin lens, which oversimplifies — real lens magnification depends on the actual front- and rear-element positions, internal focusing groups, and aspherical elements. Manufacturer specifications give the true minimum focus distance (MFD) and maximum magnification ratio for any specific lens. Typical max magnifications: standard zoom kit lens (18-55mm) 0.25–0.30× (~1:4); 50mm prime 0.15× (~1:6); dedicated macro lenses (60mm, 100mm, 150mm macro) 1.0× (1:1) at MFD; specialty macro lenses (Canon MP-E 65mm, Laowa 25mm, Mitakon Zhongyi) 2×–5× (2:1 to 5:1) without accessories. To increase magnification beyond a lens's native limit: extension tubes (move lens further from sensor), close-up filters, or teleconverters in some cases. Working distance — the distance from front element to subject at the magnification — matters for lighting setup and skittish subjects; longer focal lengths give more working distance at the same magnification.
How to use
Example 1 — 100mm macro at minimum focus. 100mm macro lens, manufacturer specifies minimum focus distance 31 cm from sensor = 310mm. Subject distance from lens (approximation): 310 − 100 (focal length offset) = 210mm. Enter focalLength 100, subjectDistance 210. Result: 100 / (210 − 100) = 100 / 110 ≈ 0.91. ✓ Close to but not exactly 1:1; many "macro" lenses do not achieve true 1:1 in the same focus position the spec sheet claims. To achieve 1:1 with this lens, add a small extension tube; or use a 1:1-rated lens like Canon RF 100mm Macro IS USM L (which truly achieves 1.4:1 native). Example 2 — 50mm standard prime, close subject. 50mm prime focused at 50 cm = 500mm subject distance. Enter focalLength 50, subjectDistance 500. Result: 50 / (500 − 50) = 50 / 450 ≈ 0.11. ✓ At 11% magnification (~1:9), a 5 cm subject (small leaf, coin) fills only ~5.5mm of the 36mm full-frame sensor — not macro by any reasonable standard. To achieve 1:1 with a 50mm lens, you would need to bring the subject to ~10cm from the lens, which requires extension tubes (most 50mm lenses cannot focus that close natively).
Frequently asked questions
What does 1:1 macro actually mean?
1:1 magnification means the subject's real-world size and its projected size on the camera sensor are equal. A bee that is 12mm long renders 12mm long on the sensor; on a full-frame 36mm sensor, the bee fills ⅓ of the frame width. On an APS-C (24mm-wide) sensor, the same bee fills ½ of the frame width — APS-C "magnifies" the image relative to full-frame because of the smaller sensor. True 1:1 is the ISO/industry standard for "macro" classification; many lenses marketed as "macro" achieve only 1:2 (half life-size). Beyond 1:1 is "supermacro" or "extreme macro," typically requiring specialized lenses (Canon MP-E 65mm, Laowa Ultra Macros), microscope objectives on extension tubes, or focus stacking with bellows. For comparison: 0.5× = half life-size (1:2), 0.25× = quarter life-size (1:4), 2× = twice life-size (2:1), 5× = five times life-size (5:1, requires very specialized rigs).
How do extension tubes and close-up filters change magnification?
Extension tubes move the lens further from the sensor, allowing closer focus and higher magnification at the cost of infinity focus (you cannot focus on distant subjects with tubes attached). The magnification gain follows: additionalMagnification = extensionLength / focalLength. A 36mm tube on a 50mm lens adds 36/50 = 0.72 magnification — a normally non-macro 50mm now achieves nearly 1:1 with that tube. Tubes work mechanically with no optics, preserving image quality. They reduce light reaching the sensor (require longer exposure or higher ISO) and amplify any focus errors due to the increased magnification. Close-up filters (sometimes called diopter filters) screw onto the front of the lens like UV filters, adding optical magnification through a positive lens element. They are simpler to use (don't affect autofocus or metering) but introduce optical aberrations (chromatic aberration, distortion) that single-element close-up filters worsen; achromat (two-element) close-up filters (Canon 500D, Marumi DHG, Raynox DCR-250) deliver much better image quality. For serious macro work, extension tubes outperform close-up filters; for casual macro, a Raynox DCR-250 attached to a kit lens delivers respectable results cheaply.
What focal length is best for macro photography?
It depends on subject type and shooting style. Short macro (50–60mm focal length, full-frame): minimum focus distance is very short (15–20 cm), so working distance is also short — fine for static subjects (jewelry, food, flat-lay product), uncomfortable for skittish insects. Medium macro (90–105mm): MFD ~30 cm, working distance ~15–20 cm — the most popular all-around macro length; works for flowers, insects, product. Long macro (150–180mm, plus 200mm specialized lenses): MFD ~40–50 cm, working distance ~25–35 cm — best for skittish insects (butterflies, dragonflies, snakes), portraits with macro option. Specialty (Canon MP-E 65mm, Laowa 25mm 2.5–5×): for extreme magnification; not general-purpose. For most photographers entering macro, 90–105mm is the right starting point. Add a 1.4× teleconverter for occasional longer reach without buying a second macro lens (image quality suffers slightly).
What are the most common macro mistakes?
The biggest is missing focus because depth of field is razor-thin at high magnification (often <1mm at 1:1 on full-frame); manual focus and focus stacking are usually necessary for serious work. The second is camera shake from using shutter speeds too slow for the magnified subject; rule of thumb at 1:1 is 1/(focal length × 2) or faster — at 100mm 1:1, 1/200 minimum, ideally 1/500. The third is using inadequate lighting; at small apertures (f/16–f/22) needed for any depth of field, natural light is rarely enough; ring flashes, twin macro flashes, or focus stacking with off-camera strobes solve this. The fourth is choosing f/22 or smaller for "more depth of field" without realizing diffraction softens the image past f/11–f/16 on most lenses; focus stack instead at f/8–f/11. The fifth is forgetting that at 1:1 magnification, you lose ~2 stops of effective aperture (f/8 set on the lens behaves like f/16 in terms of depth of field and light transmission); modern cameras auto-correct exposure but depth of field and diffraction effects still apply. The sixth is over-relying on autofocus, which often hunts or misses at high magnification; manual focus with focus peaking or magnified live view is the standard. The seventh is using extension tubes on lenses with internal focusing — the focal length effectively changes when focused close, complicating magnification math; the formula above is approximate for these cases.
When should I not use this calculator?
Skip it for non-macro use cases; most everyday photography (portrait, landscape, sports, street) does not need explicit magnification calculation — the lens spec sheet's minimum focus distance and maximum magnification are sufficient information. It is the wrong tool for telecentric optics, microscopes, and microscope objectives on extension tubes, where magnification is determined by the objective's design and tube length, not the simple thin-lens formula. Do not use it for extreme close-up rigs (Canon MP-E 65mm, microscope-objective adapters, focus-stacking rails); these use specialized magnification math and the simple formula misrepresents performance. For lens marketing claims, trust the manufacturer's specified maximum magnification (it accounts for the lens's actual optical design) rather than calculating from focal length and MFD. And for tilt-shift lenses focused close, the formula does not capture the tilt effects on apparent magnification. For zoom lenses focused close, the focal length specification often varies with focus distance (focal length shortens as you focus closer — "focus breathing"), making the formula imprecise; consult the lens's magnification chart by zoom position and focus distance.