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.

Your figures

Example result — edit the figures to make it yours

60

Image distance di

Magnification −di ÷ do-2.00

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

1/f = 1/do + 1/di; magnification = −di ÷ do

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

Quick reference — varying focal length f
Focal length fImage distance di
1015.00
1634.29
2060.00
25150.00
40-120.00
2170.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.