Lens Power Solver – Dioptres from Focal Length & Back (P = 1/f)

Use this free Lens Power Solver to convert between a lens's focal length and its optical power in dioptres, P = 1/f — solving for whichever one you are missing, with centimetre and metre conversions handled for you.

focus F lens f

Formula

P = 1 / f with f in metres, giving P in dioptres (D)  •  f = 1 / P

The sign carries the lens type: a converging (convex) lens has positive f and positive power; a diverging (concave) lens has negative f and negative power. Short focal length means strong power — the lens bends light hard.

How to use

Worked example

A converging lens has f = 25 cm = 0.25 m.
P = 1 ÷ 0.25 = +4 D.
A diverging lens prescribed at P = −2 D has f = 1 ÷ (−2) = −0.5 m = −50 cm.

FAQ

Why must the focal length be in metres?
The dioptre is defined as one reciprocal metre (1 D = 1 m⁻¹). Using centimetres directly would make every power 100 times too big — a classic exam trap this calculator avoids by converting for you.

How do powers combine for two lenses in contact?
They simply add: P = P₁ + P₂. That is why opticians prefer dioptres — stacking a +2 D and a −0.5 D lens gives +1.5 D without any reciprocal arithmetic.

What does a prescription of −2.00 D mean?
A diverging lens of power −2 dioptres, focal length −50 cm, used to correct short sight (myopia): it spreads parallel light slightly so the eye's own lens can focus it on the retina.