Optics  ·  24 August 2026

Mirror Formula Calculator: Concave and Convex Mirror Ray Diagrams

Pick up a spoon and look at the inside of the bowl at arm's length. You are upside down. Bring it slowly toward your face and, somewhere along the way, you flip the right way up and swell to fill the whole bowl. Turn the spoon over and look at the back: you are upright, tiny, and stay that way no matter how you move it. Nothing about the spoon changed between those three views — only the distance, and which way the metal curves.

One equation covers all of it. The mirror formula, 1/v+1/u=1/f1/v + 1/u = 1/f, takes the object distance and the mirror's focal length and returns exactly where the image sits, which way up it is, and how big it is. This page walks through the sign convention that makes it work, the three construction rays that draw it, and the five zones of a concave mirror that every exam question is secretly about — with three simulations to drag around: one showing what a focus physically is, one live ray-diagram bench you drag the object across, and one overhead view of why every car mirror bulges.

What Is the Mirror Formula and What Do u, v and f Mean?

1v+1u=1f\frac{1}{v} + \frac{1}{u} = \frac{1}{f}

Three distances, all measured from the pole — the point where the mirror's surface crosses its own axis. The formula is useless without a sign convention, and the one used in NCERT, JEE and NEET is the New Cartesian convention: light travels toward the mirror in the positive direction, and any distance measured against that direction is negative.

SymbolQuantitySign under the New Cartesian convention
uObject distanceAlways negative — the object is always in front of the mirror
vImage distanceNegative = real image, in front of the mirror. Positive = virtual image, behind it
fFocal lengthNegative = concave (converging). Positive = convex (diverging)
RRadius of curvatureR = 2f, always the same sign as f
mMagnificationm = −v/u. Negative = inverted, positive = upright
h′Image heighth′ = m·h, so a negative m draws the image below the axis

The single line worth memorising above all the others is the one about vv. For a mirror, a real image has v<0v < 0. Real light comes back out of a mirror on the same side it went in, so anything real forms in front of the glass. That is the exact opposite of a thin lens, where a real image sits on the far side and vv is positive. Students who learn lenses first and then assume mirrors behave the same way get every real/virtual answer backwards.

The relation R=2fR = 2f says the focus sits exactly halfway between the pole and the centre of curvature. It is not a definition — it is a result, and a slightly shaky one, as the next section shows.

How Do You Calculate the Image Position Step by Step?

Take a concave mirror of focal length 15 cm with an object 40 cm in front of it — the setting the simulator further down starts on.

  1. Attach the signs. Concave, so f=15f = -15 cm. Object in front, so u=40u = -40 cm.
  2. Rearrange for v. 1v=1f1u=115140\dfrac{1}{v} = \dfrac{1}{f} - \dfrac{1}{u} = \dfrac{1}{-15} - \dfrac{1}{-40}
  3. Do the arithmetic. 1v=8120+3120=5120=124\dfrac{1}{v} = -\dfrac{8}{120} + \dfrac{3}{120} = -\dfrac{5}{120} = -\dfrac{1}{24}, so v=24v = -24 cm.
  4. Read the sign. vv is negative, so the image is real, 24 cm in front of the mirror.
  5. Magnify. m=vu=2440=0.60m = -\dfrac{v}{u} = -\dfrac{-24}{-40} = -0.60 — negative, so inverted, and m<1|m| < 1, so diminished.

Real, inverted, and 60% of the object's height. Every mirror question is these five steps.

What Does the Focus of a Concave Mirror Actually Do?

Most diagrams reduce the focus to a letter F on a line, which makes it look like a label rather than a place. It is a place, and the way to see it is to send in a wall of light travelling parallel to the axis — light from something effectively infinitely far away, like the sun or a star — and watch where the reflected rays end up.

The simulation below does exactly that, ray by ray, off a genuine curved surface. Nothing in it uses the mirror formula: each ray is reflected about the true surface normal and followed until it meets the axis. The dish has a fixed radius of curvature of R = 100 cm, so the textbook answer for its focus is R/2 = 50 cm. The aperture slider controls how far off-axis the outermost ray is allowed to strike.

