Ray Diagram
Results
Enter values to calculate
Solve lens and mirror equations with interactive ray diagrams.
No recently used tools
Loading categories...
Free lens equation calculator with interactive ray diagrams. Supports 7 optical elements — biconvex, biconcave, plano-convex, plano-concave lenses, concave, convex, and plane mirrors. Solve 1/f = 1/v − 1/u with step-by-step solutions, magnification, diopters, and radius of curvature.
Solve lens and mirror equations with interactive ray diagrams.
The thin lens equation 1/f = 1/v − 1/u relates the focal length (f), object distance (u), and image distance (v) for any thin lens or spherical mirror. It is the foundation of geometric optics, used to predict where images form and whether they are real or virtual.
Understanding the seven optical elements supported by this calculator.
Both surfaces curve outward. Positive f. Forms real or virtual images. Used in cameras, magnifying glasses, and farsightedness correction.
Both surfaces curve inward. Negative f. Always forms virtual, upright, diminished images. Used in nearsightedness correction and peepholes.
One flat surface, one convex. Positive f. Behaves like a converging lens. Common in laser optics, condensers, and imaging systems.
One flat surface, one concave. Negative f. Behaves like a diverging lens. Used in beam expanders and to correct spherical aberration.
Curves inward (R = 2f). Positive f. Forms real or virtual images. Used in telescopes, headlights, and shaving mirrors.
Curves outward (R = 2f). Negative f. Always forms virtual, upright, diminished images. Used in vehicle side mirrors and security mirrors.
Flat reflecting surface. f = ∞, P = 0 D. Always forms virtual, upright, same-size images at equal distance behind the mirror. The simplest optical element.
Optometrists prescribe lenses in diopters (P = 1/f). Positive diopters correct farsightedness; negative correct nearsightedness.
Camera lenses use the thin lens equation to focus light on the sensor. Telescopes combine converging lenses/mirrors for magnification.
Compound microscopes use two converging lenses for extreme magnification. Projectors create enlarged real images on screens.