Mirror Equation Calculator

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

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

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

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. Use the concave/convex toggle to auto-apply the correct focal length sign for reference.

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-07-01 · Reviewed by Nham Vu