Thin Lens Equation & Focal Length Calculator
Solve the thin lens (or mirror) equation 1/f = 1/dₒ + 1/dᵢ for focal length, object or image distance — with magnification, image type and…
Solve the thin lens (or mirror) equation 1/f = 1/dₒ + 1/dᵢ for focal length, object or image distance — with magnification, image type and lens power.
Results
Enter your details and click Calculate to see your results.
About This Calculator
1/f = 1/dₒ + 1/dᵢ; magnification m = −dᵢ/dₒ; power P = 1/f (in metres).
Example
Example: f = 10 cm, object at 30 cm → image at 15 cm, magnification -0.5.
Assumptions
Real-is-positive convention: converging lens f > 0, diverging f < 0; virtual images have dᵢ < 0.
Frequently Asked Questions
Same formula for mirrors?
Yes — concave mirrors f > 0, convex f < 0.
Related Calculators
About the Author

Imran Hossain
Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile