Lens Power Calculator – Focal Length to Diopters Converter

Use this free Lens Power Calculator to convert between a lens's focal length and its power in diopters (D) — the unit opticians use on glasses and contact lens prescriptions. Just type the focal length in centimetres.

F lens parallel rays

Formula

P = 1 / f, where f is the focal length in metres  •  P is in diopters (D)

Sign rule: a converging (convex) lens has a positive focal length and positive power; a diverging (concave) lens has a negative focal length and negative power. With f in centimetres, P = 100 ÷ f.

How to use

Worked example

A converging lens has a focal length of 25 cm.
First convert to metres: 25 cm = 0.25 m.
P = 1 ÷ 0.25 = +4.00 D.
The other way round: a −2.00 D diverging lens has f = 1 ÷ (−2.00) = −0.50 m = −50 cm.

FAQ

What is a diopter?
A diopter (D) is simply 1/metre. A 1 D lens focuses light at 1 m, a 2 D lens at 0.5 m, and so on. Shorter focal length means stronger bending, hence more diopters.

Why is my glasses prescription negative?
Short-sighted (myopic) eyes need diverging lenses to push the focus back onto the retina, and diverging lenses have negative power — for example −2.00 D. Long-sighted eyes need positive, converging lenses.

Can I add the powers of two lenses?
Yes — for thin lenses placed in contact, the powers simply add: P = P₁ + P₂. That is how opticians fine-tune a prescription by stacking trial lenses.