How Lenses Work: Converging, Diverging, and Image Formation

Updated June 2026
A lens is a shaped piece of transparent material that bends light through refraction at its curved surfaces. Convex (converging) lenses bring parallel rays to a focal point, forming real images of distant objects. Concave (diverging) lenses spread rays apart, producing virtual images. These principles underlie every optical instrument from reading glasses to space telescopes.

Convex Lenses and Convergence

A convex lens is thicker at the center than at its edges. When parallel light rays enter a convex lens, each ray refracts toward the normal as it enters the denser glass and away from the normal as it exits. The net effect of the two curved surfaces is to bend all parallel rays toward a common point called the focal point. The distance from the center of the lens to this focal point is the focal length, typically measured in millimeters for camera lenses and meters or centimeters for laboratory optics.

Stronger lenses have shorter focal lengths and bend light more dramatically. The optical power of a lens, measured in diopters, equals the reciprocal of the focal length in meters. A lens with a 0.5-meter focal length has a power of +2 diopters. Eyeglass prescriptions use diopters because the value directly indicates how much correction is applied. Farsighted people need positive (convex) lenses, with typical prescriptions ranging from +1 to +4 diopters.

A convex lens forms real images of objects beyond its focal length. Light from each point on the object passes through the lens and converges to a corresponding point on the other side. The thin lens equation relates object distance (do), image distance (di), and focal length (f): 1/f = 1/do + 1/di. When the object is far away (do approaches infinity), the image forms at the focal point. As the object moves closer, the image moves further from the lens and grows larger.

When an object sits between the focal point and the lens, the rays diverge after passing through the lens and no real image forms on the other side. However, if you look through the lens from the far side, the diverging rays appear to come from a magnified virtual image behind the object. This is how a magnifying glass works: the lens creates an enlarged virtual image of a nearby object that your eye perceives as larger than the original.

Concave Lenses and Divergence

A concave lens is thinner at its center than at its edges. Parallel rays passing through a concave lens are bent outward (diverged) so they appear to originate from a virtual focal point on the same side as the incoming light. Concave lenses have negative focal lengths and negative optical power, which is why nearsighted prescriptions are negative values like -2.5 diopters.

Concave lenses always produce virtual, upright, diminished images regardless of object position. The image appears on the same side as the object and is always smaller than the original. While this seems less useful than convex lenses, concave lenses serve critical roles in compound optical systems. Peepholes in doors use concave lenses to give a wide-angle view. Camera zoom lenses combine convex and concave elements to achieve variable focal lengths while maintaining image quality.

The diverging nature of concave lenses corrects myopia (nearsightedness). In a myopic eye, the cornea and natural lens focus distant light in front of the retina rather than on it. A concave eyeglass lens diverges incoming light slightly before it reaches the eye, effectively moving the focal point backward onto the retina. The required power depends on how far in front of the retina the uncorrected focus falls.

Image Formation and Ray Diagrams

Optical engineers and physics students trace three principal rays to locate images formed by thin lenses. A ray parallel to the optical axis refracts through the far focal point (convex) or appears to come from the near focal point (concave). A ray through the center of the lens passes straight through without bending. A ray aimed at the near focal point emerges parallel to the axis. Where any two of these rays intersect on the far side, a real image point exists.

The magnification of a lens system equals the ratio of image height to object height, or equivalently, the negative ratio of image distance to object distance: M = -di/do. Positive magnification means the image is upright (virtual); negative magnification means inverted (real). A camera lens forming an image of a landscape produces a small, inverted, real image on the sensor. A magnifying glass produces a large, upright, virtual image that the eye interprets as a bigger version of the object.

Compound lens systems combine multiple elements to achieve properties impossible with single lenses. A telescope objective lens or mirror gathers light from a distant object, forming a small real image at its focal plane. An eyepiece lens then acts as a magnifying glass to enlarge this intermediate image for the observer. The overall angular magnification equals the focal length of the objective divided by the focal length of the eyepiece.

Lens Aberrations

Real lenses suffer from several optical defects called aberrations. Spherical aberration occurs because spherical lens surfaces are imperfect approximations of the ideal shape. Rays passing through the outer zones of a spherical lens focus at a different point than rays near the center. This produces soft, blurry images. Aspherical lens elements, with surfaces that deviate precisely from spherical, correct this defect and are now common in camera lenses and eyeglasses.

Chromatic aberration arises from dispersion: the refractive index varies with wavelength, so different colors focus at different distances. A simple convex lens focuses blue light closer than red light, producing color fringes around high-contrast edges. Achromatic doublets combine crown glass (low dispersion) and flint glass (high dispersion) elements to bring two wavelengths to the same focus. Apochromatic lenses use three or more elements to correct for three wavelengths, achieving extremely precise color rendering.

Coma distorts off-axis points into comet-shaped blurs. Astigmatism causes off-axis points to focus as lines rather than dots at different distances. Field curvature means the sharp focus surface is curved rather than flat, problematic when the sensor or film is flat. Distortion warps straight lines into curves, either barrel (bowing outward) or pincushion (bowing inward). Modern camera lenses use 8 to 20 elements specifically arranged to minimize all these aberrations simultaneously.

Practical Applications of Lenses

Camera lenses are the most complex consumer lens systems, combining multiple elements to achieve sharp, well-corrected images across the entire frame. A typical zoom lens contains 12 to 18 individual glass elements arranged in groups. Some elements move relative to others to change focal length (zoom) and focus distance. Specialized coatings on each surface reduce reflections that would otherwise create flare and reduce contrast.

The human eye itself is a sophisticated lens system. The cornea provides about two-thirds of the eye focusing power (roughly +43 diopters), while the flexible crystalline lens provides the remainder and adjusts for different distances through a process called accommodation. The iris controls the aperture, balancing brightness against depth of field just like a camera. Common vision problems (myopia, hyperopia, astigmatism, presbyopia) all result from imperfect matching between the eye optical power and its physical length.

Microscope objectives are among the most precisely manufactured lenses in existence. High-quality objectives correct for every type of aberration while achieving numerical apertures approaching 1.4 (with oil immersion), which determines their resolving power. A 100x oil-immersion objective can resolve details as small as 200 nanometers, approaching the fundamental diffraction limit for visible light.

Key Takeaway

Lenses redirect light through refraction at curved surfaces. Convex lenses converge light to form real images (used in cameras, projectors, and the eye), while concave lenses diverge light for virtual images (correcting nearsightedness and enabling wide-angle optics). The thin lens equation 1/f = 1/do + 1/di governs all simple image formation.