Lensmaker's Equation Calculator – Focal Length from Radius of Curvature
Use this free Lensmaker's Equation Calculator to find the focal length of a lens from the shape of its surfaces — the refractive index of the glass and the radius of curvature of each face. Choose a biconvex lens or a plano-convex lens to get started.
Formula
Lensmaker's equation: 1/f = (n − 1) × (1/R₁ − 1/R₂), with all lengths in metres.
Sign convention (simple version): light travels left to right, and a radius is positive if the centre of that surface's sphere lies to the right of the surface. For a biconvex lens that means R₁ is positive and R₂ is negative — so if you enter both radii as positive sizes (as this calculator asks), the two terms add up. For a plano-convex lens the flat face has R₂ = ∞, so its term is zero.
How to use
- Pick the lens shape: biconvex or plano-convex.
- Enter the refractive index of the material (glass is about 1.50).
- Enter the radius of curvature of each curved face in centimetres, then click "Calculate Focal Length".
Worked example
A biconvex glass lens (n = 1.50) has both faces curved with radius 20 cm.
1/f = (1.50 − 1) × (1/0.20 + 1/0.20) = 0.50 × 10 = 5.0
f = 1 ÷ 5.0 = 0.20 m = 20 cm, so the power is P = +5.00 D.
Make one face flat instead (plano-convex) and the same glass gives f = 40 cm — half the bending, twice the focal length.
FAQ
Why does the refractive index matter so much?
The (n − 1) factor is the lens's "bending strength per unit of curvature". Diamond (n = 2.42) would make a much stronger lens than glass of the same shape, while a lens with n = 1 would not bend light at all.
What if the lens sits in water instead of air?
The full equation uses the relative index (n_lens ÷ n_medium). In water the contrast is smaller, so the same lens becomes weaker — its focal length gets longer.
Does a thicker lens change the result?
This is the thin-lens version of the equation, which ignores the lens thickness. For most everyday lenses the thickness is small compared with the radii, so the result is accurate enough; very thick lenses need an extra thickness term.