Compute object distance from focal and image data. Compare lenses, mirrors, and standard sign conventions. View magnification, graphs, exports, examples, formulas, and practical guidance.
The line shows how object distance magnitude changes with image distance magnitude for the current setup and image type.
| Case | Setup | Focal Length | Image Distance | Image Nature | Object Distance | Magnification |
|---|---|---|---|---|---|---|
| 1 | Converging Lens | 10 cm | 15 cm | Real | 30 cm | -0.5 |
| 2 | Converging Lens | 12 cm | 24 cm | Real | 24 cm | -1.0 |
| 3 | Diverging Lens | -8 cm | -6 cm | Virtual | 24 cm | 0.25 |
| 4 | Converging Mirror | 20 cm | 30 cm | Real | 60 cm | -0.5 |
| 5 | Diverging Mirror | -15 cm | -10 cm | Virtual | 30 cm | 0.3333 |
This calculator uses the thin optics relationship between focal length, image distance, and object distance. Signed values are applied internally.
Where:
Converging setups use positive focal length. Diverging setups use negative focal length. Real images are positive. Virtual images are negative.
It is the distance from the optical element to the object position. The calculator reports both the signed value and the absolute distance magnitude.
That choice sets the image-distance sign. Real images use positive image distance. Virtual images use negative image distance in this calculator.
Yes. The setup menu supports converging and diverging lenses, plus converging and diverging mirrors, using the same signed thin-optics equation.
A negative signed value usually represents a real object under the chosen sign convention. The magnitude box shows the ordinary positive distance size.
The denominator becomes zero, which means the object is effectively at infinity. The calculator asks you to change the inputs.
Magnification is computed from distance values using m = v / u. Negative magnification means inverted orientation. Positive magnification means upright orientation.
No. They are optional. Use them when you want estimated image height, estimated object height, or a check against height-based magnification.
Yes. The curve uses your focal length, image type, units, and graph range to plot how object distance changes across image distances.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.