Intermediate

Optical Magnification Calculator

Find the magnification of a lens or mirror from the image and object distances or their heights.

Input pair

Choose which quantities you know

cm

cm

cm

Optional, to find image height
Magnification (m)
-2

Inverted · Enlarged

Magnification (m)
-2×
Absolute |m|
Orientation
Inverted
Size
Enlarged
Image height
-20 cm
-3-2.3-1.5-0.800.81.52.33m < 0 = inverted · |m| > 1 = enlarged
Step by step
  1. 1

    Ratio of distances di ÷ do

    20 ÷ 10 = 2
  2. 2

    Magnification m = −(di ÷ do)

    −2 = -2
    Negative sign indicates an inverted image.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Magnification is m = −di/do = hi/ho. Enter either the image and object distances or their heights. A negative result means the image is inverted; a positive one means upright. When |m| exceeds 1 the image is enlarged, and when it is below 1 the image is reduced in size.

Formula
m = −di / do = hi / ho
How this is calculated

Magnification compares the size of the image to the size of the object. Using the thin-lens (or mirror) geometry, it equals the negative ratio of image distance to object distance, m = −di/do, which is also equal to the ratio of image height to object height, m = hi/ho. Choose the input pair you know: distances (di, do) or heights (hi, ho).

The sign carries orientation information. A negative magnification means the image is inverted relative to the object, while a positive value means it is upright. The absolute value gives the scale: |m| greater than 1 means the image is enlarged, |m| less than 1 means it is reduced, and |m| = 1 means it is the same size. If you also supply the object height in distance mode, the calculator derives the image height as hi = m·ho; in height mode, supplying the object distance derives the image distance as di = −m·do.

Distances and heights must use the same length unit (cm here, but any consistent unit works since magnification is dimensionless). The object distance (or object height) cannot be zero, which would make the ratio undefined. Sign conventions follow the standard real-is-positive convention where real images have positive di and a negative magnification.

Frequently asked questions

A negative sign comes from m = −di/do and indicates the image is inverted compared to the object. A positive magnification means the image is upright.

It means the image is larger than the object (enlarged). If |m| is less than 1 the image is smaller (reduced), and if it equals 1 the image is the same size.

Pick one pair per calculation. The two formulas are equal, so distances and heights give the same magnification, but each mode solves for the matching missing quantity.

Also known as

magnification
image height
lens magnification
m=-di/do
optical zoom
magnification calculator
lens magnification calculator
image magnification

APA

TG we-Calculate Editorial Team. (2026). Optical Magnification Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/magnification-calculator

Chicago

TG we-Calculate Editorial Team. "Optical Magnification Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/magnification-calculator.

IEEE

TG we-Calculate Editorial Team, "Optical Magnification Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/magnification-calculator

BibTeX

@misc{wecalculate_magnification_calculator, title = {Optical Magnification Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/magnification-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?