Understanding the Thin Lens Equation
The thin lens equation (1/f = 1/do + 1/di) is one of the most fundamental relationships in geometric optics. It connects the focal length of a lens to the distances of the object and its image. First formalized in the 17th century, this equation remains essential for designing cameras, telescopes, microscopes, eyeglasses, and countless other optical instruments. The equation assumes that the lens is thin enough that all refraction occurs at a single plane, which is an excellent approximation for most everyday lenses.
This calculator lets you solve for any one of the three variables: focal length, object distance, or image distance. It also computes the magnification (m = -di/do), which tells you how large the image is relative to the object and whether it is upright or inverted. The sign conventions used here follow the standard physics convention: positive image distances correspond to real images, and positive focal lengths correspond to converging lenses.
Real vs. Virtual Images
A real image forms when light rays actually converge at a point after passing through the lens. Real images have positive image distances and can be projected onto a screen. A virtual image forms where diverging rays appear to originate; it has a negative image distance and cannot be captured on a screen but can be seen by looking through the lens. Converging lenses produce real images when the object is beyond the focal point, and virtual images when the object is between the lens and the focal point.
Magnification and Image Characteristics
The magnification tells you three things about the image: its size relative to the object (|m| > 1 means enlarged, |m| <1 means reduced
Save your results & get weekly tips
Get calculator tips, formula guides, and financial insights delivered weekly. Join 10,000+ readers.
No spam. Unsubscribe anytime.
Related Calculators
Wavelength & Frequency Calculator
Calculate wavelength, frequency, or wave speed for electromagnetic and mechanical waves.
Decibel Calculator
Convert between decibel levels, power, and amplitude ratios.
Spring Constant Calculator
Calculate the spring constant using Hooke's Law or oscillation method.
You Might Also Need
Aspect Ratio Calculator
Calculate aspect ratio, resize dimensions, and convert between formats.
Depth of Field Calculator
Calculate depth of field, near/far focus limits, and hyperfocal distance from focal length, aperture, subject distance, and sensor size.
Exposure Triangle Calculator
Calculate equivalent exposures by changing ISO, aperture, or shutter speed while maintaining the same exposure value.
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and should not be considered professional expert advice. Consult a qualified professional before making decisions based on these calculations. See our full Disclaimer.