Thin Lens Calculator
Calculate image distance, object distance, focal length, magnification, image height, image type and lens power from the thin-lens equation.
Thin lens equation
English search intent for this page is classroom optics: solve the thin-lens equation, then interpret image distance, magnification and whether the image is real or virtual.
f is focal length, d_o object distance and d_i image distance.
M is lateral magnification. A negative value means the image is inverted.
P is lens power in diopters when focal length is entered in meters.
Sign convention and limits
| Quantity | Positive result | Negative result |
|---|---|---|
| Focal length | Converging lens | Diverging lens |
| Image distance | Real image on the opposite side of the lens | Virtual image on the object side |
| Magnification | Upright image | Inverted image |
Frequently Asked Questions
Sources and References
Calculations are based on the listed reference sources. Links open in a new tab.
Related Tools
Solve Snell's law for refraction angle, incident angle, refractive index, critical angle, total internal reflection and Brewster angle.
Calculate wavelength, frequency, wave speed, period and wave number for light, radio waves, sound and custom media.
Calculate diffraction angle, wavelength, grating spacing, line density, maximum order, angular dispersion and resolving power from the grating equation.