Lensmakers Equation Calculator - Thin and Thick Lens Focal Length

Use this lensmakers equation calculator to find focal length, optical power in diopters, and lens type from refractive index and surface radii of curvature.

Updated: June 16, 2026 • Free Tool

Lensmakers Equation Calculator

Radius of the first surface. Positive for convex toward the incoming light, negative for concave, 0 for flat.

Radius of the back surface. Same sign rule as R1; 0 means flat.

Refractive index of the lens material. Crown glass is about 1.5, acrylic about 1.49, dense flint up to 1.9.

Center thickness in mm. 0 for a thin lens; the measured thickness for the thick-lens correction.

Results

Focal Length
0mm
Optical Power 0D
Lens Type 0

What Is a Lensmakers Equation Calculator?

A lensmakers equation calculator turns a lens refractive index and the two surface radii of curvature into a focal length, an optical power in diopters, and a lens type label. It applies 1/f = (n - 1) * (1/R1 - 1/R2) for a thin lens and adds the (n - 1) * d / (n * R1 * R2) correction when you enter a real center thickness.

  • Size a converging biconvex lens: Find the focal length of an equiconvex glass lens (R1 positive, R2 negative) for a telescope objective or magnifier.
  • Convert a focal length into an eyeglass prescription: Read the optical power in diopters to match a stock lens to an optometry prescription.
  • Check a plano-convex or plano-concave element: Set one radius to 0 for a flat surface to get the focal length of a flat-side lens used in collimators and eyepieces.
  • Apply the thick-lens correction: Enter the real center thickness in millimeters to add the (n - 1) * d / (n * R1 * R2) term and compare with the thin-lens ideal.

Most optics problems start from a stock catalog that lists a lens by focal length or diopter power, and the lensmakers equation is the working formula behind those catalogs.

Refractive index n is the ratio of light speed in vacuum to light speed in the glass (n = c / v), so the same wave relation that defines n also drives a Wave Speed Calculator for the wavelength, frequency, and wave speed inside the lens.

How the Lensmakers Equation Calculator Works

The calculator applies the lensmaker's equation in the Cartesian sign convention, treating R = 0 as a flat surface (1/R = 0) and adding the center-thickness correction term only when d is greater than zero and both radii are non-zero.

1/f = (n - 1) * (1/R1 - 1/R2 + (n - 1) * d / (n * R1 * R2))
  • n: Refractive index of the lens material relative to the surrounding medium. For glass in air, n is the glass refractive index; air is 1.000 by definition.
  • R1: Radius of the first surface. Positive for convex toward the incoming light, negative for concave, 0 for flat.
  • R2: Radius of the back surface. Same sign rule as R1; 0 means flat.
  • d: Center thickness in millimeters. 0 for a thin lens; the measured thickness for the thick-lens correction.

The thin-lens form drops the d term, which is what introductory physics problems use. The thick-lens form adds (n - 1) * d / (n * R1 * R2) inside the parentheses, and that term is what moves the principal planes off the lens surface.

Equiconvex crown glass lens, n = 1.5, R1 = +50 mm, R2 = -50 mm, d = 0

1/f = 0.5 * (1/50 - 1/(-50)) = 0.5 * 0.04 = 0.02. f = 1 / 0.02 = 50 mm.

f = 50 mm, optical power = 20 D, lens type Biconvex (converging).

Hecht's Optics gives the same result: f = R / (2*(n - 1)) = 50 / 1 = 50 mm.

According to Wikipedia - Lensmaker's equation, the lensmaker's equation relates the focal length of a simple lens to the refractive index of the lens material and the radii of curvature of its two surfaces, with the thin-lens form 1/f = (n - 1) * (1/R1 - 1/R2) and a thick-lens correction that includes d.

According to Omni Calculator - Lensmaker's Equation, a positive focal length denotes a converging lens and a negative focal length denotes a diverging lens, with the sign driven by the Cartesian signs of R1 and R2.

The thin lens equation 1/f = 1/s1 + 1/s2 pairs with this formula and uses the same reciprocal-distance algebra as kinematic motion, so a Kinematics Motion Calculator handles object and image distances with the SUVAT framework.

