Home · Science · Optics · Diopter Calculator

Diopter Calculator

Convert a lens focal length in metres to its optical power in diopters, the unit used on glasses and contact lens prescriptions.

Your figures

Example result — edit the figures to make it yours

2 D

Optical power

Computed from the inputs on this page with the formula below — change any figure and every result updates.

Focal length50.00 cm

What this calculator does

Convert a lens focal length in metres to its optical power in diopters, the unit used on glasses and contact lens prescriptions. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

D = 1 / f

Power is the reciprocal of focal length in metres; converging lenses are positive, diverging lenses negative.

Shorter focal length means a stronger lens: a 0.25 m lens is +4 D.

Worked example

With the example inputs this page opens with (focal length (m) 0.5), the result is 2.00 D — optical power. Computed from the inputs on this page with the formula below — change any figure and every result updates.

Quick reference

Quick reference — varying focal length (m)
Focal length (m)Optical power
0.254.00 D
0.42.50 D
0.52.00 D
0.6251.60 D
0.751.33 D
11.00 D

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

What focal length is a +2.50 D lens?

f = 1/2.50 = 0.40 m, or 40 cm.

Why do prescriptions use diopters instead of focal length?

Diopters add directly: two thin lenses in contact have the sum of their powers, which makes lens combinations easy to compute.

How does the Diopter Calculator work?

Convert a lens focal length in metres to its optical power in diopters, the unit used on glasses and contact lens prescriptions. Focal length (m) → Power (diopters). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Diopter Calculator need?

Focal length (m) → Power (diopters). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.