Thin lens image and magnification

One thin lens and a real object in front of it. Enter object distance and focal length in the same unit. This is not an eyeglass prescription.

Object and lens

Sign convention

1 / object distance + 1 / image distance = 1 / focal length

magnification = image height / object height = − image distance / object distance

A positive focal length is a converging lens. A positive image distance is a real image on the opposite side from the object. A negative image distance is a virtual image on the same side. Negative magnification is inverted; positive is upright. Optical power is 1/f only when f is in metres, in dioptres, and is not a clinical refraction.

Checked examples

Object height 3.0, focal length +10.0, object distance 50.0: image distance 12.5, magnification −0.250, image height 0.75. Real, inverted, and smaller. Object distance 5.00 with the same lens: image distance −10.0, magnification +2.00, image height 6.0. Virtual, upright, and larger. Object distance 20.0: image distance 20.0 and magnification −1. Putting the object on the focal point produces no finite image.

Limits

A single thin lens, paraxial rays, and one colour. Object distance must be positive. Focal length cannot be zero. This page does not solve every rearrangement of the equation and does not use lens-maker radii.

OpenStax University Physics Volume 3, §2.4.