Lens Calculator

Free Online Lens Maker Combined Lenses Double Lens System

Free lens maker equation calculator with combined lenses and double lens system ray tracing. Calculate focal length from refractive index & radii of curvature, find equivalent focal length for lens combinations, or trace rays through a two-lens system with step-by-step solutions.

Lens Calculator
+ = convex, − = concave, 99999 = flat (∞)

Lens Diagram

Results

1/f = (μ−1)(1/R₁ − 1/R₂)

Enter values to calculate

Lens maker equation, combined lenses, or double lens system.

Step-by-Step Solution

The Lens Maker's Equation

The lens maker's equation relates the focal length of a lens to the refractive index of the material and the radii of curvature of its two surfaces: 1/f = (μ − 1)(1/R₁ − 1/R₂). For a lens immersed in a medium other than air, the generalized form uses μ₁/μ₂ (relative refractive index).

💡
Sign Convention for Radii: R is positive when the center of curvature is on the right side of the surface (convex toward incoming light), negative when on the left (concave toward incoming light). A flat surface has R = ∞.

Types of Lens Combinations

Lenses in Contact

When two thin lenses are placed in contact (d = 0), their powers add directly: P = P₁ + P₂. Equivalent focal length: 1/F = 1/f₁ + 1/f₂. Used in compound eyepieces and corrective lenses.

Separated Lenses

When lenses are separated by distance d: 1/F = 1/f₁ + 1/f₂ − d/(f₁·f₂). The separation term changes the effective power. Telescopes and microscopes rely on precise lens spacing.

Achromatic Doublet

A converging crown glass lens paired with a diverging flint glass lens. Net effect is converging but chromatic aberration is minimized. Essential in camera lenses and telescopes.

Double Lens System

Image from lens 1 becomes the object for lens 2. Requires solving the thin lens equation twice. Total magnification = m₁ × m₂. Used in microscopes, projectors, and relay optics.

Lens Shapes & Sign Conventions

Biconvex

R₁ > 0, R₂ < 0. Always converging (f > 0). Most common lens shape.

Biconcave

R₁ < 0, R₂ > 0. Always diverging (f < 0). Used in myopia correction.

Plano-Convex

R₁ = ∞, R₂ < 0. Converging. Common in laser optics and condensers.

Plano-Concave

R₁ = ∞, R₂ > 0. Diverging. Used in beam expanders.

Converging Meniscus

Both surfaces curve same way, R₁ > 0, R₂ > 0 (R₁ < R₂). Net converging. Used in eyeglasses.

Diverging Meniscus

Both surfaces curve same way, R₁ < 0, R₂ < 0. Net diverging. Less common.

Frequently Asked Questions

The lens maker equation is 1/f = (μ−1)(1/R₁ − 1/R₂), where f is focal length, μ is the refractive index, R₁ is the radius of curvature of the first surface, and R₂ is the radius of the second surface. It calculates focal length from the physical properties of the lens.
For two thin lenses in contact: 1/F = 1/f₁ + 1/f₂, or P = P₁ + P₂ in diopters. For example, a +10D and +5D lens in contact give P = +15D total, with F = 100/15 = 6.67 cm.
For two lenses separated by distance d: 1/F = 1/f₁ + 1/f₂ − d/(f₁·f₂). In terms of power: P = P₁ + P₂ − d·P₁·P₂. The separation changes the effective power of the system.
The image formed by lens 1 becomes the object for lens 2. Solve the thin lens equation for lens 1 to get v₁ (intermediate image), then compute u₂ = −(d − v₁) and solve again for lens 2. Total magnification is m₁ × m₂.
An achromatic doublet combines a converging lens (crown glass, low dispersion) with a diverging lens (flint glass, high dispersion) to minimize chromatic aberration. The net power is positive but dispersion effects cancel. Essential in quality optics.
The generalized form uses relative refractive index: 1/f = (μ₁/μ₂ − 1)(1/R₁ − 1/R₂). A glass lens (μ=1.5) in water (μ=1.33) has a longer focal length than in air because the relative index is smaller (1.5/1.33 vs 1.5/1).

Explore More Physics Tools

🔍

Lens & Mirror Calculator

Thin lens equation for 7 optical elements with ray diagrams

n

Snell's Law Calculator

Light refraction, critical angles, and prism deviation

F

Inclined Plane Calculator

Forces, friction, and acceleration on inclined planes

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.