Mirror Equation Calculator

Solve the mirror equation (1/f = 1/do + 1/di) for any unknown: focal length, object distance, or image distance.

Use the Mirror Equation Calculator

Mirror Equation Solver

1/f = 1/d₀ + 1/dᵢ  |  m = −dᵢ / d₀

Positive = concave  |  Negative = convex

Usually positive (object in front of mirror)

Positive = real (front)  |  Negative = virtual (behind)

Enter two known values and click Calculate.

Summary

The mirror equation (1/f = 1/do + 1/di) relates the focal length of a curved mirror to the object and image distances. This calculator solves for any one of the three variables when the other two are known, and also computes the magnification and characterizes the resulting image.

How it works

  1. Select which variable you want to solve for: focal length, object distance, or image distance.
  2. Enter the known values in the input fields using the sign convention (positive = real/in front; negative = virtual/behind).
  3. Click Calculate to apply the mirror equation and see the result.
  4. Review the magnification, image orientation, and image type (real vs. virtual) shown below the result.
  5. Enter a positive focal length for a concave mirror or a negative focal length for a convex mirror.

Use cases

  • Solve optics homework problems involving curved mirrors.
  • Verify lab results for concave or convex mirror experiments.
  • Determine where an image forms for a given object placement.
  • Calculate the focal length needed to produce a specific image distance.
  • Understand image properties (real/virtual, upright/inverted, magnified/diminished).
  • Prepare for physics exams covering geometric optics.

Frequently Asked Questions

Last updated: 2026-05-23 · Reviewed by Nham Vu