Try it yourself

  1. Leave it exactly as it loads — a spherical dish with the aperture at 0.30 × R. The readout says the paraxial focus is 50.00 cm, but the marginal ray crosses the axis at 47.59 cm: a spread of 2.41 cm, or 4.83%. The single focal point is already a smear.
  2. Drag the aperture out to 0.45 × R. The marginal crossing falls to 44.01 cm and the amber caustic curve — the envelope the reflected rays pile up along — opens out across several centimetres of axis.
  3. Now stop the aperture right down to 0.05 × R. The spread collapses to 0.06 cm (0.13%) and the light gathers into a single bright point. Near the axis, f = R/2 is true.
  4. Switch the surface to Parabolic and drag the aperture across its whole range. The spread reads 0.00 cm at every setting, and the caustic is gone entirely — a parabola has none.
  5. Switch Direction to Project, which puts a point source at F and runs the light back out. On Parabolic the outgoing beam convergence reads 0.000° — a perfectly parallel beam. Flip back to Spherical at 0.45 × R and it reads 4.621°: the outer rays tilt inward and the beam pinches instead of collimating.
f = R/2 is a paraxial result — it only holds for rays that stay close to the axis. Open the aperture on a spherical dish and the outer rays cross early, smearing the focus into a caustic. That is why large telescope mirrors are ground to a parabola, which brings every ray to one point no matter how wide the dish.
Surface shape
Aperture
0.30 × R
Direction
Radius of curvature R = 100 cm
Paraxial focus R/2: 50.00 cm
Marginal ray (h = 30.0 cm) crosses at 47.59 cm
Spread: 2.41 cm (4.83%)

So f=R/2f = R/2 is a paraxial result. It is the limit as the rays crowd in toward the axis, and it degrades smoothly as you open the dish up — 4.83% out at an aperture of 0.30 × R, nearly 12% out at 0.45 × R. The blur has a name, spherical aberration, and the curve the light piles up along is the caustic — the same bright cusp you can see in a mug of coffee under a desk lamp. Grinding the surface to a parabola instead of a sphere removes it completely, which is why a Newtonian telescope's primary is figured to a parabola rather than left spherical. The general cure is always a non-spherical figure, not the parabola specifically: most large modern telescopes are Ritchey–Chrétien designs whose primary is a hyperboloid, chosen because it cancels coma as well. A cheap torch reflector is figured to nothing at all, and keeps the aberration.

The Direction toggle is worth a second look, because it is the same dish doing two jobs. Light paths run equally well backwards: a mirror that gathers parallel light into a point will, fed from that point, throw a parallel beam back out. Collect is a telescope or a solar cooker. Project is a headlight or a searchlight. One piece of geometry, arrows reversed — and on a sphere, imperfect in both directions for exactly the same reason.

How Are Ray Diagrams Constructed for a Curved Mirror?

You never need to trace hundreds of rays. Any two rays whose behaviour you already know will cross at the image point, and a curved mirror hands you three such rays for free.

Rule 1 — parallel in, through F out. A ray arriving parallel to the axis is reflected through the focus. This is the definition of the focus, run forwards.

Rule 2 — through F in, parallel out. A ray heading for the focus comes back parallel to the axis. This is Rule 1 run backwards, and it is the projector case from the simulation above.

Rule 3 — through C in, straight back out. A ray aimed at the centre of curvature hits the surface along the normal and retraces its own path exactly.

Why does the ray through C retrace itself?

Because every normal to a sphere is a radius. A ray aimed at C is travelling straight down a radius, so it meets the surface head-on at 0° incidence, and a ray at 0° incidence reflects straight back the way it came. That is the one construction rule with no lens counterpart at all — a lens has two surfaces with two separate centres of curvature, and a ray aimed at either one is still bent onward by the other, so no aimed ray ever retraces itself — and it is the reason the object, C, and the image always lie on one straight line.

Two of these three rays already fix the image. The third is a free check: if it does not pass through the same point, you have made an arithmetic error somewhere.

Interactive Concave and Convex Mirror Ray Diagram Simulator

