Short answerA convex (converging) lens bends rays of light so that parallel rays meet at the principal focus F. If the object is further away than F, the lens forms a real, inverted image on the other side. If the object is closer than F, it forms a virtual, upright, magnified image, like a magnifying glass.

🧪 Try it in the free lab. In the free convex lens simulation you move an object and a screen along an optical bench, find sharp images and measure the focal length.
Open the lab →
Three rays for a ray diagram
- A ray parallel to the axis is refracted through F on the other side.
- A ray through the optical centre goes straight on.
- A ray through the near focus leaves the lens parallel to the axis.
Where the rays meet is the top of the image.
Where the image forms
| Object position | Image | Used in |
| Very far away | At F; real, inverted, very small | Camera focused on distant scenes |
| Beyond 2F | Between F and 2F; real, inverted, diminished | Camera, the eye |
| Between F and 2F | Beyond 2F; real, inverted, magnified | Projector |
| Closer than F | Same side; virtual, upright, magnified | Magnifying glass |
The lens formula
1/f = 1/u + 1/v magnification m = v ÷ u = image height ÷ object height
Using the “real is positive” convention, a virtual image has a negative v.
Worked example
A candle is 30 cm from a lens of focal length 20 cm. Where must the screen be?
- 1/v = 1/f − 1/u = 1/20 − 1/30 = (3 − 2)/60 = 1/60, so v = 60 cm.
- m = 60 ÷ 30 = 2: the image is real, inverted and twice as tall as the candle.
Power of a lens
Opticians use power P = 1 ÷ f, with f in metres, measured in dioptres (D). A lens of focal length 0.25 m has a power of +4 D. Converging lenses correct long sight; diverging lenses (negative power) correct short sight.
🧪 Convex lens and images · free, works on any phone, with graphs, questions and a lab report.
Start the lab →
Questions people ask
Can a convex lens make a virtual image?
Yes, when the object is closer to the lens than the focal length.
How can I find the focal length quickly?
Focus a distant window onto a wall; the distance from lens to wall is about f.
Why is a magnifying glass image not shown on a screen?
It is virtual: the rays only appear to come from it, so no light actually meets there.
Practise this topic
Written by BIZIYAREMYE Donat, Experienced Physics and STEM Educator, Rwanda. Published 30 November 2026. Found a mistake? Write on WhatsApp 0788 804 242. More explainers · All Interactive Labs