Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Physics
  3. /Geometric Optics Calculators
  4. /Magnification Calculator

Magnification Calculator

Last updated: March 17, 2026

Calculator

Results

Magnification (M)

-0.5

×

Absolute Magnification

0.5

×

Orientation Code

-1

Image Size vs Object

50

%

Size Change

-50

%

Results

Magnification (M)

-0.5

×

Absolute Magnification

0.5

×

Orientation Code

-1

Image Size vs Object

50

%

Size Change

-50

%

The Magnification Calculator determines the lateral (transverse) magnification of an optical system from either distance measurements or height measurements. Magnification is a crucial parameter in optics that describes both the size ratio and orientation of an image relative to the original object.

Whether you are analyzing a lens system, a mirror setup, or a compound optical instrument, this calculator provides the magnification factor, absolute size ratio, and image characteristics using the formulas $$M = -\frac{d_i}{d_o} = \frac{h_i}{h_o}$$

Visual Analysis

How It Works

Lateral magnification (also called transverse or linear magnification) can be calculated using two equivalent methods:

Method 1 — From distances:

$$M = -\frac{d_i}{d_o}$$

where di is the image distance and do is the object distance. The negative sign accounts for the sign convention where real images (di > 0) are inverted.

Method 2 — From heights:

$$M = \frac{h_i}{h_o}$$

where hi is the image height and ho is the object height. A negative hi indicates an inverted image.

These two definitions are equivalent and arise from the geometry of similar triangles formed by light rays passing through a thin lens or reflecting from a mirror. The sign of M carries important physical information:

  • M > 0: Image is upright (same orientation as object) — typically a virtual image
  • M < 0: Image is inverted (flipped) — typically a real image
  • |M| > 1: Image is magnified (larger than object)
  • |M| < 1: Image is diminished (smaller than object)
  • |M| = 1: Image is the same size as the object

It is important to distinguish lateral magnification from angular magnification, which is used for instruments like magnifying glasses, microscopes, and telescopes where the relevant quantity is the angle subtended at the eye rather than the physical image size.

For compound optical systems with multiple lenses, the total magnification is the product of individual magnifications: $$M_{total} = M_1 \times M_2 \times M_3 \times \ldots$$

Understanding Your Results

The magnification (M) is the signed value that encodes both size ratio and orientation. A value of M = −2 means the image is inverted and twice the size; M = +0.5 means upright and half the size.

The |M| (Size Ratio) gives the absolute magnification — the pure size ratio without orientation information. The image orientation and image size descriptions provide a plain-language summary of whether the image is upright/inverted and magnified/diminished.

Worked Examples

Magnification from Distances — Real Inverted Image

Inputs

methoddistances
di30
do val60
hi5
ho10

Results

magnification-0.5
abs mag0.5
orientationInverted (Real Image)
size descDiminished

With dᵢ = 30 cm and dₒ = 60 cm: M = −30/60 = −0.5. The image is real (positive dᵢ), inverted (M < 0), and half the object size (|M| = 0.5).

Magnification from Heights — Virtual Upright Image

Inputs

methodheights
di30
do val60
hi15
ho10

Results

magnification1.5
abs mag1.5
orientationUpright (Virtual Image)
size descMagnified

With hᵢ = 15 cm and hₒ = 10 cm: M = 15/10 = +1.5. The positive sign means the image is upright (virtual), and |M| = 1.5 means it is 50% larger than the object.

Frequently Asked Questions

Magnification (M) is the ratio of image size to object size. It tells you how much larger or smaller the image is compared to the object, and whether the image is upright or inverted. $$M = \frac{h_i}{h_o} = -\frac{d_i}{d_o}$$

Lateral magnification (M = hi/ho) compares physical image and object sizes. Angular magnification (m = θimage/θobject) compares the angles they subtend at the eye. Angular magnification is used for instruments like microscopes and telescopes where the image may be at infinity.

The negative sign arises from the sign convention in geometric optics. Real images (di > 0) are inverted, so the negative sign ensures M < 0 for inverted images. For virtual images (di < 0), the double negative gives M > 0, correctly indicating an upright image.

Yes. A converging lens produces |M| > 1 when the object is between f and 2f (real magnified inverted image) or when the object is inside f (virtual magnified upright image). A magnifying glass uses the latter configuration.

A flat (plane) mirror always produces M = +1. The image is the same size as the object, upright, and virtual. The image distance equals the object distance but is behind the mirror (di = −do).

For a compound system, multiply the individual magnifications: $$M_{total} = M_1 \times M_2 \times M_3 \times \cdots$$ For example, a microscope has an objective lens (M₁ ≈ −40) and an eyepiece (M₂ ≈ 10), giving total magnification M = −400 (inverted, 400× larger).

Sources & Methodology

Hecht, E. (2017). Optics, 5th Edition. Pearson. | Pedrotti, F. L., Pedrotti, L. M. & Pedrotti, L. S. (2017). Introduction to Optics, 3rd Edition. Cambridge University Press. | Khan Academy — Magnification: https://www.khanacademy.org/science/physics/geometric-optics
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Lens Calculator

Geometric Optics Calculators

Mirror Equation Calculator

Geometric Optics Calculators

Focal Length Calculator

Geometric Optics Calculators

Lens Maker Equation Calculator

Geometric Optics Calculators

Snell's Law Calculator

Geometric Optics Calculators

Index of Refraction Calculator

Geometric Optics Calculators