Lens Maker Equation Calculator

Work out the focal length of a lens from the glass and the curvature of its two faces, including the effect of thickness.

🔬 Lens Maker Equation Calculator
Length unit for radii and thickness
Refractive index n of the glass
Surface radii+ if the center of curvature is on the outgoing side, blank is flat
R1 (first surface)
R2 (second surface)
Center thickness d0 or blank for a thin lens
Length unit
Lens shape
Target focal length f and index nnegative f for a diverging lens
Focal length f
Index n
Length unit
Measured focal length fnegative for a diverging lens
Surface radii (thin lens)blank is flat
R1
R2
Focal length f
—
Optical power
—
Lens type
—
Shape
—
Thin-lens focal length (d = 0)
—
Effect of thickness on f
—

Radius of the curved face
—
R1 (signed)
—
R2 (signed)
—
Shape
—
Optical power
—

Refractive index n
—
1/R1 − 1/R2
—
Nearest common material
—
Shape
—

🔬 What is the Lens Maker Equation?

The lens maker equation, also called the lensmaker's formula, connects the focal length of a lens to the glass it is made of and the shape of its two faces. In its thin-lens form it reads 1/f = (n − 1)(1/R1 − 1/R2), where n is the refractive index and R1 and R2 are the radii of curvature of the first and second surfaces. It is the formula a lens designer uses before any ray tracing: choose a glass, choose the curves, and the focal length follows. This calculator evaluates it, extends it to lenses of real thickness, and runs it backwards to find the curve or the glass you need.

Opticians, camera and telescope builders and physics students all use it. An optician converts a prescription in dioptres into curves for a given plastic. A hobbyist grinding a telescope objective picks the radii that give the right focal length. A student in a lab measures the focal length of a lens and the radius of each face with a spherometer, and then checks the refractive index of the glass. The power of the lens, 1/f in metres, is reported in dioptres, which is the unit on a glasses prescription and the quantity that adds up when thin lenses are placed together.

The most common mistakes come from signs and from assuming the lens is thin. Each radius is signed. With the convention used here, a radius is positive when its center of curvature lies on the side the light is heading toward, so the first face of a biconvex lens is positive and the second is negative. A flat face has an infinite radius, which is why the calculator lets you leave the field blank. For a thick lens the thin formula is only approximate, and the correction term (n − 1) d / (n R1 R2) adds the effect of the glass between the faces. The page shows both values, so you can see when thickness matters and when the thin-lens limit is good enough.

The three modes are Focal length, Design a lens, and Find n. Focal length handles any lens and plots how its power changes with the index. Design a lens returns the radius for a target focal length in equi-convex and plano-convex shapes. Find n estimates the refractive index of an unknown lens. Once you have the focal length, use it with the mirror equation calculator for the matching curved-mirror problem, and the speed of light calculator for how the glass slows light.

📐 Formula

1/f = (n − 1) [ 1/R1 − 1/R2 + (n − 1) d / (n R1 R2) ]
f = focal length of the lens in air. Positive for a converging lens, negative for a diverging one.
n = refractive index of the lens material (greater than 1).
R1, R2 = radii of curvature of the first and second surfaces. Positive when the center of curvature is on the outgoing side. A flat face has an infinite radius, so its 1/R is zero.
d = thickness of the lens along the axis, in the same unit as the radii. The last term vanishes for d = 0, which is the thin-lens limit 1/f = (n − 1)(1/R1 − 1/R2).
Power: P = 1/f, in dioptres when f is in metres.
Designs (thin): equi-convex R = 2 (n − 1) f, plano-convex R = (n − 1) f.
Example: n = 1.5, R1 = 100 mm, R2 = −100 mm: 1/f = 0.5 × (0.01 + 0.01) = 0.01 per mm, so f = 100 mm.

📖 How to Use This Calculator

Steps

1
Choose a mode. Use Focal length to analyse a lens, Design a lens to find the curve for a target focal length, or Find n to get the refractive index from a measured lens.
2
Pick the unit, then enter the glass and the surfaces. Choose mm, cm or m first, because the menu does not convert numbers you have typed. Enter n, the two signed radii (blank for a flat face) and the thickness.
3
Read the lens. The calculator gives the focal length, the power in dioptres, whether the lens converges or diverges, its shape name, and the thin-lens value with the percentage effect of thickness.
4
Use the chart. The chart shows optical power against refractive index for your faces, with the thin-lens limit dashed when the lens has thickness, and your glass marked.

💡 Example Calculations

Example 1 — A Biconvex Magnifier

Thin lens, n = 1.5, R1 = +100 mm, R2 = −100 mm

1
1/R1 − 1/R2 = 0.01 + 0.01 = 0.02 per mm.
2
1/f = (1.5 − 1) × 0.02 = 0.01 per mm.
3
f = 100.000 mm, a power of 1000 / 100 = 10.000 D. It converges light.
Focal length = 100.000 mm, power = 10.000 D
Try this example →

Example 2 — A Plano-Convex Lens

n = 1.52, R1 = +50 mm, second face flat

1
The flat face has 1/R2 = 0, so 1/f = (n − 1)/R1 = 0.52 / 50 = 0.0104 per mm.
2
f = 50 / 0.52 = 96.154 mm.
3
Power = 1000 / 96.154 = 10.400 D.
Focal length = 96.154 mm, power = 10.400 D
Try this example →

Example 3 — A Biconcave Lens

n = 1.5, R1 = −200 mm, R2 = +200 mm

1
1/R1 − 1/R2 = −0.005 − 0.005 = −0.01 per mm.
2
1/f = 0.5 × (−0.01) = −0.005 per mm, so f = −200.000 mm.
3
Power = −5.000 D. The negative sign means the lens diverges light.
Focal length = −200.000 mm, power = −5.000 D
Try this example →

Example 4 — A Thick Lens

n = 1.5, R1 = +50 mm, R2 = −50 mm, thickness d = 10 mm

1
Thin part: 1/R1 − 1/R2 = 0.04 per mm. Thickness term: (n − 1) d / (n R1 R2) = 0.5 × 10 / (1.5 × (−2500)) = −0.001333.
2
1/f = 0.5 × (0.04 − 0.001333) = 0.019333 per mm, so f = 51.724 mm.
3
The thin-lens value is 50.000 mm, so thickness lengthens f by 3.45%. Power = 19.333 D.
Focal length = 51.724 mm, thin-lens limit = 50.000 mm
Try this example →

Example 5 — A Converging Meniscus

n = 1.6, R1 = +40 mm, R2 = +100 mm

1
1/R1 − 1/R2 = 0.025 − 0.01 = 0.015 per mm.
2
1/f = 0.6 × 0.015 = 0.009 per mm, so f = 111.111 mm.
3
Both radii are positive, so both faces curve the same way: a meniscus. The power is 9.000 D, so it converges.
Focal length = 111.111 mm, shape = Meniscus
Try this example →

Example 6 — Designing an Equi-Convex Lens

Target f = 150 mm in glass with n = 1.52

1
For equal curves R1 = R and R2 = −R, so 1/f = 2 (n − 1)/R.
2
R = 2 (n − 1) f = 2 × 0.52 × 150 = 156.000 mm.
3
Check: 1/f = 0.52 × (2 / 156) = 0.006667 per mm, so f = 150 mm and the power is 6.667 D.
R1 = +156.000 mm, R2 = −156.000 mm
Try this example →

Example 7 — Finding the Index of an Unknown Lens

A lens with f = 75 mm and radii +50 mm and −50 mm

1
1/R1 − 1/R2 = 0.02 + 0.02 = 0.04 per mm.
2
n − 1 = 1 / (f × 0.04) = 1 / 3 = 0.3333.
3
n = 1.3333, close to water at 1.33.
Refractive index = 1.3333
Try this example →

❓ Frequently Asked Questions

What is the lens maker equation?+
For a thin lens in air, 1/f = (n - 1)(1/R1 - 1/R2), where n is the refractive index of the glass and R1 and R2 are the radii of curvature of the first and second surface. With n = 1.5 and radii of +100 mm and -100 mm, f = 100 mm.
What is the sign convention for R1 and R2?+
A radius is positive when its center of curvature lies on the side the light is going toward, and negative when it lies on the side the light comes from. A biconvex lens therefore has R1 positive and R2 negative. A flat surface has an infinite radius.
What is the thick lens formula?+
For a lens of thickness d in air, 1/f = (n - 1)[1/R1 - 1/R2 + (n - 1) d / (n R1 R2)]. The last term corrects for the distance light travels inside the glass. As d tends to zero it vanishes and you recover the thin-lens equation.
How do you find the focal length of a plano-convex lens?+
Set the flat radius to infinity, so the equation reduces to 1/f = (n - 1)/R. A plano-convex lens with n = 1.52 and R = 50 mm has f = 50 / 0.52 = 96.15 mm.
How do you calculate the power of a lens in dioptres?+
The power is P = 1/f with f in metres. A lens with a focal length of 100 mm = 0.1 m has a power of 10 dioptres. Thin lenses placed close together add their powers.
Is a biconcave lens converging or diverging?+
It is diverging, so its focal length is negative. With n = 1.5 and radii of -200 mm and +200 mm the lens maker equation gives f = -200 mm, a power of -5 dioptres.
What radius do I need for a given focal length?+
For an equi-convex thin lens R = 2 (n - 1) f. For a plano-convex lens R = (n - 1) f. With n = 1.52 and f = 150 mm an equi-convex lens needs R = 156 mm on each face.
How much does thickness change the focal length?+
It depends on the radii. For n = 1.5, R1 = 50 mm, R2 = -50 mm, a 10 mm thickness gives f = 51.72 mm instead of the thin-lens 50 mm, a difference of 3.45 percent. Thick lenses with strong curves need the full formula.
Can the lens maker equation be used for a lens in water?+
Only with a change. Replace n by the ratio n(lens) / n(medium) in the equation. This calculator assumes the lens is in air, with an index of 1.
What is a meniscus lens?+
A meniscus lens has both surfaces curving the same way, so R1 and R2 have the same sign. A lens with n = 1.6, R1 = 40 mm and R2 = 100 mm is a converging meniscus with f = 111.1 mm, because the first surface curves more strongly.
How do you find the refractive index of a lens from its focal length?+
Rearrange the thin-lens form: n = 1 + 1 / [f (1/R1 - 1/R2)]. A lens with f = 75 mm and radii of 50 mm and -50 mm gives n = 1.3333.

What is the lens maker equation?

For a thin lens in air, 1/f = (n - 1)(1/R1 - 1/R2), where n is the refractive index of the glass and R1 and R2 are the radii of curvature of the first and second surface. With n = 1.5 and radii of +100 mm and -100 mm, f = 100 mm.

What is the sign convention for R1 and R2?

A radius is positive when its center of curvature lies on the side the light is going toward, and negative when it lies on the side the light comes from. A biconvex lens therefore has R1 positive and R2 negative. A flat surface has an infinite radius.

What is the thick lens formula?

For a lens of thickness d in air, 1/f = (n - 1)[1/R1 - 1/R2 + (n - 1) d / (n R1 R2)]. The last term corrects for the distance light travels inside the glass. As d tends to zero it vanishes and you recover the thin-lens equation.

How do you find the focal length of a plano-convex lens?

Set the flat radius to infinity, so the equation reduces to 1/f = (n - 1)/R. A plano-convex lens with n = 1.52 and R = 50 mm has f = 50 / 0.52 = 96.15 mm.

How do you calculate the power of a lens in dioptres?

The power is P = 1/f with f in metres. A lens with a focal length of 100 mm = 0.1 m has a power of 10 dioptres. Thin lenses placed close together add their powers.

Is a biconcave lens converging or diverging?

It is diverging, so its focal length is negative. With n = 1.5 and radii of -200 mm and +200 mm the lens maker equation gives f = -200 mm, a power of -5 dioptres.

What radius do I need for a given focal length?

For an equi-convex thin lens R = 2 (n - 1) f. For a plano-convex lens R = (n - 1) f. With n = 1.52 and f = 150 mm an equi-convex lens needs R = 156 mm on each face.

How much does thickness change the focal length?

It depends on the radii. For n = 1.5, R1 = 50 mm, R2 = -50 mm, a 10 mm thickness gives f = 51.72 mm instead of the thin-lens 50 mm, a difference of 3.45 percent. Thick lenses with strong curves need the full formula.

Can the lens maker equation be used for a lens in water?

Only with a change. Replace n by the ratio n(lens) / n(medium) in the equation. This calculator assumes the lens is in air, with an index of 1.

What is a meniscus lens?

A meniscus lens has both surfaces curving the same way, so R1 and R2 have the same sign. A lens with n = 1.6, R1 = 40 mm and R2 = 100 mm is a converging meniscus with f = 111.1 mm, because the first surface curves more strongly.

How do you find the refractive index of a lens from its focal length?

Rearrange the thin-lens form: n = 1 + 1 / [f (1/R1 - 1/R2)]. A lens with f = 75 mm and radii of 50 mm and -50 mm gives n = 1.3333.