Lens Power & Back Focus Calculator

Enter both signed radii, center thickness and refractive index for two centered optical elements in air. Trace an initially parallel ray through each element. Compare the signed back focal distance from the rear vertex with an entered detector window, and see how it differs from the effective focal length.

Thick lens comparison in air

Compare thick lens back focus

Edit detector window and lenses

Enter a positive radius when the curve center is toward the rear. Use a negative radius when it is toward the front, or 0 for a flat surface.

Lens A dimensions
Lens B dimensions

Only lens A reaches the detector window.

Lens A

Back focal length from rear vertex
50 mm
Effective focal length
60 mm

Exactly at the far edge

Lens B

Back focal length from rear vertex
52 mm
Effective focal length
60 mm

Beyond the entered window

2 mm from the nearest edge

Inspect the paraxial ray trace

Axial distance from each rear vertex

-20 mm56 mm
  • Detector window
  • Rear vertex
  • Focus

Lens A · Real focus behind the rear surface

Detector window 40 mm–50 mm

Exact back focal length 50 mm

Rear height / incoming height 5/6

Exactly at the far edge

Ray heights are scaled for the diagram.

Review the exact thick lens ledger
Optical power, ray height and focus
LensPower per mmRear height ratioEffective focal length (mm)Back focal length (mm)Detector comparison
A1/605/66050Exactly at the far edge
B1/6013/156052Beyond the entered window

How to use this calculator

  1. Enter the near and far limits allowed for the detector, measured from each lens's rear vertex.
  2. Enter both signed radii, center thickness and refractive index for each design.
  3. Compare effective focal length, back focal length and the exact detector-window result.
  4. Choose a design in the ray inspector and export the reduced fractions for the optics and window comparison.

The Formula

The mathematical logic powering this calculation is:

Light travels from the front vertex to the rear vertex. A radius is positive when its center of curvature lies toward the rear of the drawing and negative when it lies toward the front. Enter 0 for a plane. Enter the refractive index for the wavelength under study. Air is modeled with index 1 on both sides.

In the paraxial ray model the powers of the front and rear surfaces are P₁ = (n − 1)/R₁ and P₂ = (1 − n)/R₂. A plane has zero surface power. For a parallel incident ray with unit height, the ray height at the rear vertex plane is A = 1 − tP₁/n. The reduced angle after the rear surface is −Φ, where Φ = P₁ + P₂A. The effective focal length is 1/Φ. The back focal length is A/Φ, measured from the rear vertex along the outgoing axis direction.

Use a positive detector window measured from the rear vertex. A back focal distance inside the closed interval reaches the window, including either exact endpoint or an exact single position. A zero focus lies at the rear vertex. A negative result is the upstream intercept obtained by extrapolating the exit ray. When Φ is zero, parallel input stays parallel and there is no finite back focal distance.

Radii accept signed values through 10,000 mm in magnitude. Center thickness accepts 0–10,000 mm, including zero for a thin-limit comparison. Positive detector positions accept 0.001–10,000 mm. Lengths accept three decimals, and refractive index accepts 1–3 with four decimals. Exact reduced fractions govern focus classification and detector eligibility. The drawing scales ray heights and uses paraxial propagation. Aperture clipping, spherical aberration, wavelength variation and physical blank feasibility require separate analysis.

Worked Example

If you input:

  • Window: 40–50 mm behind the rear vertex
  • Lens A: Front +30 mm, plane rear, 15 mm thickness, n = 1.5
  • Lens B: Front +30 mm, plane rear, 12 mm thickness, n = 1.5

Result:

Both lenses have 60 mm effective focal length. Lens A focuses exactly at the far edge, 50 mm from the rear vertex. Lens B focuses 2 mm beyond the window, at 52 mm.

Frequently Asked Questions

Which focal length should I compare with a detector offset?

A detector setback measured from the rear vertex corresponds to back focal length for parallel incident rays. The effective focal length uses the rear principal plane as its origin.

Why do the two examples have equal effective focal lengths?

Only the front surface has power in those examples. Changing the center thickness alters the height where the ray exits the rear surface, which moves the vertex-to-focus distance.

How do I enter a plano surface?

Enter the value 0 for the radius of the plane. A nonzero signed value describes a curved surface.

What does a negative back focal length mean?

Extrapolating the exit ray backward reaches the axis upstream of the rear vertex. A detector behind the rear vertex cannot intercept that focus.

What happens if a lens has zero optical power?

The model classifies it as afocal under parallel input and removes the finite focus markers.

Similar Calculators