All lengths are in cm. Light travels left to right. A surface radius is positive if its center of curvature is to the right, negative if to the left. Biconvex: R₁>0, R₂<0; biconcave: the reverse. Radius zero is invalid; use the Plane checkbox.
Animation only highlights rays; it does not represent the speed of light or travel time. Calculation remains available while stopped.
The profile and thickness are schematic. Rays bend at the central thin-lens plane: a paraxial model, not exact Snell-law tracing at the drawn surfaces. Horizontal and vertical scales differ, but object and image arrows share one vertical scale.
Magnifier example: n=1.5, R₁=10cm, R₂=−10cm give 1/f=0.1cm⁻¹. At s=5cm, s′=1/(0.1−0.2)=−10cm and M=2. The same lens at s=20cm gives s′=20cm and M=−1, a unit-size real image. Use the buttons to load these inputs.
For a thin spherical lens in air, refractive index n and signed radii R1, R2 set the focal length (lensmaker equation):
$$\frac{1}{f} = (n-1)\left(\frac{1}{R_1} - \frac{1}{R_2}\right)$$The Gaussian thin-lens equation links object distance s and image distance s':
$$\frac{1}{s} + \frac{1}{s'} = \frac{1}{f}$$Transverse magnification M: negative is inverted, positive upright; |M|>1 magnified, |M|<1 reduced:
$$M = -\frac{s'}{s}$$Assumptions: air (surrounding index 1), spherical thin lens, paraxial rays. A plane contributes 1/R=0. Power P=100/f in D when f is in cm. Thickness, aberrations, dispersion, compound lenses and underwater imaging are not computed. Each radius sign follows its center of curvature.
Reference: OpenStax University Physics Vol.3 §2.4: thin lenses, sign conventions and imaging. Diagrams and examples were created for this tool.