Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Physics
  3. /Geometric Optics Calculators
  4. /Lens Maker Equation Calculator

Lens Maker Equation Calculator

Last updated: March 17, 2026

Calculator

Results

Focal Length

24

cm

Focal Length

0.24

m

Optical Power

4.1667

D

Relative Index Difference

0.5

Surface Curvature Term

0.083333

1/cm

Inverse Focal Length

0.041667

1/cm

Lens Sign Code

1

Results

Focal Length

24

cm

Focal Length

0.24

m

Optical Power

4.1667

D

Relative Index Difference

0.5

Surface Curvature Term

0.083333

1/cm

Inverse Focal Length

0.041667

1/cm

Lens Sign Code

1

The Lens Maker Equation Calculator computes the focal length of a lens from its physical properties — the refractive index and the radii of curvature of both surfaces. Unlike the thin lens equation (which relates object and image distances), the lens maker's equation connects the geometry and material of the lens itself to its optical behavior.

The equation $$\frac{1}{f} = (n - 1)\left(\frac{1}{R_1} - \frac{1}{R_2}\right)$$ is fundamental to lens design, enabling optical engineers to choose the right glass type and surface curvatures to achieve a desired focal length.

Visual Analysis

How It Works

The lens maker's equation (thin lens form) is:

$$\frac{1}{f} = \left(\frac{n}{n_m} - 1\right)\left(\frac{1}{R_1} - \frac{1}{R_2}\right)$$

Where:

  • f — focal length of the lens
  • n — refractive index of the lens material
  • nm — refractive index of the surrounding medium (1.0 for air, 1.33 for water)
  • R₁ — radius of curvature of the front (first) surface
  • R₂ — radius of curvature of the back (second) surface

The sign convention for radii follows the standard rule:

  • R > 0 if the center of curvature is to the right (convex surface facing the incoming light)
  • R < 0 if the center of curvature is to the left (concave surface facing the incoming light)
  • R = ∞ for a flat surface (use a very large number)

Common lens configurations:

  • Biconvex: R₁ > 0, R₂ < 0 → converging
  • Biconcave: R₁ < 0, R₂ > 0 → diverging
  • Plano-convex: R₁ > 0, R₂ = ∞ → converging
  • Meniscus: Both R same sign — converging or diverging depending on which |R| is smaller

The optical power P = 1/f (in diopters when f is in meters) is useful for comparing lenses. In optometry, lens prescriptions are given in diopters because the powers of thin lenses in contact add algebraically: Ptotal = P₁ + P₂.

This equation assumes a thin lens — one whose thickness is negligible compared to the radii of curvature and focal length. For thick lenses, a more complete version includes a term proportional to the lens thickness divided by the product of the refractive index and the radii.

Understanding Your Results

The focal length is the key output: positive means converging, negative means diverging. The optical power in diopters equals 1/f(meters) — higher values mean stronger converging or diverging action. The lens type confirms whether your surface curvatures and material produce a converging or diverging lens.

To change the surrounding medium from air (nm = 1.0) to water (nm = 1.33), expand the advanced settings. Immersing a glass lens in water significantly increases its focal length because the refractive index ratio decreases.

Worked Examples

Biconvex Glass Lens in Air

Inputs

n1.5
n medium1
R120
R2-30

Results

focal length24
optical power0.24
lens typeConverging (Positive) Lens

A biconvex lens with n = 1.5, R₁ = +20 cm, R₂ = −30 cm: 1/f = (1.5−1)(1/20 − 1/(−30)) = 0.5 × (0.05 + 0.0333) = 0.5 × 0.0833 = 0.04167, so f ≈ 24.0 cm.

Biconcave Lens — Diverging

Inputs

n1.6
n medium1
R1-15
R225

Results

focal length-15.625
optical power-0.15625
lens typeDiverging (Negative) Lens

A biconcave lens with n = 1.6, R₁ = −15 cm, R₂ = +25 cm: 1/f = 0.6 × (−1/15 − 1/25) = 0.6 × (−0.0667 − 0.04) = 0.6 × (−0.1067) = −0.064, so f ≈ −15.6 cm. This is a diverging lens.

Frequently Asked Questions

The lens maker's equation is $$\frac{1}{f} = (n-1)\left(\frac{1}{R_1} - \frac{1}{R_2}\right)$$ for a thin lens in air. It relates the focal length to the refractive index and the radii of curvature of both lens surfaces. It tells you what focal length a lens will have based on its material and shape.

Using the standard (Cartesian) convention: R₁ is positive if the first surface is convex (center of curvature to the right), and negative if concave. R₂ is positive if the second surface is concave (center of curvature to the right), and negative if convex. For a biconvex lens, R₁ > 0 and R₂ < 0.

When the surrounding medium changes from air (nm = 1.0) to water (nm = 1.33), the factor (n/nm − 1) decreases significantly. For a glass lens with n = 1.5, this factor drops from 0.5 in air to 0.128 in water, roughly quadrupling the focal length and greatly weakening the lens.

Higher refractive index means stronger bending of light at each surface, resulting in a shorter focal length (stronger lens). This is why high-index glass (n = 1.7–1.9) is used for thin eyeglass lenses — it achieves the same power with less curvature and therefore less thickness.

A plano-convex lens has one flat surface (R = ∞) and one convex surface (R > 0). The equation simplifies to 1/f = (n−1)/R₁. To model this, use a very large value (e.g., 99999) for the flat surface radius. Plano-convex lenses are common in laser focusing and collimation.

No. This is the thin lens approximation. The thick lens version includes an additional term: $$\frac{1}{f} = (n-1)\left[\frac{1}{R_1} - \frac{1}{R_2} + \frac{(n-1)d}{nR_1R_2}\right]$$ where d is the lens thickness. For most practical lenses, the thin lens approximation is accurate to within a few percent.

Sources & Methodology

Hecht, E. (2017). Optics, 5th Edition. Pearson. | Smith, W. J. (2007). Modern Optical Engineering, 4th Edition. McGraw-Hill. | HyperPhysics — Lensmaker's Equation: http://hyperphysics.phy-astr.gsu.edu/hbase/geoopt/lenmak.html
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Lens Calculator

Geometric Optics Calculators

Mirror Equation Calculator

Geometric Optics Calculators

Magnification Calculator

Geometric Optics Calculators

Focal Length Calculator

Geometric Optics Calculators

Snell's Law Calculator

Geometric Optics Calculators

Index of Refraction Calculator

Geometric Optics Calculators