Here all three rules run at once on a live bench. Drag the blue object arrow along the axis with your pointer and watch the construction rebuild itself, with light pulses travelling out to the mirror and coming back — the one thing that distinguishes a mirror from a lens. The |u| slider does the same job for keyboard users. The readout underneath is a live mirror-formula calculator: signed u, v, f, R and m, plus the verdict on the image.

Try it yourself

  1. Grab the blue arrow and drag it slowly toward the mirror. Watch v in the readout: the image marches away from the mirror, runs off the left edge of the frame, and reappears behind the glass. Nothing about the mirror changed — only the distance.
  2. Put |u| back to 40 cm. The readout reads v = −24.0 cm, m = −0.60, and the verdict is "Real (in front of the mirror) · Inverted · Diminished" — the five-step calculation from earlier on this page, done live.
  3. Press "Screen test". A card drops in at the image plane and the caption reads "light converges here — image lands on the screen". Now slide |u| to 8 cm: v flips to 17.1 cm, the image goes behind the glass, and the caption becomes "no light arrives — the image is behind the mirror". That is the whole physical content of the sign of v.
  4. Set |u| to exactly 15 cm — the same as |f|. v reads −∞ and the verdict is "At infinity". The cyan "Through F → parallel" ray vanishes, because the object tip is already sitting at F and a ray aimed at F has no direction. The two rays left over leave the mirror parallel to each other rather than converging anywhere — which is exactly what "image at infinity" means. With the screen still on, it says so: "the reflected light leaves parallel — no screen ever catches it".
  5. Set |u| to exactly 30 cm — the same as |R|. Now it is the violet "Through C → retraces itself" ray that vanishes, for the identical reason, and the readout reads v = −30.0 cm, m = −1.00, "Same size". Object and image have met at the centre of curvature.
  6. Switch to Convex and drag the object anywhere between 2 and 80 cm. v never leaves the positive side, m never leaves the range 0 to 1, and the verdict is always virtual, upright, diminished. There is no second case.
u
−40.0 cm
v
−24.0 cm
f
−15.0 cm
R
−30.0 cm
m
−0.60
Real (in front of the mirror) · Inverted · Diminished
Mirror type
Focal length
15 cm
Object distance
40 cm
Construction rays
Screen test

Try switching individual rays off with the three chips. Any two of them already pin the image down, and following one at a time is far easier than untangling three. The screen test is the part worth dwelling on: a real image is made of light that genuinely converges at that spot, so a piece of card put there catches a picture. A virtual image has no such place — the light diverges after reflection and only appears to come from behind the glass. The card stays blank wherever you put it. That physical difference is what the sign of vv is recording, and it is why "real or virtual" is not bookkeeping.

What Is Magnification in a Spherical Mirror?

