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.
Result
—
cm
Focal Length
—
Object Distance
—
Image Distance
—
Magnification
—
Image Properties
Type
—
Orientation
—
Size
—
Ray Diagram
Summary
Solve the mirror equation (1/f = 1/do + 1/di) for any unknown: focal length, object distance, or image distance.
How it works
- Select which variable you want to solve for: focal length, object distance, or image distance.
- Enter the known values in the input fields using the sign convention (positive = real/in front; negative = virtual/behind).
- Click Calculate to apply the mirror equation and see the result.
- Review the magnification, image orientation, and image type (real vs. virtual) shown below the result.
- 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
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu