Lens Maker Equation Calculator

Find a thin lens focal length and optical power from refractive index and the signed radii of its two curved surfaces.

Thin lens focal length
Use meters for both radii and the Cartesian sign convention for each surface.

About the lens maker equation

The lens maker equation connects a lens's material and surface curvature to its focal length. For a thin lens surrounded by air, optical power is one over focal length and equals the refractive index minus one multiplied by the difference between the reciprocals of the first and second surface radii. The calculator uses 1/f = (n - 1) times (1/R1 - 1/R2), with all distances entered in meters. The resulting focal length is in meters and its reciprocal is optical power in diopters. Signs are essential. Under the Cartesian convention used here, a radius is positive when its center of curvature lies to the right of the surface as light travels from left to right, and negative when it lies to the left. A common biconvex lens therefore has a positive first radius and a negative second radius. With refractive index 1.5 and radii of positive 0.2 meter and negative 0.2 meter, the power is 5 diopters and the focal length is 0.2 meter. Reversing the curvatures produces a negative focal length, describing a diverging lens. Refractive index measures how strongly light slows in a material compared with vacuum. Typical visible-light values are about 1.49 for acrylic and around 1.5 to 1.9 for optical glasses. A larger index difference from the surrounding medium gives greater power for the same surface shapes. Because refractive index varies with wavelength, real lenses focus colors at slightly different points, an effect called chromatic aberration. The value entered should correspond to the material and wavelength relevant to the design. This thin-lens form assumes lens thickness is negligible compared with the radii and focal length, and it assumes air outside the lens. Thick lenses require an additional center-thickness term, while lenses immersed in water or another medium require a relative refractive index. Surface asphericity, manufacturing tolerances, and higher-order aberrations also affect practical performance but are outside this paraxial approximation. Optical designers use the equation as a first estimate for eyeglasses, cameras, telescopes, magnifiers, and laboratory optics. It also helps students understand how steeper curvature, material index, and sign convention alter convergence. Enter radii in the same unit if you only need focal length in that unit, but meters are recommended because the displayed diopter value is defined as inverse meters. A zero radius is invalid, while equal signed radii can yield zero power and an infinite focal length.

Lens maker examples

Examples use a thin lens in air and radii in meters.

InputsResultInterpretation
n = 1.5, R1 = 0.2 m, R2 = -0.2 mf = 0.2 m, P = 5 DA symmetric biconvex converging lens.
n = 1.5, R1 = -0.2 m, R2 = 0.2 mf = -0.2 m, P = -5 DReversed curvature creates a diverging lens.
n = 1.49, R1 = 0.1 m, R2 = -0.1 mf = 0.10204 m, P = 9.8 DA more strongly curved acrylic lens has greater positive power.

How to use the lens maker calculator

  1. Enter the lens material's refractive index for the relevant wavelength.
  2. Enter the signed radius of the first surface in meters.
  3. Enter the signed radius of the second surface in meters.
  4. Select Calculate focal length and read both focal length and optical power.

Lens maker equation FAQ

What sign convention does this calculator use?

A radius is positive when its center of curvature is to the right of the surface for light traveling left to right. It is negative when that center lies to the left.

What is a diopter?

A diopter is one inverse meter and measures optical power. A focal length of 0.5 meter corresponds to 2 diopters.

Can this equation model a thick lens?

This calculator uses the thin-lens approximation and omits center thickness. A thick-lens calculation should include thickness and the locations of the principal planes.

Why can focal length be negative?

A negative focal length identifies a diverging lens that forms a virtual focus. It is a valid result determined by surface curvature and sign convention.

Does refractive index depend on color?

Yes, most transparent materials have different refractive indices at different wavelengths. This dispersion causes chromatic aberration in real lenses.