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

Frequently Asked Questions

Related tools

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