Optical Power Calculator

Convert a lens focal length into dioptres, the unit used on spectacle prescriptions.

Physics and EnergyUpdated 2026-11-172 min read
Optical Power Calculator
Optical power
...
Focal length in millimetres...

What it does

Optical power describes how strongly a lens bends light. It is defined as the reciprocal of the focal length measured in metres, and its unit is the dioptre, which is the unit printed on spectacle and contact lens prescriptions.

This calculator divides one by the focal length you enter and reports the power in dioptres, along with the focal length in millimetres. Focal length can be entered in metres or inches.

The default focal length of 0.5 m gives a power of 2.00 dioptres and a focal length of 500 mm. A shorter focal length would give a higher power, so a 0.25 m lens has 4.00 dioptres.

Sign matters. A converging lens that focuses parallel rays to a real point has a positive focal length and positive power, while a diverging lens has a negative focal length and negative power used to correct short sightedness.

The simple reciprocal applies to a thin lens in air. Thick lenses and lenses surrounded by other media need a more detailed treatment, and astigmatic corrections require a separate power for each axis.

How to use

  1. Choose metric for metres or imperial for inches.
  2. Enter the focal length of the lens, with a sign if it is diverging.
  3. Press calculate and read the optical power in dioptres.
  4. Use the millimetre line to check the focal length.
  5. Remember that a negative power indicates a diverging lens.
  6. For prescriptions, confirm the sign convention with the prescriber.

Formula

Optical power P = 1 / f, where f is focal length in metres.
f
Focal length in metres after converting from inches if needed.
P
Optical power in dioptres, where one dioptre is one inverse metre.
f in mm
The same focal length expressed in millimetres for convenience.

One inch is exactly 0.0254 m. The focal length must be nonzero because the reciprocal would be undefined. Negative focal lengths are accepted and produce negative optical power, which describes a diverging lens.

Worked example

Example: 0.5 m focal length

Metric defaults for a converging lens.

  1. Note the focal length of 0.5 m.
  2. Divide one by 0.5 to get 2.00.
  3. The power is therefore 2.00 dioptres.
  4. Convert 0.5 m to millimetres: 500.0 mm.
  5. The tool shows 2.00 D and 500.0 mm.

Reference table

Optical power for several focal lengths
Focal lengthPowerLens type
0.25 m4.00 DConverging
0.5 m2.00 DConverging
1 m1.00 DConverging
-0.25 m-4.00 DDiverging

Limits

  • Assumes a thin lens in air.
  • Does not handle astigmatism or different powers by axis.
  • Ignores the thickness of real spectacle lenses.
  • Focal length in a medium other than air changes the result.

Common mistakes

  • Using centimetres where metres are required.
  • Forgetting the negative sign for a diverging lens.
  • Entering zero focal length.
  • Confusing focal length with radius of curvature.
  • Reading a higher dioptre number as a longer focal length.

Try it yourself

Quick checks. Answers sit tucked under each question.

Imperial: 19.685 inch focal length?

2.00 D, focal length 500.0 mm.

A -0.25 m focal length?

-4.00 D, focal length -250.0 mm.

Questions

What is optical power?

The reciprocal of focal length in metres, measured in dioptres.

What does a dioptre mean?

One dioptre is the power of a lens with a one metre focal length.

Why can power be negative?

A diverging lens has a negative focal length and therefore negative power.

Can I enter inches?

Yes. Choose imperial and the tool converts the focal length to metres.

Does higher power mean a stronger lens?

Yes. More dioptres means a shorter focal length and stronger bending.

Is this enough for a spectacle prescription?

It gives the spherical power only. Cylindrical correction needs a separate value.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.