Lens Equation Calculator
Enter any two of focal length, object distance, or image distance to solve the thin lens equation instantly.
Thin Lens Equation
1 / f = 1 / do + 1 / di
Sign Convention
- f > 0 Converging (convex) lens
- f < 0 Diverging (concave) lens
- di > 0 Real image (opposite side)
- di < 0 Virtual image (same side)
Enter two values and click Calculate to solve the lens equation.
Solved Value
cm
All Values
Focal Length (f)
—
cm
Object Dist. (do)
—
cm
Image Dist. (di)
—
cm
Image Properties
Magnification (m)
—
Image Type
—
Orientation
—
Size
—
Equation Check
Summary
Enter any two of focal length, object distance, or image distance to solve the thin lens equation instantly.
How it works
- Select which variable you want to solve for: focal length (f), object distance (do), or image distance (di).
- Enter the two known values in centimeters.
- Click Calculate — the tool applies the thin lens equation to find the unknown.
- Review the result: image distance, magnification, and image properties are displayed.
- Use negative values for diverging lenses (negative f) or virtual images (negative di).
- Clear the form and try different inputs to explore how lenses behave.
Use cases
- Physics students solving optics homework problems.
- Lab technicians verifying focal lengths of unknown lenses.
- Photographers calculating minimum focus distances.
- Teachers demonstrating real vs. virtual image formation.
- Engineers designing projection systems or microscopes.
- Science enthusiasts exploring how converging and diverging lenses differ.
Frequently Asked Questions
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu