Magnification Formula for Lenses Explained
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out the magnification of a lens from the object distance and the image distance. You enter the distance from the lens to the object and the distance from the lens to the image, and the calculator returns the linear magnification (how many times larger or smaller the image is compared to the object). The formula is simply image distance divided by object distance, with a sign convention that tells you whether the image is upright or inverted.
Formula
The linear magnification m of a lens is given by:
m = v / u
where:
- v is the image distance (from the lens to the image), measured in the same unit as u (e.g., cm or m).
- u is the object distance (from the lens to the object), measured in the same unit as v.
The magnification is a dimensionless number (no unit). It tells you the ratio of the image height to the object height. For example, m = 2 means the image is twice as tall as the object; m = 0.5 means the image is half as tall.
In the standard sign convention used in optics:
- For a real image (formed on the opposite side of the lens from the object), v is positive and m is positive, but the image is actually inverted. Some textbooks use a negative sign for inverted images. This calculator uses the simple ratio v/u and labels the orientation separately.
- For a virtual image (formed on the same side as the object), v is negative, so m is negative, indicating an upright image.
Worked Example
Using the default values from the calculator above:
- Object distance, u = 30 cm
- Image distance, v = 60 cm
- Apply the formula: m = v / u = 60 / 30 = 2.0
The magnification is 2.0, meaning the image is twice the size of the object. Since v is positive, the image is real and inverted (the calculator shows “inverted”).
What Magnification Tells You
Magnification is a ratio, not an absolute size. It tells you how the image dimensions compare to the object dimensions. For example:
- m = 1: image is the same size as the object (common in 1:1 macro photography).
- m > 1: image is larger than the object (magnifying glass, microscope, projector).
- m < 1: image is smaller than the object (camera lens, eyeglasses for myopia).
- m = 0.5: image is half the size of the object.
Magnification is independent of the units you use, as long as u and v are in the same unit. It is also independent of the lens power itself – two different lenses can produce the same magnification if the object and image distances are the same.
How to Use the Formula in Real Life
In practice, you often know the object distance and the focal length of the lens, not the image distance. You can find the image distance using the lens equation:
1/f = 1/u + 1/v
where f is the focal length. Then substitute v into the magnification formula. For example, with a lens of focal length 10 cm and an object 30 cm away:
- 1/10 = 1/30 + 1/v → 1/v = 1/10 – 1/30 = 3/30 – 1/30 = 2/30 → v = 15 cm.
- m = 15/30 = 0.5.
This tells you the image is half the object size and real (since v is positive).
Common Mistakes and Misconceptions
- Mixing units: If u is in cm and v is in meters, the ratio is wrong. Always use the same unit for both.
- Ignoring sign conventions: Many textbooks use a negative magnification for inverted images. This calculator uses positive for real images and labels orientation separately. Be consistent with your own work.
- Confusing magnification with zoom: Zoom is a change in focal length, not a change in magnification. Magnification depends on distances, not on zoom.
- Assuming magnification is always positive: For virtual images (like in a magnifying glass), v is negative, so m is negative. The absolute value still gives the size ratio.
Limits of the Formula
The formula m = v/u is exact for thin lenses and paraxial rays (rays close to the optical axis). It does not account for:
- Lens thickness (thick lenses require more complex formulas).
- Spherical aberration or other optical aberrations.
- Chromatic aberration (different colors focus at different points).
For most practical purposes, the thin-lens approximation is accurate enough for simple calculations.
Frequently Asked Questions
What is the difference between linear and angular magnification?
Linear magnification (m = v/u) compares image height to object height. Angular magnification (often used in telescopes and magnifying glasses) compares the angle subtended by the image to the angle subtended by the object. They are different concepts; angular magnification is not simply v/u.
Why is magnification sometimes negative?
In the Cartesian sign convention, a negative magnification indicates an inverted image. A positive magnification indicates an upright image. The magnitude still gives the size ratio.
Can magnification be less than 1?
Yes, that means the image is smaller than the object. This is common in photography, where a lens might produce a small image on a sensor.
How do I find magnification if I only know focal length and object distance?
Use the lens equation to find v, then use m = v/u. For example, f = 20 cm, u = 40 cm: 1/v = 1/20 – 1/40 = 2/40 – 1/40 = 1/40, so v = 40 cm, then m = 40/40 = 1.
Does magnification depend on the lens material?
No, the magnification formula does not include refractive index. However, the focal length of a lens does depend on the refractive index and curvature, so indirectly the material affects magnification through the focal length.
What is the magnification of a magnifying glass?
For a simple magnifying glass used with the image at the near point (25 cm), the angular magnification is approximately 25/f (with f in cm). The linear magnification depends on the object distance and is not fixed.
Related
Formula used
in d_o | Object distance (u) | cm | 30 | 0 in d_i | Image distance (v) | cm | 60 | 0 out m | Magnification (m) | × | d_i / d_o | 2 out type | Image orientation | - | (d_i / d_o) > 0 ? "upright" : "inverted" | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.