What Is the Mirror Equation Calculator?
This tool solves the spherical mirror equation to find where an image forms and how large it appears. Enter the mirror's focal length (\(f\)) and the object distance (\(d_o\)), and it returns the image distance (\(d_i\)) and the magnification (\(M\)). It works for both concave and convex mirrors using the standard physics sign convention.
How to Use It
Choose one consistent length unit (centimeters or meters) for both inputs. For a concave (converging) mirror, enter a positive focal length; for a convex (diverging) mirror, enter a negative focal length. The object distance is normally positive when the object sits in front of the mirror. The calculator reports whether the resulting image is real or virtual and upright or inverted.
The Formula Explained
The mirror equation is \(\dfrac{1}{f} = \dfrac{1}{d_o} + \dfrac{1}{d_i}\). Rearranged to solve for image distance: \(\dfrac{1}{d_i} = \dfrac{1}{f} - \dfrac{1}{d_o}\), so $$d_i = \left( \dfrac{1}{f} - \dfrac{1}{d_o} \right)^{-1}$$ Magnification is \(M = -\dfrac{d_i}{d_o}\). A negative \(M\) means an inverted image; \(|M| > 1\) means the image is enlarged. A positive \(d_i\) indicates a real image (formed in front of the mirror), while a negative \(d_i\) indicates a virtual image behind it.
Worked Example
Suppose a concave mirror has \(f = 10\) cm and an object is placed at \(d_o = 30\) cm. Then $$\frac{1}{d_i} = \frac{1}{10} - \frac{1}{30} = 0.1 - 0.0333 = 0.0667,$$ so \(d_i = 15\) cm. Magnification \(M = -\dfrac{15}{30} = -0.5\). The image is real (\(d_i\) positive), inverted (\(M\) negative), and half the size of the object.
Key Terms and Sign Convention
- Focal length (f): the distance from the mirror's surface (vertex) to the focal point, where rays parallel to the principal axis converge (concave) or appear to diverge from (convex).
- Radius of curvature (R): the radius of the sphere of which the mirror is a part. For a spherical mirror near the axis, \(f = \frac{R}{2}\).
- Object distance (do): the distance from the object to the mirror along the principal axis. It is positive for a real object in front of the mirror.
- Image distance (di): the distance from the image to the mirror along the axis. Positive means in front of the mirror; negative means behind it.
- Magnification (M): \(M = -\frac{d_i}{d_o}\), the ratio of image height to object height. |M| > 1 means enlarged, |M| < 1 means reduced, and the sign shows orientation.
- Real image: formed where reflected rays actually meet, in front of the mirror. It can be projected onto a screen and has di > 0.
- Virtual image: formed where reflected rays only appear to originate, behind the mirror. It cannot be projected and has di < 0.
- Upright vs inverted: an upright image has the same orientation as the object (M > 0); an inverted image is flipped (M < 0).
- Concave mirror: curves inward like the inside of a bowl; it converges light and has positive f. It can form real or virtual images.
- Convex mirror: curves outward; it diverges light and has negative f. It forms only virtual, upright, reduced images of real objects.
Sign convention summary (real-is-positive)
- f is positive for concave mirrors and negative for convex mirrors.
- do is positive for real objects in front of the mirror.
- di is positive for real images (in front) and negative for virtual images (behind the mirror).
- M is negative for inverted images and positive for upright images.
Some textbooks use other conventions, so check which one your course uses before comparing signs.
FAQ
What does a negative image distance mean? The image is virtual, appearing behind the mirror, and cannot be projected onto a screen.
Why is my magnification negative? A negative \(M\) simply tells you the image is inverted relative to the object; the absolute value gives the size ratio.
Which sign do I use for a convex mirror? Convex (diverging) mirrors have a negative focal length, which always produces an upright, reduced, virtual image.