The short answer

A lens is a piece of glass or clear plastic with curved faces. Light slows down inside it and bends at each face, and because the faces are curved, rays that hit different parts of the lens bend by different amounts. A lens that is thicker in the middle bends all the rays from one point of an object so that they meet again at one point on the other side. Do that for every point of the object at once and you get an image.

That last sentence holds the part most people get wrong. Every bit of the lens helps make the whole image. The top of the lens doesn't make the top of the picture. So if you cover half a lens, you don't lose half the picture. You get all of it, only dimmer.

Try this first: cover half the lens

Imagine a candle, a magnifying glass and a sheet of paper, set up so that a sharp, upside-down image of the flame appears on the paper. Now you slide a card over the top half of the lens. What happens to the image?

If you said "the top half of the picture disappears" (or the bottom half, since the image is upside down), you're in very good company. In a 2017 study, Merlin John, Jacob Molepo and Max Chirwa put exactly this question to 70 Grade 11 learners in Mthatha, South Africa. In their paper, 46 of the 70 said the upper half of the image would vanish, 10 said the lower half would, 6 said there would be no image at all, and just one gave the right answer: the whole image stays, and it gets dimmer.

That isn't a local quirk. The authors trace the "half a lens makes half an image" idea back through studies from 1987 onwards, and a 2022 concept test for lenses by Salome Wörner and colleagues (published in Physical Review Physics Education Research) builds whole questions around it, because it turns up so reliably. Their list of well-documented student ideas includes "A half lens produces a half image" and "The diameter of the lens determines the size of the image". Both are wrong.

Here is why. Light leaves every point of the candle flame in all directions. The tip of the flame sends rays to the top of the lens, the middle, the bottom, everywhere. A good lens bends all of those rays so that they meet at a single point: the image of the tip. Cover the top half of the lens, and the rays from the tip that went through the bottom half still arrive at that same point. So does light from every other point of the flame. Each point of the image just receives fewer rays than before. Nada Razpet and Tomaž Kranjc, who wrote up classroom experiments with half-covered lenses for The Physics Teacher in 2017, named the point they wanted students to see: "every small part of a lens participates in the formation of the whole image" (ERIC record).

You can see this on a camera. Close the aperture, and the opening inside the lens shrinks to a small hole in the middle. The photo doesn't lose its edges. It just gets darker, which is why the camera lengthens the exposure to make up for it.

Why curved glass focuses light

Bending at a surface

Light travels more slowly in glass than in air. When a beam meets a glass surface at an angle, one side of the wave slows down first, the wave pivots, and the beam carries on in a new direction. That is refraction, and it's the same effect that makes a straw look bent in a glass of water. Snell's law gives the exact angle.

On a flat sheet of glass, every ray in a parallel beam hits at the same angle and bends by the same amount, so the beam stays parallel. On a curved surface, rays near the edge hit at a steeper angle than rays near the middle, so they bend more. Shape the surface well and the outer rays bend just enough more to cross the middle rays at one spot. That spot is the focus.

Feynman's version: every path takes the same time

Richard Feynman liked a different way of saying the same thing. In QED: The Strange Theory of Light and Matter (1985, chapter 2), he looks at the many routes light could take from a source to one point and asks how to arrange things so "that all the paths take exactly the same amount of time." When they do, the light along every route arrives in step and adds up at that point. "That's how a focusing lens really works," he says.

Here is how glass does it. The straight route through the middle is the shortest; routes that swerve out to the edge are longer. Light is slower in glass, so putting more glass on the short middle route and less at the edge holds the fast route back by just the right amount.

It's a good way to see why a converging lens is fat in the middle: the extra glass there is a delay, holding back the light on the short path so that the light on the long paths can catch up.

Converging and diverging lenses

The word "lens" is the Latin for lentil, because a double-convex lens is lentil-shaped. Lenses come in two families:

  • Converging (convex, positive) lenses are thicker in the middle than at the edge. They bring a parallel beam together at a real focus on the far side. Magnifying glasses, camera lenses, projectors and reading glasses use them.
  • Diverging (concave, negative) lenses are thinner in the middle. They spread a parallel beam out so that it seems to come from a point on the near side, a "virtual" focus. Glasses for short sight use them.

Each family has several shapes: biconvex, plano-convex and positive meniscus lenses converge; biconcave, plano-concave and negative meniscus lenses diverge. What decides the family is whether the lens is fatter in the middle or at the edge, not what one face looks like. (A 2015 study of 177 Turkish students, described below, recorded both mix-ups: "convex lenses diverge light rays" and "concave lenses converge light rays".)

Focal length and dioptres

The focal length f is the distance from the lens to the point where a parallel beam comes to a focus. A short focal length means a strong lens that bends light sharply; a long focal length means a gentle one.

