Lens Maker's Equation Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Why lens design (and focal length) matters

Lenses are core components in cameras, microscopes, telescopes, projectors, VR headsets, and many measurement instruments. A lens works by refracting (bending) light at its surfaces; that bending determines where parallel rays come to focus, how large an image appears, and how wide the field of view is. In practical terms, the focal length you compute here is one of the fastest ways to sanity‑check whether a proposed lens shape and material will behave as a converging lens (positive focal length) or a diverging lens (negative focal length).

This calculator uses the common thin‑lens form of the Lens Maker’s equation. It’s widely taught and extremely useful for first‑pass design, homework, and quick verification—but like any simplified model, it relies on assumptions (listed below) and a sign convention that you must apply consistently.

The Lens Maker’s equation (thin lens)

For a thin lens in a uniform surrounding medium (often air), the focal length f is related to refractive index and the radii of curvature of the two surfaces:

1 f = (n1) [ 1R1 1R2 ]

Where:

Sign convention for R1 and R2 (the #1 source of confusion)

Different textbooks and software packages may use different sign conventions. This page follows a common convention that pairs naturally with the thin Lens Maker’s equation written above:

Under this convention, a symmetric biconvex lens (typical converging magnifier) often ends up with R1 > 0 and R2 < 0, which makes the bracket term larger and yields a positive focal length.

Interpreting the result

Also note that many optics workflows use optical power in diopters, defined as P = 1/f when f is in meters. If you want power, you can compute it directly from the equation’s left side.

Worked example (step by step)

Suppose you have a thin, symmetric biconvex lens in air with refractive index n = 1.50. Let the first surface have radius R1 = +0.10 m. For a symmetric biconvex lens under the convention above, the second surface typically uses the opposite sign: R2 = −0.10 m.

  1. Compute n − 1: 1.50 − 1 = 0.50
  2. Compute the curvature term:
    • 1/R1 = 1/0.10 = 10 m−1
    • 1/R2 = 1/(−0.10) = −10 m−1
    • [1/R1 − 1/R2] = 10 − (−10) = 20 m−1
  3. Compute 1/f: (0.50)(20) = 10 m−1
  4. Invert to get f: f = 1/10 = 0.10 m = 10 cm

The positive result indicates a converging lens, which matches expectations for a biconvex lens in air.

Quick comparison table (common shapes and typical signs)

Lens type (thin, in air) Typical sign of R₁ Typical sign of R₂ Expected sign of f Notes
Biconvex (converging) + + Common magnifier; symmetric case often R₁ = −R₂ in magnitude.
Plano‑convex (converging) + (convex side first) or ~∞ (plane) ~∞ (plane) or − + If one side is plane, use a very large radius (approaches infinity).
Biconcave (diverging) + Produces negative focal length in air for n > 1.
Plano‑concave (diverging) − or ~∞ ~∞ or + Sign depends on which side faces incoming light; keep convention consistent.

Assumptions and limitations (when this calculator may be inaccurate)

Practical tips for using the inputs

Enter lens parameters to compute focal length.

Embed this calculator

Copy and paste the HTML below to add the Lens Maker's Equation Calculator - Optical Design Tool to your website.