Lensmaker's Equation Calculator

Use the lensmaker's equation to find focal length, optical power, and image distance from lens curvature, refractive index, and thickness.

About the Lensmaker's Equation Calculator

The lensmaker's equation is the fundamental relationship connecting a lens's physical properties — its two surface curvatures, refractive index, and thickness — to its optical power and focal length. First derived for thin lenses, the equation 1/f = (n−1)(1/R₁ − 1/R₂) shows that steeper curvatures and higher refractive indices produce shorter focal lengths and stronger focusing. The thick-lens form adds a correction for the finite separation between the two refracting surfaces.

Understanding the lensmaker's equation is essential for optical design, from simple magnifiers to complex multi-element camera objectives. It governs the relationship between lens shape (biconvex, plano-convex, meniscus), material choice, and optical performance. The sign convention for radii of curvature follows the standard optics convention: positive if the center of curvature is to the right of the surface, negative if to the left.

This calculator supports both thin-lens and thick-lens calculations, computes surface powers, optical power in diopters, and (when an object distance is provided) uses the thin-lens equation to find image location and magnification. A material comparison table shows how different glasses and crystals affect the focal length for the same lens geometry, helping optical designers choose materials efficiently.

Why Use This Lensmaker's Equation Calculator?

Use this calculator when you need a fast focal-length estimate from lens geometry without switching to a full optical design package.

It is useful for classroom optics, rough lens selection, and early-stage design work where curvature, material, and thickness choices need to be compared quickly. It also gives a consistent first-pass answer before you move into thicker lenses, material swaps, or more detailed ray tracing.

How to Use This Calculator

  1. Select a preset lens configuration or enter custom radii of curvature.
  2. Enter "inf" for a flat surface (plano-convex or plano-concave lenses).
  3. Input the lens refractive index (or select from common materials).
  4. Enter the center thickness for thick-lens correction (use 0 for thin approximation).
  5. Optionally enter an object distance to compute image location and magnification.
  6. Review the focal length, power, and material comparison table.

Formula

Thin lens: 1/f = (n/n_m − 1)(1/R₁ − 1/R₂). Thick lens: 1/f = (n−1)[1/R₁ − 1/R₂ + (n−1)d/(nR₁R₂)]. Image: 1/f = 1/d_o + 1/d_i. M = −d_i/d_o.

Example Calculation

Result: f ≈ 48.4 mm (thick), 48.5 mm (thin)

A symmetric biconvex BK7 lens (n=1.5168) with R₁=50mm, R₂=−50mm: thin-lens f ≈ 1/[0.5168×(1/50−1/(−50))]mm ≈ 48.4 mm.

Tips & Best Practices

Practical Guidance

The lensmaker's equation is best used as a geometry-driven estimate. It is ideal for checking whether a planned curvature and glass choice land near the target focal length before you move into a more complete model with principal planes, wavelength dependence, and aberration control. That makes it a good first check for lab setups, classroom examples, and simple optical prototypes.

Common Pitfalls

Most errors come from sign convention mistakes and from mixing thin-lens intuition with a lens that is not actually thin. If the lens is strongly curved, thick, or used across a wide field, you should treat this result as a starting point rather than the final design value. Material dispersion and coating choices can also shift real performance away from the paraxial estimate.

Frequently Asked Questions

What is the sign convention for R₁ and R₂?

R is positive if the center of curvature is to the right (toward the image side), negative if to the left. For a biconvex lens: R₁ > 0, R₂ < 0.

When should I use the thick-lens formula?

When the lens thickness is significant relative to the focal length — typically for f/d < 10. For thin lenses (thickness << focal length), the difference is negligible.

What are diopters?

Diopters (m⁻¹) are the unit of optical power, equal to 1/f where f is in meters. Eyeglass prescriptions use diopters. A +2 diopter lens has f = 500 mm.

Why does the medium refractive index matter?

The lensmaker's equation uses the ratio n_lens/n_medium. A glass lens in water has much less power than in air because the refractive index difference is smaller.

What shape lens gives the least aberration?

For minimum spherical aberration on-axis, a plano-convex lens with the curved side toward the collimated beam is optimal. Biconvex is best for unit magnification.

Can this handle negative (diverging) lenses?

Yes. If the computed focal length is negative, the lens is diverging (concave). The calculator flags this and all formulas still apply with the negative sign.

Related Pages