Home · Math · Algebra · Thin Lens Equation Calculator
Thin Lens Equation Calculator
The thin lens equation: image distance and magnification from the focal length and object distance.
What this calculator does
The thin lens equation: image distance and magnification from the focal length and object distance. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Using the real-is-positive convention: distances on the image side of the lens are positive, so a positive di is a real image that can land on a screen. A negative magnification means an inverted image. All lengths share one unit.
Worked example
With the example inputs this page opens with (focal length f 20, object distance do 30), the result is 60.00 — image distance di. Change any figure and the result updates with the same formula.
Quick reference
| Focal length f | Image distance di |
|---|---|
| 10 | 15.00 |
| 16 | 34.29 |
| 20 | 60.00 |
| 25 | 150.00 |
| 40 | -120.00 |
| 21 | 70.00 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Thin Lens Equation Calculator work?
The thin lens equation: image distance and magnification from the focal length and object distance. Focal length f, object distance do → Image distance di, magnification. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Thin Lens Equation Calculator need?
Focal length f, object distance do → Image distance di, magnification. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Thin Lens Equation Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.