Calculate the focal length of a lens from its refractive index and the radii of curvature using the lens maker's equation, plus lens power in diopters.
Inputs
Refractive index of the lens material, n > 1 (crown glass ≈ 1.52).
Positive if the surface's center of curvature is downstream (past the lens), negative if upstream.
Same sign convention as R1. A biconvex lens is typically R1 > 0 and R2 < 0.
Focal Length
—
Enter the refractive index and both radii above.
Inputs
Refractive index of the lens material, n > 1.
Positive if the surface's center of curvature is downstream, negative if upstream.
Same sign convention as R1. A shorter |R1|/|R2| gives a stronger (higher-diopter) lens.
Lens Power
—
Enter the refractive index and both radii above.
Inputs
Choosing a quantity here computes it from the other three fields below.
Refractive index of the lens material, n > 1.
Positive if downstream of the lens, negative if upstream.
Same sign convention as R1.
Positive for a converging lens, negative for a diverging lens.
Solved Value
—
Pick a quantity to solve for and fill in the other three fields.
The lens maker's equation connects a lens's physical shape — its material and the curvature of its two surfaces — to the optical behavior that shape produces: focal length and lens power.
📋
Walk-through
How to Use This Calculator
3 steps▸
1
Enter the refractive index and both radii
On the Focal Length tab, enter the lens material's refractive index (n) and the radius of curvature for each surface, R1 and R2, in centimetres. Use the sign convention in the input hints: a radius is positive if its center of curvature lies past the lens (downstream), negative if it lies before the lens (upstream).
2
Read the focal length and lens power
The result card shows the focal length instantly, plus the lens power in diopters and whether the lens is converging or diverging. Switch to the Lens Power tab to see the same calculation with diopters as the headline number instead.
3
Work backward on the Solve tab
Already know the focal length and want to design the lens? Switch to Solve, choose what to solve for (focal length, R1, R2, or refractive index), fill in the other three fields, and the calculator finds the missing value.
⚡
Reference
Formula & Methodology
3 formulas▸
Lens maker's equation
1/f = (n − 1)(1/R1 − 1/R2)
f is the focal length of a thin lens, n is the refractive index of the lens material, and R1 and R2 are the radii of curvature of the first and second surfaces. f, R1, and R2 share the same length unit (centimetres in this calculator).
Lens power
P = 1/f
Lens power P is the reciprocal of the focal length measured in meters, expressed in diopters (D). A 20 cm focal length is 0.2 m, so P = 1/0.2 = 5 D. Optometrists and lens makers use diopters because lens powers add directly when lenses are stacked.
Sign convention
R > 0 downstream · R < 0 upstream
With light traveling left to right through the lens, a surface's radius of curvature is positive if its center of curvature sits on the far (downstream) side of the lens, and negative if it sits on the near (upstream) side. A biconvex lens is therefore R1 > 0 and R2 < 0.
📖
Glossary
Key Terms Explained
7 terms▸
Lens maker's equation ↗The formula 1/f = (n − 1)(1/R1 − 1/R2) that computes a thin lens's focal length from its material's refractive index and the curvature of its two surfaces.
Focal length ↗The distance from a lens at which parallel incoming light rays converge to a point (a converging lens) or appear to diverge from (a diverging lens). Positive for converging lenses, negative for diverging lenses.
Radius of curvature ↗The radius of the sphere that a lens surface is cut from. A smaller radius means a more strongly curved (steeper) surface; a flat surface has an infinite radius.
Refractive index ↗A dimensionless number (n) describing how much a material slows and bends light compared to a vacuum. Common optical glass ranges from about 1.5 to 1.9; higher-index materials bend light more per unit of curvature, so thinner lenses can hit the same focal length.
Lens power ↗The reciprocal of focal length in meters, P = 1/f, expressed in diopters. Higher power means a stronger, shorter-focal-length lens; power is additive when lenses are combined in contact.
Diopter ↗The unit of lens power, equal to one inverse meter (1 D = 1 m⁻¹). Reading glasses are commonly +1.00 D to +3.50 D; a typical corrective eyeglass lens ranges from about −10 D to +6 D.
Converging / diverging lens ↗A converging lens has a positive focal length and bends parallel light rays inward to a real focal point (e.g., a biconvex lens). A diverging lens has a negative focal length and spreads parallel rays outward, so they only appear to originate from a virtual focal point (e.g., a biconcave lens).
👥
Scenarios
Real-World Examples
3 worked examples▸
🔍
Optics student
A symmetric biconvex glass lens
Refractive index (n) 1.5R1 20 cmR2 -20 cm
1/f = (1.5−1)(1/20 − 1/−20) = 0.5 × 0.1 = 0.05, so f = 20 cm. The positive focal length means this is a converging lens — the classic textbook biconvex magnifier shape.
💡
Optometry student
A stronger biconvex lens, expressed in diopters
Refractive index (n) 1.5R1 10 cmR2 -10 cm
Halving both radii to ±10 cm halves the focal length to f = 10 cm, which doubles the power to P = 1/0.10 m = 10 D — a strong reading-glasses-strength lens. More curvature always means more power, never less.
🔄
Physics TA explaining sign convention
Flipping to a biconcave (diverging) lens
Refractive index (n) 1.5R1 -20 cmR2 20 cm
Swapping the signs of R1 and R2 from the biconvex example flips the result to f = −20 cm and P = −5 D. The negative focal length identifies a diverging (biconcave) lens — same magnitudes, opposite curvature, opposite optical behavior.
🔗
Reference
Cite This Calculator
APA & MLA▸
Use either format to cite this calculator in a paper, report, or resource list.
APA
MLA
📄
Deep Dive
Understanding the Lens Maker's Equation Calculator
The lens maker's equation connects a lens's physical shape — its material and the curvature of its two surfaces — to the optical behavior that shape produces: focal length and lens power. This calculator computes both directly from n, R1, and R2, and can also work backward to solve for any one of the four quantities (n, R1, R2, or f) given the other three.
How the Lens Maker's Equation Calculator works
▸
For a thin lens (one whose thickness is small compared to R1 and R2), the focal length is given by 1/f = (n − 1)(1/R1 − 1/R2). The (n − 1) term captures how much more the lens material bends light than the surrounding air; the (1/R1 − 1/R2) term captures how much the two surfaces' curvatures combine to focus or spread that bent light. Once f is known, lens power follows directly as P = 1/f (in diopters, with f measured in meters), and the sign of f classifies the lens as converging (f > 0) or diverging (f < 0).
Inputs and what they mean
▸
Refractive index (n) is a unitless property of the lens material — ordinary glass is roughly 1.5, and higher-index materials let you achieve the same power with less curvature (thinner, flatter lenses). R1 and R2 are the radii of curvature of the first and second surfaces the light hits, sharing whatever length unit you enter them in (centimetres here); their signs follow the convention that a radius is positive when its center of curvature lies on the far side of the lens from the incoming light, negative when it lies on the near side. Getting the sign wrong is the single most common mistake with this formula — a biconvex lens is R1 > 0, R2 < 0, and simply reversing those signs turns the same magnitudes into a biconcave, diverging lens instead.
Limits and edge cases
▸
This calculator uses the thin-lens approximation, which ignores the lens's physical thickness and any spherical aberration from real, non-ideal surfaces — it is accurate for typical corrective and camera lenses but not for thick or highly curved specialty optics. A flat surface has an infinite radius of curvature rather than zero, so a plano-convex lens is modeled by making one radius very large rather than entering zero (entering 0 for R1 or R2 is treated as invalid, since it implies a surface curved to a single point). If R1 equals R2 exactly, the two curvature terms cancel to zero optical power — a flat piece of glass — which this calculator flags rather than returning an undefined infinite focal length. The lens maker's equation only outputs the focal length and power of the lens itself; to find where an image actually forms from a given focal length and object distance, see the Lens Equation Calculator.
❓
Questions
Frequently Asked Questions
6 questions▸
What is the lens maker's equation formula?+
1/f = (n − 1)(1/R1 − 1/R2), where f is the focal length, n is the refractive index of the lens material, and R1 and R2 are the radii of curvature of the lens's first and second surfaces.
How do I convert focal length to diopters?+
Lens power in diopters is P = 1/f, with f measured in meters. A focal length in centimetres must be divided by 100 first — a 20 cm focal length is 0.2 m, giving P = 1/0.2 = 5 diopters.
What is the sign convention for R1 and R2?+
With light traveling left to right, a surface's radius of curvature is positive if its center of curvature lies past (downstream of) the lens, and negative if it lies before (upstream of) the lens. A symmetric biconvex lens is R1 positive and R2 negative; reversing both signs gives the equivalent biconcave lens.
How do I know if a lens is converging or diverging?+
Check the sign of the computed focal length: a positive f means a converging lens (it focuses parallel light to a real point, like a magnifying glass), and a negative f means a diverging lens (it spreads parallel light apart, like the lens in a peephole).
What units does the calculator use?+
Refractive index (n) is unitless. R1, R2, and the resulting focal length are all in centimetres. Lens power is always reported in diopters (1/meters), which the calculator converts to internally from the centimetre-based focal length.
Can I solve for the radius of curvature instead of the focal length?+
Yes. Switch to the Solve tab and choose R1, R2, or Refractive index from the "Solve for" menu — the calculator rearranges the lens maker's equation algebraically and computes that quantity from the other three fields.
📄
Save & share
Get a branded PDF of your results
Download a one-page PDF of your numbers instantly. Add your email to also get our occasional calculator tips — no spam, unsubscribe anytime. Privacy.