Key Lensmakers Equation Concepts

Four ideas come up every time you apply the lensmaker's equation to a real lens. Understanding them keeps the sign convention, the refractive index choice, and the thin-vs-thick correction from producing a wrong sign or magnitude.

Cartesian sign convention

A surface is positive when its center of curvature is on the outgoing-light side and negative when it is on the incoming-light side, which is why a biconvex lens has R1 positive and R2 negative.

Refractive index of the glass

Refractive index measures how much light slows inside the glass. Crown glass is about 1.5, acrylic about 1.49, polycarbonate about 1.58, and dense flint up to about 1.9. A higher n shortens the focal length.

Thin vs thick lens

A thin lens assumes d is small enough that the (n - 1) * d / (n * R1 * R2) term is negligible. A thick lens keeps that term and shifts the principal planes, which changes the effective focal length for high-power or high-index optics.

Optical power in diopters

Optical power in diopters is 1 / focal length in meters. A 50 mm focal length is 20 D, a 200 mm focal length is 5 D. Opticians and camera catalogs use diopters because stacked-lens powers add.

If the result disagrees with a catalog spec, the most common cause is the sign convention, not the formula. Plot the two surfaces along the light path, label each center of curvature, and re-enter R1 and R2 with the right signs before changing any other input.

If the lens is clamped in a mount and the contact force on each surface matters, a Forces Newtons Laws Calculator resolves the normal force on the surface using the same Cartesian sign convention.

How to Use This Lensmakers Equation Calculator

Four quick steps take you from a glass blank, a catalog spec, or a homework problem to a focal length, an optical power, and a lens type label.

  1. 1 Pick the refractive index: Enter the refractive index of the lens material. Use 1.5 for crown glass, 1.49 for acrylic, 1.58 for polycarbonate, or the exact glass data sheet value for a precision optic.
  2. 2 Enter the two surface radii: Enter R1 and R2 in millimeters with the Cartesian sign convention. Positive for convex toward the incoming light, negative for concave, 0 for flat. For an equiconvex lens use R1 = +R and R2 = -R.
  3. 3 Add the center thickness for a thick lens: Leave d at 0 for a thin-lens problem, or enter the measured thickness in millimeters to apply the thick-lens correction. The correction is most visible for short-focal-length or high-index glass.
  4. 4 Read the focal length, power, and lens type: Read the focal length in millimeters, the optical power in diopters, and the lens type label. Use the diopter value to match the lens to an optometry prescription or stack it with another lens.

For an equiconvex crown glass lens (n = 1.5, R1 = +50 mm, R2 = -50 mm, d = 0), the calculator returns f = 50 mm, optical power = 20 D, lens type Biconvex (converging).

Each surface radius is the radius of the sphere the lens face sits on, and the same radius parameter appears in circular motion, so a Centripetal Force Calculator on the same geometry set resolves the rotational force on a path of that radius when the lens is spun on a polishing wheel.

Benefits of Using This Lensmakers Equation Calculator

The lensmakers equation calculator gives you a converging or diverging focal length, an optometry-friendly diopter value, and a lens type label in a single pass.

  • Convert glass spec to focal length in seconds: Drop in n, R1, and R2 and read the focal length in millimeters. No need to rearrange 1/f by hand, which is the most common source of sign errors in introductory optics.
  • Read the diopter value for prescriptions: Optical power in diopters is the unit optometrists and camera lens catalogs use. A 50 mm focal length becomes 20 D, a -30 mm focal length becomes about -33.33 D.
  • Cover thin and thick lenses in one tool: Leave d at 0 for the thin-lens form taught in physics class, or enter d to add the (n - 1) * d / (n * R1 * R2) correction that matters for microscope objectives.
  • Identify the lens shape at a glance: The lens type label reads the signs of R1 and R2 plus the sign of f, so you see biconvex, plano-convex, biconcave, plano-concave, or meniscus directly.

If you stack two thin lenses for a compound optic, add the diopter values to get the system power and invert for the system focal length.

Refractive index depends on wavelength, so the same lens has a different focal length for red and blue light, and a photon at the source wavelength carries energy E = hf = hc / λ, so a Frequency Calculator resolves the design-wavelength period or frequency on the same set.

