Locating an image in a curved mirror
A shaving mirror magnifies your face, a car side mirror shrinks the road behind you, and a telescope mirror brings starlight to a point. In each case a ray diagram would tell you where the image forms, and the mirror equation gives the same answer with arithmetic. This page takes the focal length and the object distance and returns the image distance. A positive result means a real image in front of the mirror, where a screen could catch it, and a negative result means a virtual image behind the mirror, as in a bathroom mirror. The same unit must be used for all three quantities.
The equation and the sign rules
For a spherical mirror in the paraxial approximation, 1/f = 1/o + 1/i. Solving for the image distance gives i = 1 / (1/f - 1/o), the form used here. OpenStax College Physics covers it in its section on image formation by mirrors. Positive focal length describes a concave mirror, one that curves inward and converges light. Negative focal length describes a convex mirror, which diverges light. The object distance is entered as a positive number for a real object in front of the mirror. The focal length of a spherical mirror is half its radius of curvature, so a mirror with a 0.4 m radius has f = 0.2 m.
Concave mirror with f at 0.1 m
The page opens with a concave mirror of f = 0.1 m and an object 0.3 m away. The reciprocals are 10 and 3.333, their difference is 6.667, and the image distance is 0.15 m, a real image in front of the mirror. The magnification is minus the image distance over the object distance, here -0.15 / 0.3 = -0.5. The negative sign means the image is inverted, and the magnitude shows it is half the size of the object. Because the object sits beyond twice the focal length, the image is real, inverted and reduced, as ray diagrams for concave mirrors show. A good habit is to check the answer with the reciprocal form: 1/0.1 = 10, 1/0.3 = 3.333 and 1/0.15 = 6.667, and 3.333 + 6.667 returns the 10 you started with. Magnification tells you what size screen you need to catch the image.
Inside the focal length
Move the object closer than the focal length and the image changes character. For a concave mirror with f = 0.2 m and an object 0.1 m away, the reciprocals are 5 and 10, the difference is -5 and the image distance is -0.2 m. The negative value marks a virtual image 0.2 m behind the mirror. The magnification is -(-0.2) / 0.1 = 2, so the image is upright and twice as large. This is the shaving mirror effect. A concave mirror with f = 0.25 m and an object at 0.5 m, twice the focal length, puts the image at 0.5 m too, at the center of curvature, the same size and inverted.
Convex mirrors
A convex mirror always forms a virtual, upright, reduced image of a real object. Take f = -0.5 m and an object 2 m away. The reciprocals are -2 and 0.5, the difference is -2.5 and the image distance is -0.4 m, behind the mirror. The magnification is 0.4 / 2 = 0.2, so the image is a fifth of the object's size. A car mirror with a focal length of -1 m shows a vehicle 10 m behind at an image distance of -0.909 m. Wide-angle security and vehicle mirrors rely on this shrinking effect to cover a large field of view in a small surface. The trade-off is that objects look farther away than they are, which is why many passenger-side mirrors carry a warning that objects are closer than they appear. Moving the object farther away makes the image shrink further and creep toward the focal point, so a very distant object forms its image almost exactly one focal length behind a convex mirror.
When the object sits at the focal point
If the object distance equals the focal length of a concave mirror, the difference of reciprocals is zero and the formula divides by zero. Physically, the reflected rays leave parallel and the image forms at infinity. The page needs a finite result, so it cannot report that case. Anything very close to the focal point gives a very large image distance, and small measurement errors then swing the answer widely. Searchlights and flashlights exploit this situation by placing the lamp near the focus to produce a nearly parallel beam. In calculations, avoid entering an object distance equal to f.
Practical uses and measurement
To find the focal length of an unknown concave mirror, point it at a distant window or lamp and find where a sharp image lands on a sheet of paper. The distance from the mirror to that image is approximately f. Then place an object at a measured distance, find the new sharp image and compare the measured image distance with this page. Agreement within a few percent indicates your measurement and the paraxial model are adequate. Telescope mirrors, solar cookers and dental mirrors are real applications. Large-aperture spherical mirrors show spherical aberration, which is why many are parabolic. A solar cooker is a handy test: the sun is effectively at infinite distance, so the hot spot sits at the focal point, and a dish with a 1.2 m radius of curvature concentrates light 0.6 m in front of it. Dentists use small concave mirrors held close to a tooth, inside the focal length, to get the upright magnified virtual image computed earlier.
Paraxial rays and ideal spherical mirrors only
The calculation applies to ideal paraxial spherical mirrors, where rays strike near the axis at small angles. Rays far from the axis focus at slightly different points, which blurs real images. The page works with magnitudes in a single plane and does not trace actual rays or account for mirror thickness, coatings or surface errors. Using different length units for the inputs gives meaningless output. The result is a finite scalar educational estimate and makes no claim about optical performance of a particular product. Real mirrors also have a finite size, so an object very far off the axis, or an image that would fall outside the mirror's aperture, cannot be seen at all even when the equation returns a number. Spherical mirrors with a small aperture compared with the radius of curvature, which is the usual teaching case, keep the error small.