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.