What is a Lensmaker's Equation?
A lensmaker equation calculator is a free online tool that finds the focal length of a lens from the refractive index of its glass and the radii of its two surfaces. It uses the lensmaker's equation: 1/f = (n − 1) × (1/R1 + 1/R2) for a biconvex lens. It gives the answer instantly as you type, with the main result shown first and the supporting figures underneath, so you can check the headline number and the working behind it in one glance.
It is used by Class 12 and college optics students, and anyone grinding lenses, choosing eyeglass prescriptions, or designing simple optics. If you are working through a set of problems, a distance calculator is often the next step once this answer is in hand, because the two quantities feed into each other.
To use it, enter the refractive index of the lens material, and the radii of the two surfaces in centimetres (as positive magnitudes for a biconvex lens). The calculator runs entirely in your browser: nothing you type is uploaded, stored, or shared, and there is no sign-up. You can change any value and the results update at once, which makes it easy to test what happens when one input moves.
How the Lensmaker's Equation works
A lens bends light at both of its surfaces, and how much it bends depends on two things: how much slower light travels in the glass, which is the refractive index, and how curved the surfaces are. The lensmaker's equation combines them: one over the focal length equals the refractive index minus one, times the sum of one over each radius. Flatter surfaces and a lower index both give a longer focal length. The formula the calculator uses is: 1/f = (n − 1) × (1/R1 + 1/R2) for a biconvex lens, with radii as positive magnitudes. Every symbol in that formula has one meaning and one unit, and keeping the units straight is most of the work in getting a right answer.
By hand, the steps are: subtract 1 from the refractive index, add the reciprocals of the two radii, multiply the two results, and take the reciprocal to get the focal length. The calculator does the same steps in the same order, so a hand check on one example should land on the same number the page shows, allowing for the rounding in the display.
The radii must be in the same unit, centimetres here, and the focal length comes out in that unit. The refractive index has no unit. Lens power in dioptres is 100 divided by the focal length in centimetres, or 1 divided by the focal length in metres. The calculator is an estimate in the sense that it trusts the numbers you enter: it cannot tell whether a measurement was read correctly, so a wrong input gives a wrong-looking answer with no warning. Always check the units before trusting a result.
One more check: the formula above is the one the page uses, so a textbook that writes it differently is usually just rearranging the same relation or using different symbols. Match the symbols by their meaning, not by their shape, and the numbers will agree. If your book gives the answer in different units, convert at the end rather than in the middle, so a conversion slip cannot hide inside the working.
Which radius is which, and what the signs mean
For a biconvex lens, both surfaces curve outward, and this calculator takes both radii as positive magnitudes and adds their reciprocals. That is the convention used here, and it is stated on the page so the answer can be checked. In the full Cartesian version of the equation the second radius carries a minus sign, which is why textbooks write 1/R1 minus 1/R2: the two forms agree once the sign of R2 is accounted for.
The refractive index is the number that matters most after the radii. Ordinary glass is about 1.52, water is 1.33, and diamond is 2.42. A higher index bends light more strongly, so the same shape in a higher-index material has a shorter focal length. Entering 1.52 for glass when the lens is actually plastic, around 1.49, shifts the answer only slightly, but entering the index of water by mistake shifts it a lot.
Lens power in dioptres is the reciprocal of the focal length in metres. A lens of 20 centimetres focal length has a power of 5 dioptres, which is a strong reading-glass prescription. A negative power means a diverging lens, the kind used for short sight.
A worked example
Take this example: 1.52 , 20 cm, 20 cm. A biconvex lens is made of glass with refractive index 1.52, and both surfaces have a radius of 20 centimetres. Put those numbers into the calculator and it returns Focal length (cm) 19.23 ; Lens power (dioptres) 5.2 ; Lens type Converging (convex) .
Working it through by hand: 1/f = (1.52 − 1) × (1/20 + 1/20) = 0.52 × 0.1 = 0.052, so f = 19.23 cm and the power is 100 ÷ 19.23 = 5.2 dioptres. The hand result matches the calculator exactly, which is the point of the check: if your own working gives a different number, one of the inputs was typed in the wrong unit or the wrong box.
Try a second set to see how the answer moves: the same shape made of water, with refractive index 1.33. 1/f = (1.33 − 1) × 0.1 = 0.033, so f = 30.3 cm: the lower index gives a longer focal length Changing one input at a time and watching the result is the fastest way to build a feel for the formula, and it is how most students spot a typing error before it reaches their homework.
Who uses a Lensmaker's Equation and why
The first group is students. A student finds the focal length of a glass biconvex lens with 20 centimetre radii: about 19.2 centimetres, a power of about 5.2 dioptres.
The second is teachers and tutors. An optics student compares the same lens shape in glass and in diamond to see how much the material changes the focal length. A energy converter is a natural companion here, since lessons often pair the two quantities in the same problem set.
The third is anyone doing practical work. An eyeglass learner converts a prescription in dioptres into a focal length to understand what the numbers on the prescription mean. None of these uses needs an account or an install: the page opens, the numbers go in, and the answer is there.
Exam and homework use is the common thread across all three groups. A calculator gives the number, but the marks come from the working: write the formula, substitute the values with units, and then the answer. A bare number with no working earns little credit even when it is right, while a shown method with one small slip usually earns most of the marks.
Lensmaker's Equation Calculator vs Temperature Converter
A temperature converter answers a different question: it converts a temperature you already have between Celsius, Fahrenheit, and kelvin, which is a different job from working out a focal length from glass and curvature.. The two tools look similar because they share inputs, but they solve for different unknowns, and picking the wrong one is the most common source of confusion between them.
Use this Lensmaker's Equation when the quantity you need is the one named in the title above. Use the Temperature Converter when your unknown is the one it is named for instead. If a problem gives you the answer this page produces and asks for something else, that something else is usually the job of the companion tool.
In practice the two are used back to back: work out the first quantity here, then carry it into the second tool as an input. Keeping the chain in that order, and writing each intermediate answer down, stops small rounding slips from growing into a wrong final answer.
Common mistakes with a Lensmaker's Equation
The first mistake is entering the diameter of the lens instead of the radius of curvature of its surfaces, which are completely different numbers.
The second is forgetting to subtract 1 from the refractive index, which makes the focal length far too short.
The third is mixing the two sign conventions for the second radius, which turns a biconvex lens into a meniscus lens in the calculation. A quick habit that catches all three: work one example by hand, compare it with the calculator, and only then trust the page for the rest of the set.
How to use this Lensmaker's Equation
Step one, enter the refractive index of the lens material, and the radii of the two surfaces in centimetres (as positive magnitudes for a biconvex lens). Step two, check the units beside each box match the units in your problem. Step three, read the main result at the top of the results box, then the supporting figures below it.
For the most accurate results, use the most precise inputs you have, and keep the same unit system all the way through a problem: mixing centimetres with metres, or milliamps with amps, is the single biggest cause of answers that are out by a factor of ten or a hundred. Glass is 1.52, water 1.33, diamond 2.42: if your focal length looks wrong, check the refractive index first, then the radii.
The calculator is free, works on a phone or a computer, and needs no sign-up. Everything runs in your browser, so your numbers never leave your device, and closing the page leaves nothing behind.
If the answer looks wrong, change one input at a time and watch which one moves the result. A result that jumps by a factor of ten usually means a unit slipped, centimetres for metres or grams for kilograms, while a result that barely moves when an input changes usually means that input matters less than expected, often because it sits under a square root. Both patterns are worth knowing before an exam.