Mihsaba›Physics›Thin Lens Calculator

Thin Lens Calculator

Calculate image distance and magnification from focal length and object distance using the thin-lens sign convention.

Uses a common convention: positive f for converging lenses, negative f for diverging, and positive dₒ for a real object.

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.

  1. Enter signed focal length f.
  2. Enter positive dₒ for a real object.
  3. Calculate dᵢ.
  4. Review m and image type.

How it is calculated

1/f=1/dₒ+1/dᵢ; m=−dᵢ/dₒ

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.

Worked examples and interpreting results
CaseCalculationResult
Image distance1 ÷ (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.