Optics & Waves
Intermediate

Mirror Equation

Focal length relation for curved mirrors.

Formula

1f=1do+1di\frac{1}{f} = \frac{1}{d_o} + \frac{1}{d_i}

Live Calculator

Members

Variables

fFocal length
d_oObject
d_iImage

How it works

This equation links the focal length of a curved mirror to where an object is placed and where the image forms. It comes from the geometry of reflection for paraxial rays, so it works well when rays are close to the principal axis and the mirror is not used at very wide angles. If you know any two of the three quantities, you can solve for the third and predict whether the image will form closer to or farther from the mirror than the object.

When to use it

Use it for concave or convex mirror problems in ray optics when you need to find image distance, object distance, or focal length. It is especially common in physics homework and lab questions involving mirrors, magnification, and image formation.

Worked example, step by step

A concave mirror has focal length f = 12 cm, and an object is placed 18 cm in front of the mirror. 1) Start with the mirror equation: 1/f = 1/d_o + 1/d_i 2) Substitute values: 1/12 = 1/18 + 1/d_i 3) Solve for 1/d_i: 1/d_i = 1/12 - 1/18 4) Find a common denominator: 1/d_i = 3/36 - 2/36 = 1/36 5) Invert both sides: d_i = 36 cm Final answer: the image forms 36 cm in front of the mirror.

Common mistakes to avoid

  • Mixing up the sign convention for concave versus convex mirrors
  • Using the formula with distances measured from the wrong reference point instead of the mirror pole
  • Forgetting to invert the final fraction after solving for 1/d_i

Did You Know?

The mirror equation explains why a spoon shows you upside down on one side and right-way-up on the other.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026