Overview
The thin lens equation predicts where a lens forms an image and how big it is. Cameras, eyes, magnifiers and projectors all follow it.
Use a positive focal length for converging (convex) lenses and a negative one for diverging (concave) lenses.
Worked examples
| Inputs | Result |
|---|---|
| Focal length (cm)10Object distance (cm)30 | Image distance: 15 cmMagnification: -0.5×Real, inverted, reduced image |
Show 2 more examples
| Focal length (cm)50Object distance (cm)100 | Image distance: 100 cmMagnification: -1×Real, inverted, same size image |
| Focal length (cm)-20Object distance (cm)30 | Image distance: -12 cmMagnification: 0.4×Virtual, upright, reduced image |
Image distance by focal length
With the calculator's starting values, the image distance is 15 cm. The table shows how it changes with the focal length.
| Focal length (cm) | Image distance (cm) |
|---|---|
| 6 | 7.5 cm |
| 8 | 10.91 cm |
| 10starting value | 15 cm |
| 12 | 20 cm |
| 14 | 26.25 cm |
Other inputs: Object distance: 30 cm. Change them in the calculator above for your own numbers.
How it works
1/f = 1/d₀ + 1/dᵢ. A positive image distance means a real image on the far side; negative means a virtual image on the same side as the object. Magnification is −dᵢ/d₀; negative values mean the image is upside down.
The formula
| f | Focal length |
| d₀ | Object distance |
| dᵢ | Image distance |
Practical tips
- Placing the object inside the focal length of a convex lens makes a magnifying glass (virtual, upright, enlarged).
- Lens power in diopters is 1 ÷ focal length in meters.
Frequently asked questions
What happens at the focal point?
Rays leave parallel and no image forms (it is “at infinity”).
Does this work for mirrors?
Yes, with the mirror sign convention: concave mirrors have positive f.