Factors That Affect Your Lensmakers Equation Results

Five inputs move the focal length and the optical power the most, plus two caveats to keep in mind before ordering a lens or quoting a prescription.

Refractive index n

The (n - 1) factor multiplies the curvature term, so a small change in n changes the focal length almost linearly. Crown glass n = 1.5 versus dense flint n = 1.9 cuts the focal length by about 37 percent.

First surface radius R1

A larger R1 flattens the first surface and lengthens the focal length. Doubling R1 from 50 mm to 100 mm roughly doubles the focal length of a biconvex lens in air.

Second surface radius R2

R2 carries the sign that flips between converging and diverging. A biconvex lens with R2 negative converges; a biconcave lens with R2 positive diverges.

Center thickness d

The thick-lens term (n - 1) * d / (n * R1 * R2) shifts the focal length by a few percent for typical 5 to 10 mm thick elements.

Wavelength (dispersion)

Refractive index depends on wavelength, so the same lens has slightly different focal lengths for red, green, and blue light, which is what produces chromatic aberration.

  • The thin-lens form drops the center-thickness term, so it is an approximation. For long-focal-length, thin elements the error is under 1 percent, but for short-focal-length, high-index glass the thin-lens value can differ from the thick-lens value by 5 percent or more.
  • The lensmakers equation assumes spherical surfaces and a single refractive index. It does not capture aspheric corrections, gradient-index glass, or wavelength-dependent dispersion.

If the result disagrees with a vendor spec, double-check the sign convention first, then the units of R1 and R2, then the value of n.

According to Hyperphysics - Thin lens formulas, the lensmaker's equation in the Cartesian sign convention gives 1/f = (n - 1) * (1/R1 - 1/R2), where R1 is positive for a surface convex toward the incoming light and R2 is positive for a surface convex toward the outgoing light.

A photon at the design wavelength carries energy E = hf = hc / λ, so a Kinetic Energy Calculator on the same wavelength-and-energy set resolves that photon energy in joules.

Lensmakers equation calculator interface with refractive index, first surface radius R1, second surface radius R2, center thickness, focal length, optical power, and lens type outputs
Lensmakers equation calculator interface with refractive index, first surface radius R1, second surface radius R2, center thickness, focal length, optical power, and lens type outputs

Frequently Asked Questions

Q: What is the lensmakers equation used for?

A: The lensmakers equation is used to find the focal length of a simple lens from the refractive index of the lens material and the radii of curvature of its two surfaces. It is the working formula behind converging and diverging lens design, eyeglass prescriptions, telescope objectives, and most introductory optics homework.

Q: How do you calculate focal length from radii of curvature?

A: Use the thin-lens form 1/f = (n - 1) * (1/R1 - 1/R2) where n is the refractive index, R1 is the first surface radius, and R2 is the second surface radius. For n = 1.5 and R1 = +50 mm, R2 = -50 mm, the formula gives 1/f = 0.02, so f = 50 mm.

Q: What is the difference between the thin lens and thick lens forms?

A: The thin-lens form drops the center-thickness term, so it works when d is small compared with R1 and R2. The thick-lens form adds the (n - 1) * d / (n * R1 * R2) correction, which changes the effective focal length for short-focal-length, high-index glass.

Q: What sign convention does the lensmakers equation use?

A: The lensmakers equation uses the Cartesian sign convention. A radius is positive when the center of curvature is on the outgoing-light side and negative when it is on the incoming-light side, which makes a biconvex lens have R1 positive and R2 negative.

Q: How does refractive index affect lens focal length?

A: Refractive index appears in the (n - 1) factor, so increasing n shortens the focal length for a given set of surface radii. Crown glass n = 1.5 versus dense flint n = 1.9 cuts the focal length of the same equiconvex lens by about 37 percent.

Q: Can the lensmakers equation handle a plano-convex lens?

A: Yes. A plano-convex lens has one flat surface, which the calculator treats as R = 0 (1/R = 0). For n = 1.5 and R1 = +100 mm with R2 = 0, the formula reduces to 1/f = 0.005, so the focal length is 200 mm.