SCIENCE • OPTICS & ELECTRICITY

Mirror Formula Calculator

Calculate focal length, object distance or image distance using the mirror equation.

Formula

1/f = 1/do + 1/di

Worked example

Use the inputs above to reproduce a classroom calculation and compare the displayed result with the formula.

Assumptions and limits

This is an introductory model. Keep units consistent and follow the sign, geometry and physical assumptions required by the formula.

Mirror Formula Calculator Guide — Focal Length & Image Distance

Use this calculator for introductory spherical mirror problems involving object distance, image distance and focal length.

Search intent: mirror formula calculator, spherical mirror calculator, focal length mirror, image distance mirror, object distance mirror, optics calculator, mirror equation solver.

Optics sign conventions differ between Cartesian and other textbook conventions. Always apply the convention required by the problem rather than mixing systems.

Related calculators

Science Hub · Force · Kinematics · Wave Speed

Practical interpretation

Use the calculator with consistent units and a clearly defined physical model. The numerical result is only as reliable as the measurements, assumptions and sign conventions supplied as inputs.

Check before using the result

Confirm the relevant medium or material, reference direction, unit system and whether the idealized equation matches the situation being modeled. Real systems can require additional terms or corrections.

Calculator FAQ

Why can a textbook result differ from a real measurement?

Textbook equations often use ideal assumptions such as negligible losses, constant properties or simplified geometry. Real measurements can include uncertainty and effects that the basic model does not represent.

Mirror Formula Calculator: Focal Length and Image Distance

The mirror equation relates focal length, object distance and image distance for an ideal spherical mirror under the paraxial-ray approximation. Because textbooks may use different sign conventions, always interpret positive and negative distances according to the convention your course uses. The equation is useful for checking whether three supplied values are consistent or solving for one missing value.

Formula

1/f = 1/do + 1/di, where f is focal length, do is object distance and di is image distance. Rearranging gives f = (do × di) ÷ (do + di), do = (f × di) ÷ (di − f), and di = (f × do) ÷ (do − f), when the denominators are non-zero. A zero denominator represents a special limiting case rather than an ordinary finite result.

Worked example

Using the magnitude form for a concave mirror, if f = 0.20 m and do = 0.40 m, then 1/di = 1/f − 1/do = 5 − 2.5 = 2.5 per metre, so di = 0.40 m. This is the familiar case where an object is placed at twice the focal length and the real image forms at twice the focal length. Sign interpretation still depends on the chosen convention.

How to use the calculator

  1. Enter exactly two valid non-zero quantities if you want to solve for the third.
  2. Use one consistent distance unit for all entries.
  3. Leave the unknown field blank rather than entering a guessed value.
  4. If checking three values, compare the reciprocal sums and inspect the sign convention.

Interpretation limits

The simple mirror equation assumes an idealized spherical mirror and rays close to the principal axis. Large-angle rays, mirror aberrations and real-world measurement errors can cause experimental results to differ. Do not mix the magnitude convention in one textbook with the Cartesian sign convention from another. A calculator can verify algebra, but a ray diagram is often the best way to understand whether an image is real or virtual and upright or inverted.

Frequently asked questions

Why does the calculator ask for two values?

The mirror equation has three related quantities; two determine the third when the case is mathematically valid.

Can focal length be zero?

Not for an ordinary finite spherical mirror model; zero causes the reciprocal equation to be undefined.

Does a negative image distance always mean an error?

No. Its meaning depends on the sign convention and whether the image is virtual.