Boneyard Tools

Diopter Calculator

Optical power and focal length are reciprocals, P = 1/f with f in meters, and this tool moves between them either direction. A separate mode sums the powers of thin lenses held together, which is exactly how stacked reading lenses or close-up filters combine. Every answer shows the power in diopters and the focal length in both meters and centimeters.

How to use the diopter calculator

  1. Pick a tab: Focal length to power, Power to focal length, or Combine lenses.
  2. In Focal length to power, type the focal length in meters, such as 0.5.
  3. In Power to focal length, type the power in diopters, such as 2.
  4. In Combine lenses, type a comma-separated list of powers, such as 2, 3, -1.
  5. Read the three cards: power in diopters and focal length in meters and centimeters.
  6. Press Copy to grab the full result line.

Examples

Focal length to power

focal length = 0.5 m
power = 2 D, focal length = 50 cm

Power to focal length

power = 4 D
focal length = 0.25 m (25 cm)

Combine three lenses

powers = 2 D, 3 D and -1 D placed together
total power = 4 D, focal length = 0.25 m (25 cm)

Frequently asked questions

What is a diopter?

A diopter is a unit of optical power equal to the reciprocal of the focal length measured in meters. A lens with a 0.5 m focal length has a power of 2 diopters, and a 0.25 m lens has 4 diopters.

How do I convert focal length to diopters?

Use P = 1 / f with the focal length f in meters. A 0.25 m lens is 4 diopters and a 2 m lens is 0.5 diopters. If your focal length is in centimeters, divide by 100 to get meters first.

How do I convert diopters back to focal length?

Invert the power: f = 1 / P, in meters. A 2 D lens has a 0.5 m focal length, which the tool also shows as 50 cm on the third result card.

How do lens powers add together?

For thin lenses held close together, the total power is the simple sum of the individual powers. Enter each one in the Combine lenses box and the calculator adds them, so 2 D and 3 D placed together make 5 D.

Can I mix positive and negative powers?

Yes. Negative values represent diverging lenses and subtract from the total, so a list like 2, 3, -1 sums to 4 diopters. The result is undefined only if the powers cancel to exactly zero.

What does a negative diopter mean?

A negative power is a diverging lens with a negative focal length, the kind used to correct nearsightedness. A positive power is a converging lens that brings light to a focus.

Why can the power or focal length not be zero?

Power is the reciprocal of focal length, so a focal length of zero has no defined power, and a power of zero would mean an infinite focal length. The combine mode also rejects a set of powers that sums to zero for the same reason.

Does this match an eyeglass prescription?

The diopter figures line up with the sphere value on a prescription, but full prescriptions also include cylinder and axis for astigmatism, which this tool does not model. Treat it as a physics and optics helper rather than a substitute for an eye exam.

Is anything sent to a server?

No. The reciprocal and the sum both run in your browser, so the numbers you type are never uploaded.

Learn more

Related tools