Lens Magnification
Image magnification from focal length and subject distance.
Formula
Live Calculator
MembersVariables
Example
f=100 mm, s=300 mm: M = 100/200 = 0.5×
How it works
This formula tells you how large a subject’s image forms on the sensor relative to the real subject size when using a thin lens. It comes from the standard lens geometry: as the subject moves closer to the focal length, the image distance grows quickly, so magnification rises sharply; if the subject is far away compared with the focal length, magnification becomes small. The quantity is dimensionless, and the result is often used as a size ratio rather than a percentage.
When to use it
Use this when you need to estimate how big a subject will appear on a sensor or film at a given shooting distance, especially in close-up, macro, or product photography. It is also useful for comparing lenses or planning framing before taking the shot.
Worked example, step by step
Given: f = 85 mm, s = 425 mm Step 1: Substitute into the formula M = f / (s - f) M = 85 / (425 - 85) Step 2: Calculate the denominator M = 85 / 340 Step 3: Divide M = 0.25 Final answer: The lens magnification is 0.25×, meaning the image on the sensor is one-quarter of the subject's real size.
Common mistakes to avoid
- Using subject distance in metres without converting it to millimetres first
- Using the formula when the subject distance is measured from the sensor plane but then mixing it with lens-to-subject distance instead
- Forgetting that the result is a ratio, so 0.5 means 0.5× magnification, not 50×
Did You Know?
True macro lenses reach 1:1 magnification — the subject is projected life-size onto the sensor.
Share this formula
More in Photography & Imaging
View allF-Number
BasicAperture f-number is focal length divided by aperture diameter.
Exposure Value (EV)
IntermediateCombines aperture and shutter speed into one exposure figure.
Depth of Field (approx.)
AdvancedRange of distances that appear acceptably sharp.
Hyperfocal Distance
AdvancedFocus distance that keeps everything from H/2 to infinity sharp.
Angle of View
IntermediateField of view from sensor size and focal length.
Equivalent Focal Length
BasicFocal length on a crop sensor expressed in full-frame terms.