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
- Pick a tab: Focal length to power, Power to focal length, or Combine lenses.
- In Focal length to power, type the focal length in meters, such as 0.5.
- In Power to focal length, type the power in diopters, such as 2.
- In Combine lenses, type a comma-separated list of powers, such as 2, 3, -1.
- Read the three cards: power in diopters and focal length in meters and centimeters.
- 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
- Diopters, reading glasses and stacking lens powers
What the diopter number on reading glasses means, how strengths translate to focal length, and why stacked lenses simply add up.
Related tools
Lens Maker's Equation Calculator
Find a lens focal length and power from its refractive index and surface radii using 1/f = (n-1)(1/R1 - 1/R2). Supports flat surfaces. Free and instant.
Thin Lens Calculator
Solve the thin lens equation 1/f = 1/do + 1/di. Enter any two of focal length, object distance and image distance to find the third, plus magnification.
Lens Magnification Calculator
Solve the thin lens equation 1/f = 1/do + 1/di and find magnification m = -di/do. Enter any two of focal length, object and image distance. Free tool.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Absolute Humidity Calculator
Calculate absolute humidity in grams of water vapor per cubic meter from air temperature and relative humidity. Fast, free and works in your browser.
Allele Frequency Calculator
Find allele frequencies from genotype counts. Enter the number of AA, Aa and aa individuals to get the A and a allele frequencies and allele totals.