m=vu=hhm = -\frac{v}{u} = \frac{h'}{h}

The minus sign is part of the mirror convention, not a typo — it is what makes a real image (both uu and vv negative) come out with a negative mm, and therefore inverted. Reading a magnification is two independent questions:

  • The sign tells you which way up. m<0m < 0 means inverted, m>0m > 0 means upright. Every real mirror image is inverted; every virtual one is upright. There are no exceptions in either direction.
  • The size tells you how big. m>1|m| > 1 is magnified, m<1|m| < 1 is diminished, m=1|m| = 1 is life-size.

So m=0.60m = -0.60 is inverted and 60% as tall; m=+3m = +3 is upright and three times as tall; m=+1/6m = +1/6 is upright and a sixth of the size. Because m=h/hm = h'/h as well, magnification is also the fastest route to an image height once you have vv: multiply the object height by mm and keep the sign.

How Is the Mirror Formula Different from the Lens Formula?

The two equations look almost identical, which is exactly the trap. Compare them against the lens formula and its interactive ray diagram:

Spherical mirrorThin lens
Equation1/v + 1/u = 1/f1/v − 1/u = 1/f
PhysicsReflection — light bounces backRefraction — light passes through
Real image formsIn front, same side as the objectBehind, opposite side from the object
Sign of v for a real imageNegativePositive
Converging elementConcave, f negativeConvex, f positive
Diverging elementConvex, f positiveConcave, f negative
Second axis markerCentre of curvature C at R = 2fNone — a thin lens has no C to aim at
Construction rays3, including "through C, retraces itself"3, including "straight through the optical centre"

The deeper difference is the mechanism. A mirror obeys the law of reflection: angle of incidence equals angle of reflection, at every point, exactly, with no dependence on wavelength. A lens bends light by refraction, which is governed by Snell's law and the refractive indices of the two media — and because refractive index varies with colour, a simple lens smears white light into a fringe of colour. A mirror never does. That is one of three reasons every research telescope built in the last century collects light with a mirror rather than a lens: a large lens also has to be supported at its rim, where it sags under its own weight, and it needs two flawless optical surfaces cut into a large, perfectly homogeneous blank of glass. A mirror is supported across its whole back, and only one surface has to be right. The last great refractor, the Yerkes 40-inch, was finished in 1897.

Why Do Concave and Convex Mirrors Form Different Kinds of Images?

A concave mirror converges light, so whether the reflected rays actually manage to cross depends on how much convergence they were given — which depends entirely on where the object sits. A convex mirror diverges light, so they never cross at all. That is the whole story, and it produces five distinct outcomes for a concave mirror and exactly one for a convex mirror.

The five zones of a concave mirror

Worked here with f=10f = -10 cm, so R=20R = -20 cm — the focus 10 cm from the pole and the centre of curvature 20 cm from it.

Object positionu (cm)v (cm)mImage
Beyond C−40−13.33−0.333Real, inverted, diminished
At C−20−20−1Real, inverted, same size
Between C and F−15−30−2Real, inverted, magnified
At F−10−∞−∞Real, inverted, highly magnified — the image is at infinity
Between F and the pole−6+15+2.5Virtual, upright, magnified

Read down the v column and the pattern is one continuous motion, not five separate cases. As the object walks in from far away, the image walks out — they cross at C, where both sit 20 cm from the mirror at the same size. Keep going and the image races off toward infinity, arriving there exactly as the object reaches F. Push past F and it reappears on the other side of the mirror, upright and enlarged. Every one of these rows is a setting you can dial up on the bench above.

Why is a convex mirror's image always virtual and diminished?

This one is a theorem, not a survey of examples. For a convex mirror f>0f > 0, and the object is always in front, so u<0u < 0. Then

1v=1f1u\frac{1}{v} = \frac{1}{f} - \frac{1}{u}

is the sum of two strictly positive terms: written with magnitudes, 1/v=1/f+1/u1/v = 1/f + 1/|u|. Two consequences follow immediately and admit no exceptions.

  • 1/v>1/f1/v > 1/f, so 0<v<f0 < v < f. Positive vv puts the image behind the mirror, so it is always virtual — and always upright, since m=v/um = -v/u is then positive.
  • 1/v>1/u1/v > 1/|u|, so v<uv < |u|, so m=v/u<1|m| = v/|u| < 1. It is always diminished.

There is no zone structure to learn, because there are no zones. Note also that v<fv < f always: no matter how far away the object, the image never gets further from a convex mirror than its own focal length.

Where Are Concave and Convex Mirrors Used in Real Life?

Convex · car door mirror

Around f = +60 cm — US federal rules (FMVSS 571.111) require a passenger-side convex mirror to have an average radius of curvature between 889 mm and 1651 mm, i.e. f from 44.5 cm to 82.6 cm, and UNECE R46 sets r ≥ 1200 mm. A car three metres back arrives in the glass at a sixth of its size, and that buys a field of view about twice as wide as flat glass of the same width. Hence the etched warning.

Concave · shaving mirror

Always used with your face inside the focus — the one concave zone that gives an upright image. Real ones vary; the worked example below takes f = −12 cm at 8 cm because the arithmetic comes out exactly ×3, and every such mirror collapses the moment you lean back past F.

Convex · shop security dome

A much tighter curve than a car mirror — bought precisely because it is strongly convex. Push the simulation below to its most curved setting, f = +15 cm, and the same 20 cm of glass covers 79.61° of floor instead of a flat mirror's 18.92°, at the cost of everything in it looking distant and small.

Concave mirrors show up wherever light needs gathering or throwing: telescope primaries, solar cookers, headlight and torch reflectors, dentists' mirrors, make-up and shaving mirrors. Convex mirrors show up wherever coverage matters more than size: vehicle door mirrors, blind-corner road mirrors, shop security domes, ATM surrounds.

The convex case deserves a proper look, because "it shrinks things" sounds like a defect rather than the point. The simulation below is an overhead plan view of a driver, a mirror, and a road — not a ray diagram. The driver's eye is fixed 60 cm in front of the glass, on the road side; the shaded wedge is the region the mirror actually shows them, and three markers on the road light up green when they fall inside it. The wedge is a paraxial construction, so the very widest settings are indicative rather than exact.

Try it yourself

  1. Start with the defaults — a convex mirror, f = 60 cm, D = 20 cm wide, which is a realistic car door mirror. The readout reads a field of view of 36.87° against a flat mirror's 18.92°: a ratio of 1.95×. The car in the next lane arrives in the glass at ×0.1667, one sixth of its true size.
  2. Click Flat. The cyan wedge narrows to the flat mirror's cone, the car in the next lane greys out and disappears from the viewport strip, and the counter drops to "1 of 3 in view" — the pedestrian is all that is left. The amber triangle the car is now sitting in is labelled BLIND SPOT.
  3. Click back to Convex and just watch for a few seconds. The motorcycle drifts sideways on its own; it greys out the instant it crosses the edge of the wedge, and lights up again on the way back. That edge is the field of view, drawn.
  4. Drag the focal length up to 200 cm. The line under the slider changes to "R = 2f = 400 cm — nearly flat", the field of view collapses to 24.45°, and the ratio falls to 1.29×. Flatten the glass and the advantage very nearly disappears.
  5. Put f back to 60 cm and drag the mirror width D to 30 cm instead. The field of view opens to 53.13° — but the car is still at ×0.1667. Making the glass bigger buys you view for free; only curving it costs you size.
Bulging the glass pulls the virtual image of your own eye closer to the mirror, and the cone drawn from that point through the rim opens out — that is the entire trick. The same shrunken vₑ that widens the cone also shrinks everything projected through it, so at this curvature the car that a flat mirror could not see at all arrives in the glass at ×0.167 of its true size — the number in the readout — and reads as further away than it is. That is why the warning etched on it says objects in mirror are closer than they appear: the wide view and the small image are one effect, not two. Both wedges here are paraxial constructions, drawn from a single virtual eye-point, so the widest settings are indicative rather than exact — a real mirror this curved smears its rim rays the way the spherical-aberration simulation higher up the page does.
Compare
Curvature
60 cm
R = 2f = 120 cm — about as curved as a car door mirror
Mirror width
20 cm
Field of view: 36.87°
Flat mirror, same width: 18.92°
Convex ÷ flat: 1.95×
Car in the next lane at 3.00 m: ×0.1667

The mechanism is the one thing the plan view makes obvious and a ray diagram never does. Bulging the glass forms a virtual image of the driver's own eye closer to the mirror — 30 cm behind it instead of the flat mirror's 60 cm — and the cone drawn from that point out through the two rims opens up accordingly. The widened view and the shrunken image are not two effects to be traded off against each other. They are the same shrunken eye-image, seen twice. That is precisely what the warning printed on the glass means: objects in mirror are closer than they appear.

Worked Examples for Physics Exams

Worked Example

Example 1 — Concave shaving mirror, object inside the focus

A concave mirror of focal length 12 cm is held 8 cm from a face. Find the image distance, the magnification, and the nature of the image.

Concave, so f=12f = -12 cm. Object in front, so u=8u = -8 cm.

1v=1f1u=11218=224+324=124\frac{1}{v} = \frac{1}{f} - \frac{1}{u} = \frac{1}{-12} - \frac{1}{-8} = -\frac{2}{24} + \frac{3}{24} = \frac{1}{24}

v=+24 cmv = +24 \text{ cm}

Positive vv means the image is behind the mirror — virtual, and no screen will ever catch it.

m=vu=+248=+3m = -\frac{v}{u} = -\frac{+24}{-8} = +3

Positive, so upright; m=3>1|m| = 3 > 1, so magnified three times. This is the "between F and the pole" zone from the five-zone table, and it is the only concave arrangement that gives an upright image — which is exactly why a shaving mirror only works close up.

Check it on the bench: set the mirror to Concave, |f| to 12 cm, and |u| to 8 cm. The readout reads v = 24.0 cm and m = 3.00.

Worked Example

Example 2 — Concave mirror, object beyond the centre of curvature

The same mirror (f=12f = -12 cm, so R=24R = -24 cm) with the object 36 cm away — well beyond C. Find v, m and the nature of the image.

1v=112136=336+136=236=118\frac{1}{v} = \frac{1}{-12} - \frac{1}{-36} = -\frac{3}{36} + \frac{1}{36} = -\frac{2}{36} = -\frac{1}{18}

v=18 cmv = -18 \text{ cm}

Negative vv, so the image is real, 18 cm in front of the mirror — and it would land on a card held there.

m=vu=1836=0.5m = -\frac{v}{u} = -\frac{-18}{-36} = -0.5

Negative, so inverted; m=0.5<1|m| = 0.5 < 1, so diminished to half size. Note that v=18|v| = 18 cm sits between f=12|f| = 12 and R=24|R| = 24: whenever the object is beyond C, the image lands between F and C. That is a useful sanity check on any answer.

Check it on the bench: Concave, |f| = 12 cm, |u| = 36 cm gives v = −18.0 cm and m = −0.50.

Worked Example

Example 3 — Convex car mirror, distant object

A car door mirror has focal length 60 cm — squarely inside the range road-vehicle regulations require. Another car is 3.00 m — 300 cm — behind it. Find the image position and how large it appears.

Convex, so f=+60f = +60 cm, and u=300u = -300 cm.

1v=1601300=5300+1300=6300=150\frac{1}{v} = \frac{1}{60} - \frac{1}{-300} = \frac{5}{300} + \frac{1}{300} = \frac{6}{300} = \frac{1}{50}

v=+50 cmv = +50 \text{ cm}

Virtual, exactly 50 cm behind the glass — and note that it is less than f=60f = 60 cm, as the theorem above guarantees it must be.

m=vu=+50300=+16+0.167m = -\frac{v}{u} = -\frac{+50}{-300} = +\frac{1}{6} \approx +0.167

Upright, and one sixth of full size. A car 4.5 m long images 75 cm long. Your brain reads "small" as "far away", which is why that mirror carries a warning — and why the field-of-view simulation above quotes exactly this ×0.1667 for a car at 3.00 m.

(Neither this focal length nor this object distance is reachable on the bench simulator, whose |f| tops out at 40 cm and |u| at 80 cm, so it cannot be reproduced there. For an in-range convex check, switch the bench to Convex with |f| = 20 cm and |u| = 80 cm: the readout gives v = 16.0 cm and m = 0.20 — same behaviour, nearer object and a tighter curve.)

Frequently Asked Questions

Mirror Formula and Sign Convention Quick Reference

QuantityFormulaNotes
Mirror formula1v+1u=1f\frac{1}{v} + \frac{1}{u} = \frac{1}{f}Rearranged: 1v=1f1u\frac{1}{v} = \frac{1}{f} - \frac{1}{u}
Focal lengthf=R/2f = R/2Paraxial only; same sign as R
Magnificationm=vu=hhm = -\frac{v}{u} = \frac{h'}{h}Sign = orientation, magnitude = size
Concave mirrorf<0f < 0, R<0R < 0Converging; five image zones
Convex mirrorf>0f > 0, R>0R > 0Diverging; always virtual, upright, diminished
Real imagev<0v < 0In front of the mirror; catches on a screen
Virtual imagev>0v > 0Behind the mirror; catches nothing

Explore more simulations

Every concept on PhysicStuff has an interactive simulation. No login, no setup required.