Diopter Calculator

Convert a lens's focal length to optical power in diopters (D = 1/f), see whether it is a converging or diverging lens, and combine it with a second lens held in contact.

Quick Facts

Diopter formula
D = 1 / f (f in meters)
Optical power is the reciprocal of focal length measured in meters.
Sign convention
Converging lens: +D · Diverging lens: −D
Convex (converging) lenses have positive focal length and power; concave (diverging) lenses have negative focal length and power.
Lens powers add
D_total = D1 + D2
Valid for thin lenses in contact — this is why diopters (not focal lengths) are used to stack corrective lenses.

Your Results

Calculated
Lens Power
-
D = 1 / f, in diopters
Lens Type
-
Based on the sign of the focal length
Combined Power
-
D_total = D1 + D2 (lenses in contact)
Combined Focal Length
-
f_total = 1 / D_total

Ready

Enter a focal length and unit, then press Calculate.

Formula and Method for Diopter (Lens Power)

A diopter (symbol D, unit m⁻¹) is the standard unit of optical power for lenses, mirrors, and the eye. It is defined as the reciprocal of the focal length measured in meters: D = 1/f. A short focal length means a strongly bending, high-power lens (large D); a long focal length means a weak lens (small D). This calculator converts a focal length in any common unit into diopters, identifies whether the lens is converging or diverging, and — if you enter a second lens — adds the two powers together to find the combined power and combined focal length of the pair.

How the calculation works

First, the focal length is converted to meters (1 in = 0.0254 m, 1 cm = 0.01 m, 1 mm = 0.001 m). The power in diopters is then the reciprocal of that value: D = 1/f(m). For example, a lens with f = 50 cm = 0.5 m has a power of D = 1/0.5 = 2.00 D. If you supply a second lens's focal length, the calculator converts it the same way and computes its power D2, then adds the two powers directly — D_total = D1 + D2 — because this is the standard thin-lens-in-contact approximation used throughout optics and optometry. The combined focal length is simply f_total = 1/D_total.

Sign convention and common mistakes

  • Converging vs. diverging: by the standard sign convention, a converging (convex) lens has a positive focal length and therefore positive power (+D); a diverging (concave) lens has a negative focal length and negative power (−D). Enter a negative value for the focal length of a diverging lens.
  • Don't average focal lengths: when stacking two lenses, never average or add the raw focal lengths — powers add, focal lengths do not. Two +2.00 D lenses in contact give +4.00 D total (f = 25 cm), not a focal length that is the sum of the individual focal lengths.
  • Lens separation matters: the simple addition D_total = D1 + D2 assumes the lenses are thin and touching. For lenses separated by a distance d (in meters), the more general formula is D_total = D1 + D2 − d·D1·D2.

Real-world applications

  • Eyeglass and contact lens prescriptions are written directly in diopters (e.g., −3.00 D for myopia, +1.50 D for hyperopia or a reading add).
  • Stacking corrective lenses — such as reading glasses worn over prescription lenses, or a magnifying loupe over safety glasses — uses D_total = D1 + D2 to predict the effective power of the combination.
  • Camera and projector optics specify lens power in diopters when working with close-up (macro) attachment lenses, which add their power to the main lens.
  • The relaxed human eye has a total optical power of roughly 60 D, produced mainly by the cornea (~40 D) and the crystalline lens (~20 D) acting together.

Frequently Asked Questions

What is a diopter?
A diopter (D) is the unit of optical (lens or refractive) power, defined as the reciprocal of the focal length measured in meters: D = 1/f. A lens with a 0.5 m focal length has a power of 2 D. Converging (convex) lenses have positive power; diverging (concave) lenses have negative power.
How do I convert between focal length and diopters?
Convert the focal length to meters first, then take the reciprocal: D = 1/f(m). To go the other way, take the reciprocal of the power: f(m) = 1/D. For example, a +2.00 D lens has a focal length of 1/2 = 0.5 m, or 50 cm.
How do you combine the power of two lenses?
For thin lenses held in contact (negligible separation), total power simply adds: D_total = D1 + D2. This is why diopters are convenient for stacking corrective lenses, such as a reading lens placed over prescription glasses. If the lenses are separated by a distance d (in meters), the more general formula is D_total = D1 + D2 − d·D1·D2.
Why are eyeglass prescriptions sometimes negative?
A negative diopter value means a diverging (concave) lens, used to correct myopia (nearsightedness) by moving the focal point back onto the retina. A positive diopter value means a converging (convex) lens, used to correct hyperopia (farsightedness) or presbyopia.