🔬
🔬 Science & engineering

Mirror Equation Calculator (concave & convex mirrors, image distance and magnification)

Results update as you type.

Your numbers

Understanding the mirror equation calculator — concept and principle

This calculator applies the mirror equation to concave, convex and plane mirrors. From the focal length, object distance and object height it gives the image distance, magnification, image height and whether the image is real or virtual, upright or inverted, larger or smaller. It is used in optics courses and for designing reflectors, telescopes and shaving mirrors.

Concave mirror imageObject 40 cm from a concave mirrorFocal length15 cmObject distance40 cmObject height5 cm1/d_i = 1/15 − 1/40 = 5/120m = −24 ÷ 40Image distance24 cmMagnification−0.6Imagereal · inverted · 3 cm
Beyond twice the focal length the mirror forms a smaller, upside-down real image in front of it.

How it is calculated

1/d_o + 1/d_i = 1/f, with f = R/2

m = h_i ÷ h_o = −d_i ÷ d_o

The principle

A concave mirror reflects rays parallel to its axis through a focal point halfway between the mirror and its centre of curvature. Rays from each point of an object therefore meet again at a definite image point, and simple geometry with similar triangles gives the mirror equation. A convex mirror spreads rays out so they only appear to come from behind it, giving a virtual, upright, smaller image. The equation holds for rays close to the axis.

Worked example

Default inputs: concave mirror, |f| = 15 cm, object at 40 cm, object height 5 cm.

  1. 1/d_i = 1/15 − 1/40 = 5/120, so d_i = 24 cm.
  2. m = −24 ÷ 40 = −0.6.
  3. Image height = −0.6 × 5 = −3 cm.
  4. d_i is positive, so the image is real, in front of the mirror, and m is negative and less than 1: inverted, reduced.
  5. R = 2 × 15 = 30 cm; signed f = 15 cm.
How Image distance from the mirror (cm) changes with Focal length |f| (cm)How Image distance from the mirror chang…02550751001253.757.511.21518.822.530Example: 24Focal length |f| (cm)
Each point is the calculator re-run with only “Focal length |f| (cm)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Focal length |f| (cm)Image distance from the mirror (cm)
3.754.14
7.59.23
11.215.65
1524
18.835.29
22.551.43
30120

How to read the result

With a concave mirror, an object beyond 2f gives a smaller inverted real image, between f and 2f a larger inverted one, and inside f a larger upright virtual image, which is how shaving and make-up mirrors magnify. A convex mirror always gives a small upright virtual image with a wide field of view, which is why it is used for car side mirrors and shop security.

Common mistakes

Keep in mind: The equation assumes rays close to the axis. Wide-aperture mirrors show spherical aberration.

Frequently asked questions

How does a make-up mirror magnify?

It is concave, and your face sits inside its focal length, giving an enlarged upright virtual image.

Why are objects in car side mirrors closer than they appear?

The convex mirror makes small images, which look farther away.

What is a real image?

One where light actually converges, so it can be projected on a screen.

What happens at the focal point?

Reflected rays are parallel and no image forms.

Sources: OpenStax, University Physics Volume 3 (2016), section 2.2 "Spherical Mirrors"

Checked 9 Nov 2026. OpenStax, University Physics Volume 3 (2016), §2.2 “Spherical Mirrors” and Chapter 2 Key Equations: mirror equation 1/do + 1/di = 1/f, f = R/2, m = hi/ho = −di/do, sign conventions (f positive for concave, negative for convex; di positive for real images).

🔬 All science & engineering tools →🌍 Calculators by country →