Share this free calculator
Send this tool to someone who needs the calculation.
How to use
The thin-lens equation links focal length, object distance and image distance. The signs of image distance and magnification help classify the image.
- Enter signed focal length f.
- Enter positive dₒ for a real object.
- Calculate dᵢ.
- Review m and image type.
How it is calculated
Example
A converging lens with f=10 cm and object at 30 cm gives dᵢ=15 cm and m=−0.5: a real inverted image.
Important notes
Optics sign conventions vary by textbook; use the convention stated here consistently when comparing answers.
Worked examples and interpreting results
A thin converging lens of focal length 10 cm with an object 30 cm away forms a real image 15 cm away. Magnification −0.5 means an inverted image half the object’s size.
| Case | Calculation | Result |
|---|---|---|
| Image distance | 1 ÷ (1 ÷ 10 − 1 ÷ 30) | 15 cm |
| Signed magnification | −15 ÷ 30 | -0.5 |
How to check the result
Enter distances in centimeters. Focal length is positive for converging lenses and negative for diverging lenses. At the focal point, image distance is not finite and the form rejects that case.
Frequently asked questions
What does negative dᵢ mean?
A virtual image in this convention.
What does negative m mean?
An inverted image.
What happens at dₒ=f?
The ideal image distance tends to infinity, so no finite result is returned.