What Is Lens Magnification?
The magnification of a lens describes how much larger or smaller an image appears compared to the original object. It is defined as the ratio of the image distance to the object distance, with a negative sign that encodes orientation: \(m = -d_i/d_o\). A magnification of 2 means the image is twice as tall as the object; a magnification of 0.5 means it is half as tall. This relationship is fundamental in optics for cameras, microscopes, projectors, and corrective lenses.
How to Use This Calculator
Enter the object distance (\(d_o\)) — how far the object sits from the lens — and the image distance (\(d_i\)) — where the image forms. Both are measured in centimetres (any consistent unit works). The calculator returns the signed magnification, its magnitude, and whether the image is upright or inverted. Use the standard sign convention: real images formed on the opposite side of the lens take a positive \(d_i\), producing a negative (inverted) magnification.
The Formula Explained
The thin-lens magnification equation is $$m = -\frac{\text{Image Distance (cm)}}{\text{Object Distance (cm)}}$$ The minus sign is a sign-convention bookkeeping device. When both distances are positive (a typical real image from a converging lens), \(m\) comes out negative, meaning the image is inverted. A positive \(m\) means the image is upright, as with a virtual image from a magnifying glass. The absolute value \(|m|\) tells you the linear scale factor between image and object heights.
Worked Example
Suppose an object is placed 20 cm in front of a lens and a real image forms 60 cm behind it. Then $$m = -\frac{d_i}{d_o} = -\frac{60}{20} = -3$$ The image is three times larger than the object and inverted, because the magnification is negative.
Interpreting Your Magnification Result
The lateral magnification is \(m = -\frac{d_i}{d_o}\). Two things matter: the sign (orientation) and the magnitude \(|m|\) (size relative to the object). This calculator uses the real-is-positive convention for \(d_i\), so a real image has \(d_i > 0\) and a virtual image has \(d_i < 0\).
| Result | Meaning | Typical device |
|---|---|---|
| \(|m| > 1\) | Image is larger than the object (enlarged) | Projector (real, enlarged image on a screen); magnifying glass (virtual, enlarged) |
| \(|m| = 1\) | Image is the same size as the object | 1:1 macro lens at its closest focus; object at \(d_o = 2f\) |
| \(0 < |m| < 1\) | Image is smaller than the object (reduced) | Camera (real, reduced image on the sensor or film) |
| \(m < 0\) | Image is inverted; this goes with a real image (\(d_i > 0\)) | Camera, projector, and a simple single-lens telescope objective |
| \(m > 0\) | Image is upright; this goes with a virtual image (\(d_i < 0\)) | Magnifying glass used with the object inside the focal length |
Object-distance regimes for a converging lens
| Object distance | Image type | Orientation | Size | Image distance |
|---|---|---|---|---|
| \(d_o > 2f\) | Real | Inverted | Reduced, \(|m| < 1\) | \(f < d_i < 2f\) (camera) |
| \(d_o = 2f\) | Real | Inverted | Same size, \(|m| = 1\) | \(d_i = 2f\) |
| \(f < d_o < 2f\) | Real | Inverted | Enlarged, \(|m| > 1\) | \(d_i > 2f\) (projector) |
| \(d_o = f\) | No image (rays emerge parallel) | — | — | Infinity |
| \(d_o < f\) | Virtual | Upright | Enlarged, \(m > 1\) | \(d_i < 0\) (magnifying glass) |
Quick check: if you enter a positive \(d_o\) and a positive \(d_i\), the result must be negative (inverted real image). A positive \(m\) requires a negative \(d_i\).
Key Terms and Sign Conventions
- Object distance (\(d_o\)): distance from the lens to the object. It is positive for a real object in front of the lens.
- Image distance (\(d_i\)): distance from the lens to the image. Under the real-is-positive convention, \(d_i > 0\) for a real image (on the opposite side from the object) and \(d_i < 0\) for a virtual image (on the same side as the object).
- Focal length (\(f\)): distance from the lens to its focal point. It is positive for a converging (convex) lens and negative for a diverging (concave) lens.
- Real image: formed where light rays actually converge; it can be projected onto a screen and is inverted for a single lens.
- Virtual image: formed where rays only appear to diverge from; it cannot be projected on a screen and is upright for a single lens.
- Linear (lateral) magnification (\(m\)): ratio of image height to object height, with sign indicating orientation.
- Thin-lens equation: $$\frac{1}{f} = \frac{1}{d_o} + \frac{1}{d_i}$$
Magnification relations
$$m = \frac{h_i}{h_o} = -\frac{d_i}{d_o}$$
Here \(h_i\) is the image height and \(h_o\) is the object height. A negative \(h_i\) means the image is inverted. Because a virtual image has negative \(d_i\), the product \(-d_i/d_o\) is positive, so \(m > 0\) and the image is upright.
Example: an object at \(d_o = 30\) cm forms a real image at \(d_i = 15\) cm. Then \(m = -\frac{15}{30} = -0.5\): the image is inverted and half the object's size.
FAQ
Why is the magnification negative? A negative value indicates the image is inverted relative to the object. A positive value means it is upright.
What does a magnification between 0 and 1 mean? The image is smaller than the object — it has been reduced, as in a camera photographing a distant scene.
Can I use metres or inches? Yes. Magnification is a ratio, so any unit works as long as both distances use the same unit.