Photography & Imaging
Intermediate

Thin Lens Equation

Relates focal length to object and image distances.

Formula

1f=1u+1v\frac{1}{f} = \frac{1}{u} + \frac{1}{v}

Live Calculator

Members

Variables

fFocal length
uObject distance
vImage distance

Example

f=50 mm, u=200 mm: v = 66.7 mm

How it works

The thin lens equation links three distances in a lens system: how far the object is from the lens, where the image forms, and the lens’s focal length. It comes from the geometry of light rays refracted by an ideal thin lens, where ray paths through the lens are treated as if bending happens at a single plane. When any two of these quantities are known, the third can be calculated, which is why the formula is so useful in imaging and optics.

When to use it

Use this when predicting where a sharp image will form for a camera, projector, or microscope objective, or when finding the focal length of a lens from measured object and image distances. It is most appropriate for thin lenses and paraxial rays, where the lens is small compared with the object and image distances.

Worked example, step by step

Given: f = 100 mm, u = 300 mm Use the thin lens equation: 1/f = 1/u + 1/v Substitute the values: 1/100 = 1/300 + 1/v Rearrange for 1/v: 1/v = 1/100 - 1/300 Find a common denominator: 1/v = 3/300 - 1/300 = 2/300 So 1/v = 1/150 Therefore v = 150 mm

Common mistakes to avoid

  • Mixing up object distance and image distance, especially when using different sign conventions
  • Forgetting to use the same units for f, u, and v
  • Treating the formula as exact for thick lenses or very close-up cases where the thin-lens approximation breaks down

Did You Know?

This one equation governs everything from a phone camera to the Hubble Space Telescope.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026