ThisCalculator

Everyday

Equation to Find Magnification: Simple Formula

Updated · Standard formula, shown below

Magnification 2.00
Image/Object ratio
2.00
Result
Object distance
25 cm
You entered
Image distance
50 cm
You entered

This calculator works out the magnification of a lens or optical system 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 the image is compared to the object).

Formula

The basic equation for linear magnification (m) is:

m = di / do

  • m = magnification (dimensionless, often written as a ratio like 2× or 0.5×)
  • di = image distance from the lens (same unit as do, typically cm or m)
  • do = object distance from the lens (same unit as di)

This formula comes from the geometry of similar triangles in a thin-lens system. It works for both converging (convex) and diverging (concave) lenses, as long as you use the correct sign convention. For a simple magnifying glass, a camera lens, or a projector, this is the ratio you need.

Worked Example

Using the default values from the calculator above:

  1. Object distance, do = 25 cm
  2. Image distance, di = 50 cm
  3. Apply the formula: m = di / do = 50 / 25 = 2.00
  4. So the magnification is 2.00×, meaning the image is twice as large as the object.

The calculator gives the same result: 2.00. Note that this is a positive magnification, which indicates an upright image (virtual) in the standard sign convention. If you use the real-is-positive convention, a positive value means the image is on the opposite side of the lens from the object (real and inverted). The sign convention matters when you interpret the result.

When to Use This Equation

Use the magnification equation whenever you know (or can measure) the object and image distances for a lens or mirror. It is the most direct way to find how much a system enlarges or shrinks an image.

  • Photography: If you know the focal length and the focus distance, you can compute the magnification to estimate macro capability.
  • Microscopes and telescopes: The total magnification is the product of the objective and eyepiece magnifications, but the individual magnifications come from this ratio.
  • Projectors: To fill a screen of a certain size from a given throw distance, you need the magnification.
  • Eyeglasses and magnifying glasses: The angular magnification is different, but the linear magnification still applies to the image formed.

If you only know the focal length (f) and the object distance, you can first find the image distance using the thin-lens equation: 1/f = 1/do + 1/di, then plug di into the magnification formula. That is a common two-step process in physics and optics problems.

How to Read the Result

The magnification value tells you the size ratio between the image and the object.

  • m > 1: The image is larger than the object (e.g., m = 3 means the image is three times bigger).
  • m = 1: The image is the same size as the object.
  • m < 1: The image is smaller than the object (e.g., m = 0.5 means the image is half the size).
  • Negative m: In the standard Cartesian sign convention, a negative magnification means the image is inverted (upside down) relative to the object. A positive m means upright.

In photography, magnification is often written as a ratio like 1:1 (life-size) or 1:2 (half life-size). A 1:1 macro lens gives an image on the sensor that is the same size as the object. A 1:2 lens gives an image half the size.

For a simple magnifying glass, the angular magnification (how much larger the object appears to your eye) is different from the linear magnification. The angular magnification is approximately 25 cm / f for a lens held close to the eye, where f is the focal length in cm. Do not confuse the two.

Common Mistakes and How to Avoid Them

  • Mixing units: Both distances must be in the same unit. If you enter do in cm and di in meters, the ratio is off by a factor of 100. Always convert first.
  • Forgetting the sign: The equation gives a signed value. If you are using the real-is-positive convention, a negative magnification means the image is virtual and upright. If you just want the size ratio, take the absolute value.
  • Using the wrong distance: For a camera lens, the object distance is measured from the lens’s principal plane, not from the front element. For a magnifying glass, it is from the lens to the object, not from your eye to the object.
  • Confusing magnification with zoom: Zoom is a change in focal length; magnification is a ratio of image size to object size. A zoom lens can have a range of magnifications, but the magnification at a given focus distance is what this formula gives.

Limits of the Formula

The simple magnification equation m = di/do assumes a thin lens and paraxial rays (rays close to the optical axis). In real lenses, especially thick or wide-aperture lenses, the principal planes are not at the center, and the formula still works if you measure distances from the principal planes. For very thick lenses or compound systems, you need to use the effective focal length and the positions of the principal planes.

The formula also assumes the object and image are both in focus. If the image is blurred, the magnification is still defined geometrically, but it is not a useful measure of what you see.

For mirrors, the same formula applies, but the sign convention differs. For a concave mirror, a real image has a positive magnification in the real-is-positive convention, but in the Cartesian convention it is negative. Always state which convention you are using.

Frequently Asked Questions

What is the difference between linear magnification and angular magnification?

Linear magnification is the ratio of the image size to the object size (m = di/do). Angular magnification is the ratio of the angle subtended by the image to the angle subtended by the object at the eye. For a magnifying glass, the angular magnification is about 25 cm / f, where f is the focal length in cm, because 25 cm is the near point of a typical eye. They are different concepts; linear magnification tells you how big the image is, while angular magnification tells you how much bigger it appears to your eye.

How do I find magnification if I only know the focal length?

You need one more piece of information: either the object distance or the image distance. Use the thin-lens equation 1/f = 1/do + 1/di to find the missing distance, then plug into m = di/do. For example, with f = 10 cm and do = 30 cm, you get 1/di = 1/10 – 1/30 = 2/30, so di = 15 cm, and m = 15/30 = 0.5×.

What does a magnification of 1:1 mean?

It means the image is the same size as the object. In photography, a 1:1 macro lens projects an image onto the sensor that is exactly the same size as the object being photographed. For a lens with a magnification greater than 1, the image is larger than the object, which is common in macro photography and microscopes.

Why is my magnification negative?

A negative magnification in the Cartesian sign convention means the image is inverted (upside down) relative to the object. This happens with real images formed by converging lenses or concave mirrors. If you only care about the size, just take the absolute value. The sign tells you the orientation.

Does the magnification change if I move the object closer to the lens?

Yes. As the object distance do decreases, the image distance di increases (for a fixed focal length), so the magnification m = di/do increases. That is why a magnifying glass works best when you hold it close to the object. However, there is a limit: if the object is inside the focal length, the image becomes virtual and upright, and the magnification is still given by the same formula but with a negative image distance.

Related

Formula used
in d_o | Object distance | cm | 25 | 0
in d_i | Image distance | cm | 50 | 0
out m | Magnification | - | d_i / d_o | 2
out d_i_over_d_o | Image/Object ratio | - | 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.