Lens Makers Equation Calculator
Calculate focal length, optical power, and diopters using the lensmaker's equation. Supports thin and thick lens models with customizable refractive
Lens Makers Equation Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: 1/f = (n-1) x [1/R1 - 1/R2 + (n-1)d / (nR1R2)]
Worked example โ Thin f: 23.08 cm | Thick f: 23.15 cm | Power: 4.32 D | Converging lens
Formula
1/f = (n-1) x [1/R1 - 1/R2 + (n-1)d / (nR1R2)]
Where f is the focal length, n is the refractive index of the lens material relative to the surrounding medium, R1 and R2 are the radii of curvature of the two surfaces, and d is the lens thickness. For thin lenses the thickness term is omitted.
Worked Examples
Example 1: Biconvex Crown Glass Lens
Problem:Calculate the focal length of a biconvex lens made of crown glass (n=1.52) with R1=20 cm and R2=-30 cm, thickness 0.5 cm, in air (n=1.0).
Solution:Thin Lens: 1/f = (1.52 - 1) x (1/20 - 1/(-30)) 1/f = 0.52 x (0.05 + 0.0333) = 0.52 x 0.0833 = 0.04333 f (thin) = 23.08 cm Thick Lens: 1/f = 0.52 x [0.0833 + (0.52 x 0.5)/(1.52 x 20 x (-30))] = 0.52 x [0.0833 + (-0.000285)] = 0.52 x 0.08305 f (thick) = 23.15 cm Power = 100/23.15 = 4.32 diopters
Result:Thin f: 23.08 cm | Thick f: 23.15 cm | Power: 4.32 D | Converging lens
Example 2: Biconcave Flint Glass Lens
Problem:Calculate the focal length of a biconcave lens made of flint glass (n=1.62) with R1=-15 cm and R2=25 cm in air.
Solution:1/f = (1.62 - 1) x (1/(-15) - 1/25) 1/f = 0.62 x (-0.0667 - 0.04) = 0.62 x (-0.1067) 1/f = -0.0661 f = -15.13 cm (diverging lens) Power = 100/(-15.13) = -6.61 diopters
Result:Focal Length: -15.13 cm | Power: -6.61 D | Diverging (concave) lens
Frequently Asked Questions
What is the lensmaker's equation and what does it calculate?
The lensmaker's equation is a fundamental formula in optics that relates the focal length of a lens to the radii of curvature of its two surfaces and the refractive index of the lens material. The equation is expressed as 1 over f equals n minus 1 times the quantity 1 over R1 minus 1 over R2, where f is the focal length, n is the refractive index of the lens material relative to the surrounding medium, R1 is the radius of curvature of the first surface, and R2 is the radius of curvature of the second surface. This equation is essential for designing lenses in cameras, telescopes, microscopes, eyeglasses, and virtually every optical instrument. It allows optical engineers to predict how light will be focused by a given lens design.
What is the sign convention for radii of curvature in the lensmaker's equation?
The sign convention for the lensmaker's equation follows the Cartesian standard where the light travels from left to right. The radius R1 of the first surface is positive if the center of curvature is to the right of the surface, which corresponds to a convex surface facing the incoming light. R1 is negative if the center of curvature is to the left, indicating a concave surface facing the light. For the second surface R2, the convention is the same: positive if the center of curvature is to the right. For a standard biconvex lens, R1 is positive and R2 is negative. For a biconcave lens, R1 is negative and R2 is positive. A plano-convex lens has one flat surface where the radius is treated as infinity.
How does the refractive index affect the focal length of a lens?
The refractive index directly influences the focal length through the lensmaker's equation. A higher refractive index means the lens bends light more strongly, resulting in a shorter focal length for the same surface curvatures. Common optical glass types range from crown glass at about 1.52 to dense flint glass at 1.75 or higher. For example, a biconvex lens with R1 of 20 cm and R2 of negative 20 cm made from crown glass with n equals 1.52 has a focal length of about 19.2 cm, while the same shape made from dense flint glass with n equals 1.75 has a focal length of only 13.3 cm. High-index materials allow thinner, lighter lenses, which is why modern eyeglass prescriptions often use high-index plastics.
What is the difference between the thin lens and thick lens versions of the equation?
The thin lens approximation assumes the lens thickness is negligible compared to the focal length and radii of curvature. It simplifies the equation to 1 over f equals n minus 1 times the quantity 1 over R1 minus 1 over R2. The thick lens version includes an additional term that accounts for the lens thickness d, adding the factor n minus 1 times d divided by n times R1 times R2. For thin lenses like eyeglass lenses, the difference between the two formulas is minimal, often less than 1 percent. However, for thick lenses like condensing lenses, camera objectives, or high-power magnifiers, the thickness term becomes significant and can change the focal length by 5 to 15 percent, making the thick lens formula necessary for accurate optical design.
How is optical power measured in diopters and how does it relate to focal length?
Optical power in diopters is the reciprocal of the focal length measured in meters. A lens with a focal length of 0.5 meters has a power of 2 diopters, and a lens with a focal length of 0.25 meters has a power of 4 diopters. Positive diopter values indicate converging lenses and negative values indicate diverging lenses. This unit is universally used in optometry and ophthalmology for prescribing corrective lenses. A person who is nearsighted might need minus 3 diopter lenses, meaning diverging lenses with a focal length of negative 33.3 centimeters. The advantage of using diopters is that when thin lenses are placed in contact, their powers simply add together, making prescription calculations straightforward for eye care professionals.
What is a meniscus lens and how do both radii end up with the same sign?
A meniscus lens is curved the same way on both faces, so one surface is convex and the other concave and R1 and R2 share a sign. Its power still follows 1/f = (n-1)(1/R1 - 1/R2), so the sharper surface wins. With n = 1.5, R1 = 10 cm and R2 = 20 cm, 1/f = 0.5 x (0.1 - 0.05) = 0.025, giving f = 40 cm and a converging lens. Swapping the radii gives f = -40 cm and a diverging one.
How does immersing a lens in water change its focal length?
The lensmaker's equation uses the relative index n_rel = n_lens / n_medium, not the raw glass index. Crown glass at n = 1.52 in air gives n_rel - 1 = 0.52, but in water at n = 1.333 it gives 1.52 / 1.333 - 1 = 0.140. Since power scales with that factor, the same lens becomes about 3.7 times weaker underwater. This is why the human eye's cornea loses almost all its refracting power when submerged and why divers need an air-filled mask.
Where is the focal length of a thick lens actually measured from?
The focal length the equation returns is the effective focal length, measured from the lens's principal planes, not from the glass surfaces. What you measure on a bench is the back focal distance from the rear vertex to the focus, given by BFD = f x [1 - (n-1)d / (n R1)]. For a thin lens the principal planes nearly coincide with the glass and the two values agree, but for a thick condenser or camera objective they can differ by several millimetres, which matters when setting mount flange distances.
Why does a single refractive index not fully describe a real lens?
Glass dispersion means n varies with wavelength, so the equation gives a different focal length for every colour. Blue light sees a slightly higher index than red and focuses closer to the lens, producing longitudinal chromatic aberration. The Abbe number V summarises this: V = (n_d - 1) / (n_F - n_C), and common borosilicate crown glass sits near 64 while dense flints fall below 40. Designers pair a low-dispersion crown with a high-dispersion flint to build an achromatic doublet that brings two wavelengths to a common focus.
How do you handle a plano-convex lens where one surface is flat?
A flat surface has an infinite radius of curvature, so its 1/R term becomes zero and drops out. For a plano-convex lens with the curve on the front, 1/f simplifies to (n-1)/R1; with n = 1.5 and R1 = 10 cm the focal length is 20 cm. Orientation does not change this calculated power, but it does change aberrations: pointing the curved face toward the collimated beam splits the ray bending across both surfaces and noticeably reduces spherical aberration.
References
Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy
Related Calculators
๐งฎMirror/Lens Equation Calculator
mirror/lens equation calculator. Get instant, accurate results.
๐งฎBernoulli Equation Calculator
Calculate bernoulli equation with inputs, formulas, and instant results.
๐งฎAcceleration Calculator
Calculate acceleration with inputs, formulas, and instant results.
๐งฎMotion on Incline with Friction Calculator
Calculate motion on incline with friction with inputs, formulas, and instant results.
๐งฎRelative Velocity Calculator
Calculate relative velocity with inputs, formulas, and instant results.
๐งฎVelocity Calculator
Calculate velocity with inputs, formulas, and instant results.
๐งฎCoupled Spring Damper Calculator
Calculate coupled spring damper with inputs, formulas, and instant results.
๐งฎFriction Force Calculator
Calculate friction force with inputs, formulas, and instant results.