Home/Optics & Photonics/Geometric Optics/Magnification (Lens or Mirror)

Formula & Calculator

Magnification (Lens or Mirror)

Calculates the linear magnification of an image formed by a lens or mirror, including whether the image is upright or inverted.

OpticsGeometric OpticsImaging

Magnification CalculatorLens / Mirror · Geometrical Optics

m = −di / do
m = magnification  ·  di = image distance  ·  do = object distance
⟹ Solvem, di, do
dimensionless
cm
cm
Please fix the errors above.
Solve for:
Presets:
m
m: di: do:
✓ Copied!
Magnification (m) Gauge
Upright (m > 0) Inverted (m < 0) Same size (m = ±1)
m = −dᵢ / dₒ  ·  Positive m = upright image, Negative m = inverted image  ·  Distances in consistent units

Interpretation

m = −d_i/d_o. Ratio of image height to object height. Negative sign indicates inverted image. Used in imaging systems.

m = -d_i / d_o
Magnification (Lens or Mirror)

Variables

SymbolQuantityUnit
mMagnification
d_iImage distancecm
d_oObject distancecm

What it means

Magnification is the ratio of the image size to the object size. For lenses and mirrors, it is the negative of the ratio of image distance to object distance (using sign conventions). A positive m indicates an upright image; negative indicates inverted. This formula is used in microscopy, telescopy, photography, and any imaging system to predict image size. Understanding magnification helps in designing optical instruments and in interpreting images.

Worked example

Magnification – Two Detailed Examples

Real‑World
Scenario: A camera lens forms a real image at a distance d_i = 30 cm from the lens, while the object is 15 cm from the lens. The photographer calculates the magnification m = −d_i/d_o = −30/15 = −2. The negative sign indicates an inverted image, and the magnitude 2 means the image is twice the size of the object. This tells them the subject will appear larger on the sensor, which is useful for macro photography.
ParameterValue
di (cm)30
do (cm)15
1m = −30 / 15 = −2
Result −2 ✓ Inverted, magnified 2×
Scenario: A concave mirror produces a virtual image with d_i = −20 cm (behind the mirror) when the object is 20 cm in front. The magnification m = −(−20)/20 = 1. This indicates an upright image of the same size as the object. This is typical for plane mirrors and certain concave mirror configurations (object at centre of curvature). The engineer uses this to design an optical system where image size equals object size.
ParameterValue
di−20
do20
1m = −(−20) / 20 = 1
Result 1 ✓ Upright, same size
Insight: Magnification indicates the size and orientation of the image. A negative value means inverted; positive means upright. Magnitude greater than 1 means enlarged, less than 1 means reduced.

Common mistakes

  • Magnification (lens or mirror): m = −d_i / d_o – the negative sign indicates image orientation.
  • Sign: |m| > 1 means magnified; |m| < 1 means reduced. A negative m means inverted image; positive m means upright.
  • d_i and d_o: Use signed distances according to the sign convention.
  • Units: d_i and d_o in the same units – m is dimensionless.
  • Lateral vs. angular magnification: This is lateral (transverse) magnification – different from angular magnification (e.g., magnifying glass).

Applications

Magnification (lens or mirror), m = −d_i/d_o, gives the lateral magnification, where d_i and d_o are image and object distances. The negative sign indicates inverted images. Engineers and opticians use this to calculate the size of images, to design optical systems for desired magnification, and to specify lenses for cameras and microscopes. By understanding magnification, they can ensure that the final image meets resolution and size requirements. This formula is also used in machine vision to calibrate systems. It is a key parameter in both geometrical and optical design, enabling the prediction of how objects will appear after passing through a lens or reflecting off a mirror.

  • Design of magnifiers, microscopes, and telescopes
  • Camera lens selection and system calibration
  • Optical projection systems (slides, cinema)
  • Image size calculations in machine vision
  • Educational understanding of image scaling and inversion

Frequently Asked Questions

Q01What is the Magnification (Lens or Mirror) formula used for?
A01

It calculates the linear magnification of an image formed by a lens or mirror: m = −dᵢ/dₒ. It gives the image size relative to the object and its orientation.

Q02What do the variables m, dᵢ, and dₒ represent?
A02

m = linear magnification (dimensionless).
dᵢ = image distance (with sign).
dₒ = object distance (positive for real objects).

Q03What does a negative magnification indicate?
A03

A negative m means the image is inverted relative to the object. A positive m means the image is upright.

Q04How is magnification derived?
A04

It comes from the geometry of similar triangles in the ray diagram: height ratio equals distance ratio, with a sign to indicate orientation.

Q05What is the difference between angular magnification and linear magnification?
A05

Linear magnification (m) relates to image size; angular magnification relates to the apparent size as seen by the eye (used in magnifiers and telescopes).

Q06Give a worked example using the magnification formula.
A06

An object is 20 cm from a lens, and the image is formed at 30 cm on the other side. dₒ = 20, dᵢ = 30 (positive). m = −30/20 = −1.5. The image is 1.5 times larger and inverted.

Q07What are the common pitfalls when using magnification?
A07

  • Forgetting the negative sign, which determines orientation.
  • Using distances without proper sign conventions.
  • Confusing magnification with power.

Q08How does magnification vary with object distance?
A08

As the object moves closer to the focal point, magnification increases in magnitude, becoming infinite when the object is at the focal plane.

Q09What is the relationship between magnification and image distance?
A09

For a given lens, m is proportional to dᵢ; if the image is farther away, the magnification is larger.

Q10How is magnification used in photography?
A10

It determines the size of the subject on the sensor, affecting composition and depth of field.