Skip to content
FiftyCalc Free calculators for all 50 states

Lens Magnification Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the focal length and how far the object is from the lens; get where the image forms and how much it is magnified.

Result

Sample figures

Magnification—

Image distance (cm) —

  • Image height (cm)—
  • Image type—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Lens Magnification Calculator

Focal length (negative for a diverging lens), in cm: enter a number. Prefilled example: 10.

Object distance, in cm: enter 0 or more. Prefilled example: 30.

Object height, in cm: enter a number. Prefilled example: 2.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Focal length (negative for a diverging lens), in cm: enter a number.
  2. Object distance, in cm: enter 0 or more.
  3. Object height, in cm: enter a number.
  4. Read the result: Magnification; the panel also shows Image distance (cm), Image height (cm) and Image type.

How this calculator works

Thin lens equation: 1/f = 1/d_o + 1/d_i, so d_i = f × d_o ÷ (d_o − f). Magnification m = −d_i ÷ d_o, and image height = m × object height.

Sign convention: a positive image distance is a real image on the far side of the lens; a negative one is a virtual image on the same side as the object. A negative m means the image is inverted.

An object exactly at the focal point (d_o = f) sends its image to infinity, shown as —.

The formula

  1. Di=f×dodo−f
  2. M=−Dido
Symbols used in the formula
SymbolMeaningUnit
fFocal length (negative for a diverging lens)cm
doObject distancecm
DiImage distancecm
MMagnification

Worked example

Focal length (negative for a diverging lens)10 cm
Object distance30 cm
Object height2 cm
Image distance (cm)15
Image height (cm)-1
Image typeReal, inverted image
  1. Di=10×3030−10=15
  2. M=−1530=−0.5

Magnification -0.5

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the magnification of a 10 cm lens with the object at 30 cm?

The image forms at 15 cm, magnification −0.5: real, inverted and half size.

When does a converging lens act as a magnifying glass?

When the object is inside the focal length: with f = 10 cm and the object at 5 cm, the image is virtual, upright and 2× larger.

Related calculators