Thin Lens Equation

Also known as lens formula · 1/f = 1/do + 1/di · lensmaker's relation

1f=1do+1di\frac{1}{f} = \frac{1}{d_o} + \frac{1}{d_i}

Worked example: d_o = 30 cm, d_i = 15 cm → f = 10 cm — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

The Thin Lens Equation →

Grade 10Grade 10 Science

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning. Find 1 more lesson on this formula.

See your Report Card
Compete with your friends
share your results
Learning zone

Thin Lens Equation explained

fdodi

The thin lens equation is the workhorse of geometric optics, tying together where the object sits, where its image forms, and the lens's focal length. The sign conventions carry the physics: a positive did_i is a real image on the far side of a converging lens, a negative did_i a virtual image on the near side. Place an object exactly at the focal point and 1/di1/d_i must vanish — the image recedes to infinity, which is how a magnifying glass produces parallel rays.

A camera focused on a subject 2 m away with a 50 mm lens forms its image at di=(1/0.05−1/2)−1≈51.3d_i = (1/0.05 - 1/2)^{-1} \approx 51.3 mm behind the glass — the millimeter of travel that the focus ring provides.

Thin Lens Equation

1f=1do+1di\frac{1}{f} = \frac{1}{d_o} + \frac{1}{d_i}
Where
  • ff= Focal length (m)
  • dod_o= Object distance (m)
  • did_i= Image distance (m)

Missing one of these? Work it out first, then come back