Eye doctors use the inverse, the optical power, measured in dioptres: power = 1 / f, with f in metres. A lens with a focal length of 50 cm has a power of 2 dioptres; a 10 cm lens has 10 dioptres. The unit was proposed by the French ophthalmologist Ferdinand Monoyer in 1872. Converging lenses have positive power, diverging lenses negative power, and one handy thing about dioptres is that the powers of thin lenses placed close together roughly add: a 2-dioptre lens against a 0.5-dioptre lens acts almost like a single 2.5-dioptre lens.

For a thin lens in air, the focal length follows from the glass and the curves, by the lensmaker's equation:

1/f = (n − 1) × (1/R₁ − 1/R₂)

Here n is the refractive index of the glass and R₁ and R₂ are the radii of curvature of the two faces (the second one counts as negative for an ordinary biconvex lens). Take glass with n = 1.5 and two faces each curved like a sphere of radius 10 cm: 1/f = 0.5 × (1/10 + 1/10) = 0.1 per cm, so f = 10 cm. Glass with a higher index, or tighter curves, gives a shorter focal length.

Why the same lens is weaker under water

What matters isn't the glass on its own but the difference between the glass and whatever surrounds it. Put the same lens in water (index about 1.33) and the factor (n − 1) becomes (1.5/1.33 − 1), about 0.13 instead of 0.5. By our calculation the 10 cm lens becomes a lens of nearly 40 cm: four times weaker.

Your own eye shows the same thing. The cornea, the clear dome at the front, does about two thirds of the eye's focusing, roughly 43 dioptres, because the jump from air to corneal tissue (index 1.376) is large. Under water that jump almost disappears. Water's index of about 1.33 is so close to the cornea's that, as Wikipedia's article on underwater vision puts it, it effectively eliminates the cornea's focusing. That is why everything looks blurred when you open your eyes in a pool, and why a mask helps: it puts a layer of air back in front of your eyes.

Where the image lands

For a thin lens, the distance to the object (dₒ), the distance to the image (dᵢ) and the focal length are tied together by the thin lens equation:

*1/f = 1/dₒ + 1/dᵢ*

and the magnification is M = −dᵢ / dₒ. A positive dᵢ means a real image on the far side of the lens; a negative one means a virtual image on the same side as the object. A negative M means the image is upside down.

Here is what a converging lens with f = 10 cm does as you bring an object closer (our own calculations from the equation):

Object distance Image distance Magnification What you get
very far away 10 cm almost 0 tiny, upside-down real image at the focus (a camera focused on the horizon)
30 cm 15 cm −0.5 real, upside down, half size
20 cm 20 cm −1 real, upside down, same size
15 cm 30 cm −2 real, upside down, twice the size (a projector)
10 cm infinitely far — no image: the rays leave parallel
5 cm −10 cm +2 virtual, upright, twice the size (a magnifying glass)

Notice the jump in the last two rows. Once the object is inside the focal length, the lens can no longer bring the rays together; they still spread after the lens, only less steeply. Your eye traces them back to a point behind the object, where an enlarged, upright image seems to sit. That is a virtual image: you can see it through the lens, but you can't catch it on a screen, because the light never actually meets there.

The second surprise: you don't need the screen

A real image is the opposite: the rays really do cross at a point, and a sheet of paper placed there shows the picture. That makes it tempting to think the paper is what makes the image. It isn't. The image is there, hanging in the air, whether or not anything catches it. The rays cross there and carry on, so an eye placed further along, looking back towards the lens, can see it floating in mid-air. In the words of one of the core ideas the 2022 lens test is built on (taken from earlier research by Galili and colleagues), a screen is only "a convenience for observation" of an image that is already in space.

This one fools most learners too. In the same South African study, 56 of the 70 students said no image would form once the screen was removed; only 2 said the image would still be there. "There won't be any place to the image to be formed," one wrote.

And in a 2015 study published in Science Education International, Güner Tural of Ondokuz Mayıs University in Turkey asked 177 students at three levels what happens to the image on a screen when the convex lens is taken away. The answer is that the sharp image is gone: without the lens nothing brings the rays from each point back together, so the screen is just evenly lit. Yet 71% of the 82 primary school students, 40% of the 50 secondary school students and 71% of the 45 future physics teachers gave a clearly wrong answer, the common one being that "a right-side-up image replaced the previously observed inverted image". Researchers call the idea behind this the "holistic" model: the picture travels from the object as a whole, the lens only turns it upside down, and the screen catches it.

Magnifying glasses

A magnifying glass is a converging lens used inside its focal length, as in the last row of the table. How much bigger things look depends on how you hold it, but magnifiers are rated with a standard formula from Eugene Hecht's textbook Optics, as summarised by Wikipedia's article on magnifying glasses: magnifying power = 0.25 × (power in dioptres) + 1, where 0.25 m is the usual near point of the eye. A lens with a 5 cm focal length (20 dioptres) is therefore sold as a 6× magnifier. Most hand magnifiers are 2× to 6×; stronger ones have to be smaller and held closer.

The same lens held at its focal length from a sheet of paper in sunshine makes a tiny, very bright image of the Sun, which is why a magnifying glass can scorch paper. People knew this long before they understood it, as the history below shows.

How much light gets in: aperture and f-number

The aperture is the width of the opening light passes through. A wider lens doesn't make a bigger image (the focal length decides that); it collects more light from each point of the object, so the image is brighter. Back in the South African study, 18 of the 70 learners gave that answer for a lens of larger diameter, while 25 said the image would get bigger.

Photographers describe aperture with the f-number, N = f / D: the focal length divided by the diameter of the opening. A 50 mm lens with a 25 mm opening is at f/2. The standard f-stops, f/1, f/1.4, f/2, f/2.8, f/4, f/5.6, f/8, f/11, f/16, go up by a factor of the square root of 2 each time. The light collected depends on the area of the opening, which goes with the square of its width, so each step halves the light. Your own eye works like this too: as the pupil changes size, its f-number runs from about f/8.3 in bright light to about f/2.1 in the dark (Hecht's figures, quoted in the same article).

Why good lenses have many pieces of glass

A single lens is never perfect. Two flaws matter most.

Chromatic aberration. Glass bends blue light slightly more than red, so a simple lens brings each colour to a focus at a slightly different distance, and bright edges get coloured fringes. Isaac Newton concluded that uneven refraction of colours caused the problem, and it led him to build a telescope with a mirror instead of a lens in 1668. The fix for lenses came in the 18th century: the achromatic doublet, a converging lens of crown glass cemented to a weaker diverging lens of flint glass, which spreads colours more. The two cancel each other's colour error while the pair still focuses. Chester Moor Hall had the idea first and tried to keep it secret by ordering the two halves from different opticians. Both passed the job to the same lens maker, George Bass, who noticed the parts belonged together. In the late 1750s Bass told the optician John Dollond, who patented the design in 1758.

Spherical aberration. Lenses are usually ground with spherical faces because spheres are easy to make, but a spherical surface bends the rays near the edge slightly too much, so they focus a little short of the central rays. The cure is either a non-spherical ("aspheric") surface or a combination of spherical lenses that cancel each other's error, which is often the cheaper route.

That is why good camera and microscope lenses are built from several pieces of glass rather than one: each extra piece undoes some flaw of the others. And when a lens would have to be impractically thick and heavy, you can keep only its curved surface and drop the bulk, cut into rings. That is the Fresnel lens, first fully used in a lighthouse in 1823.

The lenses in your eyes

Your eye is a two-lens camera. The cornea does most of the focusing, as above. Behind it, the flexible crystalline lens fine-tunes: muscles change its shape to focus on near or far things. That is called accommodation, and in young people it is strong. A young eye can add about 15 dioptres and focus on something as close as 6.5 cm. With age the lens stiffens, and from about 40 most people find small print harder to read: that is presbyopia, and reading glasses (converging lenses) make up the difference.

Short sight (myopia) means the eye brings light from distant things to a focus in front of the retina, as Johannes Kepler first showed in 1604; a diverging (concave) lens spreads the light a little first, so the focus moves back onto it (Wikipedia: Myopia). Long sight (hyperopia) is the other way round and takes a converging lens. Which lens goes with which problem is the one many students reverse. In Tural's study, none of the primary school students, 6% of the secondary school students and 13% of the future physics teachers fully explained how short sight is corrected, and a common wrong answer was "myopia is corrected via convex lens".

A short history of lenses

  • Burning glasses came first. The oldest certain mention of a lens used to start a fire is in Aristophanes' comedy The Clouds, from the 420s BC, according to Wikipedia's history of lenses. Older still is the Nimrud lens, a polished piece of rock crystal from the Assyrian palace at Nimrud, dug up by Austen Henry Layard in 1850 and now in the British Museum; whether anyone ever used it as a magnifier or burning glass is uncertain.
  • Water globes. The Roman writer Seneca noticed that small letters look "larger and clearer through a glass sphere filled with water".
  • Reading stones, lumps of glass laid on a page to enlarge the letters, came into regular use around AD 1000.
  • Spectacles appeared in central Italy, probably Pisa or Florence, around 1290. In a sermon on 23 February 1306, the friar Giordano da Pisa said it was "not yet twenty years" since the art of making glasses had been found (Wikipedia: Glasses). The first glasses had convex lenses for long sight and ageing eyes. Concave lenses for short sight followed in the mid-15th century, but the first correct explanation of why glasses work only came from Johannes Kepler in 1604.

The takeaway

A lens works by slowing light down by different amounts on different paths, so that all the light from one point of an object arrives at one point of the image. Everything else follows from that. Every part of the lens helps build the whole picture, so covering half of it dims the image instead of cutting it in half. The image exists in space whether or not a screen is there to catch it. A bigger lens makes a brighter image, not a bigger one. And the same lens can be strong in air and weak in water, which is why your eyes need a mask in a swimming pool.