Lens Calculator – Thin Lens Equation, Image Distance & Magnification

Use this free Lens Calculator to find where a converging (convex) lens forms an image, and how big that image is. Enter the focal length and the object distance — distances use the "real is positive" convention taught in school physics.

F F object image

Formula

Thin lens equation 1/f = 1/v + 1/u, so v = f × u / (u − f)  •  Magnification m = v / u  •  f = focal length, u = object distance, v = image distance

How to use

Worked example

A converging lens has a focal length of 10 cm and an object is placed 30 cm away.
v = (10 × 30) ÷ (30 − 10) = 300 ÷ 20 = 15 cm
m = v / u = 15 ÷ 30 = 0.5 — a real, inverted image, half the height of the object.

FAQ

What is the "real is positive" convention?
Distances to real images (formed on the opposite side of the lens from the object) are positive, and the focal length of a converging lens is positive. It is the sign convention used in most school textbooks.

What happens if the object is exactly at the focal point?
The rays leave the lens parallel to each other, so the image forms at infinity — in practice, no image appears on a screen.

How does a magnifying glass work?
It is a converging lens used with the object closer than the focal length. The lens then produces an upright, magnified virtual image on the same side as the object.