Magnification Equation & How to Use It
- Magnification
- Result
- Object distance
- 20 cm
- You entered
- Focal length
- 10 cm
- You entered
This calculator works out the magnification of a lens or optical system from the object distance and the image distance, or from the focal length and object distance. You enter the distances (in any consistent unit), and you get back the magnification as a dimensionless ratio, plus the image distance when you use the focal-length form. The equation itself is simple: magnification equals image distance divided by object distance, with a negative sign when the image is inverted.
Formula
The standard magnification equation for a thin lens or a curved mirror is:
m = – di / do
where:
- m = magnification (dimensionless; a ratio)
- di = image distance (distance from the lens or mirror to the image), in the same unit as do
- do = object distance (distance from the lens or mirror to the object), in the same unit as di
The negative sign indicates an inverted image. If m is negative, the image is real and upside-down; if m is positive, the image is upright and virtual.
When you do not know the image distance directly, you can find it from the lens equation:
1/f = 1/do + 1/di
which rearranges to di = 1 / (1/f – 1/do). Substitute that into the magnification formula to get m = – [1 / (1/f – 1/do)] / do.
Worked Example
Using the default values from the calculator: object distance do = 20 cm, focal length f = 10 cm.
- First find the image distance: 1/di = 1/f – 1/do = 1/10 – 1/20 = 0.1 – 0.05 = 0.05 cm–1.
- So di = 1 / 0.05 = 20 cm.
- Now magnification m = –di/do = –20/20 = –1.0.
The calculator gives the same result: image distance 20.00 cm, magnification –1.00. A magnification of –1 means the image is the same size as the object but inverted (a real image, formed on the other side of the lens).
When to Use the Magnification Equation
You use this equation whenever you need to know how much larger or smaller an image is compared to the object. Common situations include:
- Choosing a magnifying glass or reading lens – you want m greater than 1 in absolute value.
- Setting up a projector or camera lens – you need to know the image size on the screen or sensor.
- Working with a microscope or telescope – the total magnification is the product of the objective and eyepiece magnifications, each found with this equation.
- Designing a simple optical system – you can predict whether the image will be real or virtual, upright or inverted.
The equation works for thin lenses and for spherical mirrors (concave and convex) as long as you use the correct sign conventions. For a concave mirror, the same formula applies with the focal length positive for a converging mirror.
How to Read the Result
The magnification value tells you three things at once:
- Magnitude (absolute value): |m| > 1 means the image is larger than the object; |m| < 1 means smaller; |m| = 1 means same size.
- Sign: negative m means the image is inverted (upside down relative to the object). Positive m means upright.
- Type: a real image (formed on the opposite side of a lens from the object) always has negative m for a single lens. A virtual image (same side as the object) has positive m.
For example, a magnification of +2 means the image is twice as tall as the object and upright (like a magnifying glass). A magnification of –0.5 means the image is half the height and inverted (like a camera lens forming a small upside-down image on the sensor).
Common Mistakes and How to Avoid Them
The most frequent error is mixing units. Always use the same unit for object distance, image distance, and focal length. If you measure the object in meters and the focal length in centimeters, the result is meaningless. Convert everything to one unit first.
Another common mistake is forgetting the sign convention. In the standard Cartesian convention used here, the object distance is positive for a real object on the incident side of the lens. The focal length is positive for a converging lens (convex) and negative for a diverging lens (concave). If you get a negative image distance, that is fine – it means the image is virtual and on the same side as the object.
A third error is using the magnification equation with the lens equation incorrectly. The magnification equation uses the actual image distance, not the focal length. If you only know the focal length, you must first solve the lens equation for di.
Limits of the Formula
The thin-lens equation and the magnification equation assume a perfect, thin lens with negligible thickness and paraxial rays (rays close to the optical axis). In real lenses, aberrations (blurring, distortion, chromatic fringing) cause the actual image size and sharpness to differ slightly from the ideal calculation. For thick lenses or high-power microscope objectives, you need more complex formulas that account for lens thickness and principal planes.
Also, the magnification equation gives the linear magnification (how much larger the image is in one dimension). It does not directly give the area magnification – that would be m². For example, if a lens magnifies an object 2×, the image area is 4× the object area.
Frequently Asked Questions
What is the difference between magnification and resolution?
Magnification is how much larger an image appears compared to the object. Resolution is the ability to distinguish fine detail – the smallest separation between two points that can be seen as separate. You can magnify an image as much as you want, but if the resolution is poor, the enlarged image is just a bigger blur.
Why is the magnification negative for a real image?
The negative sign comes from the coordinate system. In the standard convention, the object is on the left of the lens and the real image forms on the right. The image distance is positive, but the image is inverted, so the magnification is negative. It is a mathematical way of saying “upside down.”
Can magnification be less than 1?
Yes, absolutely. A magnification of 0.5 means the image is half the size of the object. This is common in cameras, where a large scene is compressed onto a small sensor, or in reducing lenses used in photolithography.
How do I calculate total magnification of a microscope?
Multiply the magnification of the objective lens by the magnification of the eyepiece. For example, a 40× objective with a 10× eyepiece gives 400× total magnification. Each lens’s magnification is found with the same equation, but manufacturers usually print the magnification on the barrel.
Does the magnification equation work for mirrors?
Yes, with the same sign conventions. For a concave mirror, the focal length is positive; for a convex mirror, it is negative. The image distance is positive for a real image in front of the mirror and negative for a virtual image behind it. The magnification formula m = –di/do works exactly the same.
What if I only know the focal length and object distance?
Use the lens equation to find the image distance first, then plug that into the magnification formula. The calculator above does exactly that: you enter do and f, and it computes di and then m.
Related
Formula used
in d_o | Object distance | cm | 20 | 0 in f | Focal length | cm | 10 | 0 out d_i | Image distance | cm | 1 / (1/f - 1/d_o) | 2 out m | Magnification | - | -d_i / d_o | 2
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.