Lens Magnification (m = −d_i/d_o)

m=−didom = -\frac{d_i}{d_o}

Worked example: d_i = 15 cm, d_o = 30 cm → m = -0.5 — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

Magnification →

Grade 10Grade 10 Science

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning. Find 1 more lesson on this formula.

See your Report Card
Compete with your friends
share your results
Learning zone

Lens Magnification (m = −d_i/d_o) explained

mdodi

This one falls out of similar triangles, and it is worth seeing why rather than accepting it. The ray that passes through the exact centre of a thin lens goes straight through undeviated, because at the centre the two surfaces are parallel. That single ray makes the same angle with the axis on both sides, so the triangle formed by the object and the triangle formed by the image are similar. Their proportions give ∣hi∣/∣ho∣=di/do|h_i|/|h_o| = d_i/d_o — the image is as many times larger as it is farther away. The minus sign in m=−di/dom = -d_i/d_o is a bookkeeping convention laid on top of that geometry, and it encodes orientation: under the standard convention a real image from a converging lens has both distances positive, so mm comes out negative, and negative means inverted.

A camera with a 50 mm lens focused on a subject 2 m away forms its image at di=51.3d_i = 51.3 mm, so m=−51.3/2000=−0.0256m = -51.3/2000 = -0.0256. A person 1.8 m tall images 46 mm tall, which will not fit on a full-frame sensor only 24 mm high — so you step back, or fit a wider lens. A projector runs the same equation the other way. Put a 24 mm slide 102 mm in front of a 100 mm lens and the thin-lens equation gives di=5.1d_i = 5.1 m, so m=−50m = -50: an image 1.2 m across and upside down. That inversion is why slides go into a carousel the wrong way up.

The two magnification pages are meant to be used together. This one gets you from distances to a ratio; m=hi/hom = h_i/h_o gets you from that ratio to a size. A case worth memorising sits between them: when do=2fd_o = 2f the thin-lens equation gives di=2fd_i = 2f as well, so m=−1m = -1 exactly — object and image the same size, symmetric about the lens, and separated by 4f4f. That is the 1:1 setting macro photographers work at, and 4f4f is the smallest object-to-sensor distance at which a given lens can form a real image at all. Try to squeeze the two closer and no solution exists.

The sign is the trap, and sign conventions are the single largest source of wrong answers in geometric optics. A negative mm does not mean a negative size or a reduced image — it means inverted. Size lives in the magnitude, orientation lives in the sign, and m=−0.03m = -0.03 is telling you two separate things at once: strongly reduced, and upside down. This page uses the standard "real is positive" convention: dod_o positive for a real object, did_i positive for a real image on the far side of the lens, negative for a virtual image on the near side. Hold a magnifying glass closer than its focal length and did_i goes negative, so mm goes positive: upright and enlarged, exactly what your eye reports. Pick one convention and never borrow a formula from a textbook using another. One last distinction: this is the linear magnification of a real optical image. The "10×" stamped on a hand lens and the "40×" on a microscope objective are angular magnifications defined against a 25 cm reference viewing distance, a different quantity that cannot be compared with this one directly.

Lens Magnification (m = −d_i/d_o) formula

m=−didom = -\frac{d_i}{d_o}
Where
  • mm= Magnification
  • did_i= Image distance (m)
  • dod_o= Object distance (m)

Missing one of these? Work it out first, then come back