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.
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
- Enter the focal length of the converging lens in centimetres.
- Enter the distance from the object to the lens in centimetres.
- Click "Calculate Image Distance" to see where the image forms and its magnification. A real image forms on the opposite side of the lens and is inverted; if the object is closer than the focal point, you get an upright virtual image instead (the magnifying-glass case).
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.