Audited 31 Jul 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Mirror Equation Calculator

Find where a concave or convex mirror forms an image from the signed focal length and object distance, using 1/f = 1/do + 1/di and the real-is-positive rule.

Mirror Equation Calculator

m
m
Signed image distance
0.15
Signed distance from the mirror to the image in metres: positive for a real image in front, negative for a virtual image behind.
Model scope
Paraxial spherical-mirror equation using positive distances for a real object in front of a concave mirror and a real image in front; users must retain this sign convention, and aberration, finite aperture, alignment, and optical-system effects are outside it.

Background.

A curved mirror moves images around. Stand well back from a concave mirror and you see yourself small and upside down; step in close and you suddenly appear upright and enlarged, the view a shaving or make-up mirror gives. A convex mirror, like the security mirror at a shop's blind corner, always shows a smaller, upright picture of a wide area. One equation predicts all of this.

The mirror equation, 1/f = 1/d_o + 1/d_i, links three distances measured from the mirror along its axis: the focal length f, the object distance d_o and the image distance d_i. Rearranged as d_i = f·d_o ÷ (d_o − f), it says where the image forms, and the sign of the answer says what kind of image it is.

Because the signs carry the physics, the convention has to be held firmly. Here distances in front of the mirror, on the side where the light actually travels, count as positive. A concave mirror has a positive focal length, half its radius of curvature; a convex mirror has a negative one. A positive image distance means a real image in front of the mirror that a card or screen could catch; a negative one means a virtual image that only appears to lie behind the glass. Mix this with a textbook that uses the opposite convention and every answer flips.

The equation is paraxial: it assumes rays travel close to the axis and meet the mirror at shallow angles. In a wide spherical mirror, rays striking near the rim focus at a slightly different point and blur the image, which is called spherical aberration and is why telescope mirrors are usually ground to a paraboloid or another non-spherical shape. An object placed exactly at the focal point is refused, because the reflected rays leave parallel and the image lies at infinity.

What is mirror equation calculator?

The mirror equation relates where an object sits in front of a curved mirror to where its image forms: 1/f = 1/d_o + 1/d_i. For a spherical mirror the focal length is half the radius of curvature, positive for a concave mirror and negative for a convex one under the real-is-positive convention used here. The page solves for the image distance d_i in metres, and its sign shows whether the image is real (positive, in front of the mirror) or virtual (negative, behind it).

How to use this calculator.

  1. Enter the focal length in metres, positive for a concave mirror and negative for a convex one. If you know the radius of curvature instead, halve it: a 0.2 m radius gives f = 0.1 m.
  2. Enter the object distance in metres, measured from the centre of the mirror's surface along its axis and positive for an ordinary object in front of it. Convert centimetres first, so 30 cm becomes 0.3.
  3. Read the image distance. Positive means a real, inverted image in front of the mirror; negative means a virtual, upright image behind it.
  4. For the image's size and orientation, work out the magnification m = −d_i ÷ d_o yourself. A negative m means inverted, and a size below 1 means smaller than the object.

The formula.

d_i = f d_o / (d_o - f)

1/f = 1/d_o + 1/d_i, solved for the image: d_i = f × d_o ÷ (d_o − f). The relation comes from the geometry of reflection at a sphere for rays near the axis, where the focal point lies halfway between the mirror and its centre of curvature. The denominator does most of the work. When the object is far away, d_o − f is close to d_o and the image settles just beyond the focal point. As the object closes on the focal point, the denominator shrinks toward zero and the image races away: with f = 0.1 m, an object at 0.11 m images 1.1 m out. Move the object inside the focal point and the denominator turns negative, putting the image behind the mirror. At d_o = f exactly the image is at infinity, so that input is refused, as are a zero focal length and a zero object distance.

A worked example.

Example

A concave mirror has a focal length of 0.1 m, so a 0.2 m radius of curvature, and a candle stands 0.3 m in front of it. The numerator is f × d_o = 0.1 × 0.3 = 0.03 and the denominator is d_o − f = 0.3 − 0.1 = 0.2, so the image distance is 0.03 ÷ 0.2 = 0.15 m. Checking against the original form: 1/0.3 + 1/0.15 = 3.333 + 6.667 = 10, which is 1/0.1. The positive sign means a real image 15 cm in front of the mirror, where a card held there would show it. The magnification is −0.15 ÷ 0.3 = −0.5, so the flame appears inverted and half size. Bring the candle in to 0.05 m, inside the focal point, and the answer becomes −0.1 m: a virtual image behind the glass, upright and twice the size.

object Distance M0.3
focal Length M0.1

Frequently asked questions.

What does a negative image distance mean for a mirror?
The image is virtual: it appears to sit behind the mirror, but no light actually reaches that point, so you can see it but not project it onto a screen. A convex mirror always gives one for a real object. With f = −0.1 m and the object at 0.3 m, the image sits 0.075 m behind the glass at a quarter of the size.
My textbook uses the Cartesian sign convention. How do I convert?
In the Cartesian convention, distances measured against the direction of the incoming light are negative, so a real object and a concave mirror's focal length both come out negative. Flip the signs of both inputs before entering them here, then flip the sign of the answer back. The equation itself has the same form in both conventions.
Where should the object be to get a magnified image from a concave mirror?
Inside twice the focal length. Between f and 2f the image is real, inverted and larger, forming beyond 2f: with f = 0.1 m and the object at 0.15 m it lands 0.3 m out at twice the size. Inside f the image becomes virtual, upright and enlarged. At exactly 2f it is the same size, and beyond 2f it shrinks.
Why is an object at the focal point not allowed?
Rays from a point at the focus leave the mirror parallel and never meet, so the image is at infinity and the formula would divide by zero. The same geometry run in reverse is how a torch or searchlight works: a bulb at the focus of a concave reflector sends out a nearly parallel beam.
Does the mirror equation work for a flat mirror?
Yes, as the limiting case. A plane mirror has an infinite focal length, so 1/f is zero and d_i = −d_o: the image lies as far behind the glass as the object is in front. The page cannot take infinity, but a focal length of 1,000,000 m with the object at 0.3 m returns about −0.3 m.
How can I find the focal length of a real concave mirror?
Use a distant object. When d_o is very large the image forms almost exactly at the focal point, so aim the mirror at a window across the room and move a card until the scene is sharp; the card's distance from the mirror is close to f. With f = 0.1 m, an object 10 m away images at 0.101 m.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
d_i = f d_o / (d_o - f)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon