Lensmaker's Equation Calculator
Test cases replayed : 4 of 4 match · Methodology · No outside source listed
Find the focal length of a lens from the glass index, the curvature of both surfaces and the center thickness.
Result
Focal lengthcm
1 ÷ f (1/cm)
- Optical power (diopters)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Refractive index of the lens: enter 1 or more.
- Radius of the first surface R₁ (0 = flat), in cm: enter a number.
- Radius of the second surface R₂ (0 = flat), in cm: enter a number.
- Center thickness, in cm: enter 0 or more.
- Read the result: Focal length; the panel also shows 1 ÷ f (1/cm) and Optical power (diopters).
How this calculator works
Lensmaker's equation for a lens in air: 1/f = (n − 1) × [1/R₁ − 1/R₂ + (n − 1) × d ÷ (n × R₁ × R₂)], with n the refractive index, d the thickness and the radii signed by the usual convention: positive when the center of curvature lies beyond the surface (to the right, light travelling left to right).
A biconvex lens has R₁ > 0 and R₂ < 0. A flat surface has an infinite radius, entered here as 0. Power in diopters = 1 ÷ f in meters. With d = 0 this reduces to the thin-lens form.
Worked example
| Refractive index of the lens | 1.5 |
|---|---|
| Radius of the first surface R₁ (0 = flat) | 10 cm |
| Radius of the second surface R₂ (0 = flat) | -10 cm |
| Center thickness | 0.5 cm |
| 1 ÷ f (1/cm) | 0.0992 |
|---|---|
| Focal length | 10.084 cm |
| Optical power (diopters) | 9.9167 |
Frequently asked questions
What is the focal length of a thin biconvex lens with n = 1.5 and radii of 10 cm?
10 cm (10 diopters), when the thickness is negligible.
Why does a negative focal length appear?
The lens is diverging (thinner in the middle), like a biconcave lens.