Combining Lenses: Focal Length, Magnifiers and Microscopes
How two lenses combine in contact or separated, how to find image position and magnification, and how magnifiers, microscopes and telescopes magnify.

Combining Lenses: Focal Length, Magnifiers and Microscopes
Cameras, microscopes, telescopes and glasses all combine lenses. The rules for combining them are simple once you think in terms of optical power. This guide explains them and shows how optical instruments magnify, and you can calculate everything with the lens combination calculator.
Optical power
The power of a lens is the inverse of its focal length: P = 1 / f, measured in dioptres (D) when f is in metres. A converging lens with f = 10 cm has +10 D; a diverging lens with f = −50 cm has −2 D. Opticians use dioptres because powers add.
Lenses in contact
Two thin lenses touching each other act as one lens with power P = P₁ + P₂. A +10 D and a +5 D lens make +15 D, or f = 6.67 cm. Close-up filters for cameras and the achromatic doublets in good lenses work this way.
Separated lenses
When lenses are a distance d apart, Gullstrand's equation applies:
1 / f = 1 / f₁ + 1 / f₂ − d / (f₁ f₂).
The back focal distance, measured from the second lens to the focus, is f₂ (f₁ − d) / (f₁ + f₂ − d). For f₁ = 10 cm, f₂ = 20 cm and d = 5 cm, the system has f = 8 cm and focuses 4 cm behind the second lens.
Forming images
The thin-lens equation links object distance d_o, image distance d_i and focal length:
1 / f = 1 / d_o + 1 / d_i.
With the convention that real distances are positive, a positive d_i 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. The magnification is m = −d_i / d_o. A negative m means the image is inverted.
Example: an object 30 cm from a 10 cm lens forms a real, inverted image 15 cm behind the lens, half the size.
The simple magnifier
Our eyes cannot focus closer than the near point, about 25 cm for a young adult. A converging lens held close to the eye lets us bring objects closer. Its angular magnification is 25 / f (f in cm) with a relaxed eye, or 1 + 25 / f with the image at the near point. A 10 cm lens magnifies 2.5 to 3.5 times.
The compound microscope
A microscope uses an objective to form a magnified real image, which the eyepiece then magnifies further. With the traditional 160 mm tube length:
M = (160 mm / f_objective) × (250 mm / f_eyepiece).
A 4 mm objective and a 25 mm eyepiece give 40 × 10 = 400×. Modern microscopes mark the magnification on each part.
The telescope
A refracting telescope's angular magnification is f_objective / f_eyepiece. A 900 mm objective with a 10 mm eyepiece magnifies 90 times. Its resolution, however, is limited by the objective's diameter, not by magnification.
Sign conventions
Different books use different sign conventions. This calculator uses positive focal lengths for converging lenses, negative for diverging lenses, and positive distances for real objects and images. Check which convention your course uses.
Using the calculator
- Enter both focal lengths.
- Enter their separation.
- Enter an object distance for the first lens.
- Enter near point, objective, eyepiece and tube length.
- Read the combined focal length, back focal distance, image, magnification and instrument powers.
Diverging lenses
A diverging lens always forms a virtual, upright and smaller image of a real object. Combined with a converging lens, it can lengthen the effective focal length, as in a Barlow lens for telescopes or the rear group of a telephoto lens. Enter its focal length as a negative number.
Limits
The thin-lens model ignores lens thickness and aberrations. Real optical design uses ray tracing. The calculator is for learning and quick estimates.


