StudyBrio

Ray diagram maker

Lenses & mirrors
Image distance di30 cm
Magnification m-0.5
Image height hi-5 cm
Image typeReal · inverted
Converging lens · Real-is-positive convention
Principal axisFF2F2FObjectReal imageSolid rays: light direction · Dashed lines: backward extensions

Drag the object tip or the focal-point handle. All distances use centimetres; the view fits automatically.

Object, focal length & settings
1/f = 1/do + 1/di · m = −di/do · hi = m ho · f = 20 cm
Save, share & print

Explore image formation

Choose a converging or diverging thin lens, or a concave or convex spherical mirror. Two principal rays locate the image: one parallel to the axis and one through the optical centre or mirror vertex. Arrows show light travel; dashed lines are backward extensions, not additional light rays.

This tool uses the real-is-positive convention: the real object distance is positive; image distance is positive for a real image and negative for a virtual image. Focal length is positive for converging lenses and concave mirrors, negative for diverging lenses and convex mirrors. Positive image height is upright; negative is inverted. Other textbooks may use different signed-coordinate conventions.

At the positive focal point, outgoing rays are parallel and there is no finite image distance or height. Near focus, an image can lie outside the displayed area; the numerical result remains available. The drawing is an ideal paraxial model: it omits a principal ray that misses the mirror aperture and does not model aberrations, diffraction, thick lenses or multiple elements. The mirror outline follows a spherical profile, while image values use the paraxial approximation. The surface and principal rays are schematic.

Mirror height changes the aperture without changing the focal length. Curvature changes the radius and focal length together. To shorten the focal length beyond its current limit, first reduce the mirror height.

Print a clean diagram or a worksheet containing the object and focal markers, with rays and image left for students to draw. Answer keys show rays, image classification and calculated values. Local saves are available without login; cloud storage provides three saves per account for this tool.

OpenStax · Thin lenses · Spherical mirrors