Chromatic Aberration Calculator

Estimate lens color fringing using optical parameters. Compare wavelengths, blur size, and pixel impact instantly. Use results to refine designs and reduce artifacts today.

Inputs
Enter either refractive indices or Abbe number. All fields accept decimals.
Units: mm, µm, dimensionless indices.
Focal length at the d-line (≈587.6 nm).
Typical crown glass is around 1.51–1.52.
If indices are missing, LCA ≈ fd/Vd.
F-line is around 486.1 nm.
C-line is around 656.3 nm.
Used for defocus blur estimate: d ≈ LCA/N.
For lateral CA: Δy ≈ y · (LCA/fd).
Converts mm results into pixels.
Results will appear above this form.
Example data table
Sample inputs and typical outcomes for a thin lens estimate. Use these to sanity-check your entries.
Case f_d (mm) n_d n_F n_C V_d N Approx LCA (mm)
Crown-like glass 50 1.5168 1.5224 1.5143 64.17 4 0.779
Higher dispersion glass 35 1.62 1.635 1.613 38 2.8 0.921
Low dispersion glass 85 1.49 1.493 1.488 95 5.6 0.895
Formula used
These are first-order approximations meant for quick engineering estimates.
How to use this calculator
  1. Enter your reference focal length f_d in millimeters.
  2. Either provide n_d, n_F, n_C or provide V_d.
  3. Optional: add f-number to estimate chromatic defocus blur.
  4. Optional: add image height to estimate lateral color shift.
  5. Optional: add pixel pitch to convert mm into pixels.
  6. Press Submit to view results above the form and export.

Chromatic aberration in measurable terms

Chromatic aberration is the change in focus and magnification with wavelength. It is commonly split into longitudinal color (axial focus shift) and lateral color (field scale change). Reference wavelengths are the F-line 486.1 nm, d-line 587.6 nm, and C-line 656.3 nm.

Longitudinal focus spread from dispersion

For a thin lens with fixed curvatures, optical power scales with (n−1), so focal length scales as 1/(n−1). With indices nd, nF, and nC, the calculator estimates fF and fC, then reports LCA = |fF−fC| in millimeters. It also derives Vd = (nd−1)/(nF−nC) to cross-check dispersion. If only Vd is available, it uses LCA ≈ fd/Vd as a quick estimate.

Lateral color at the sensor plane

Lateral chromatic aberration is estimated at image height y using Δy ≈ y·(LCA/fd). This ties edge fringing to field position: doubling y doubles the predicted shift, making corners the most sensitive region for wide fields.

Blur diameter, aperture, and pixel impact

When the system is focused at the reference wavelength, out-of-focus wavelengths produce defocus blur. The calculator uses d ≈ LCA/N, where N is the f-number, and reports blur in millimeters and micrometers. Enter pixel pitch to convert blur and lateral shift into pixels. Values above 1–2 px often appear as colored softness on edges.

Reading the Plotly wavelength curve

When indices are provided, the graph fits a smooth dispersion curve through nC, nd, and nF, then plots focal length versus wavelength and focus shift relative to fd. Markers highlight the three reference wavelengths, and the curve helps visualize which spectral regions drive the focus error. Steeper variation across 420–700 nm generally indicates stronger broadband fringing.

Worked example and practical mitigation

With fd=50 mm and Vd=64.17, the estimate gives LCA ≈ 0.779 mm. At N=4, predicted defocus blur is about 0.195 mm (195 µm). With 3.45 µm pixels, that is roughly 56 px. At y=10 mm, lateral color is about 0.156 mm. Higher Vd glass, achromatic pairs, stopping down, and software correction reduce artifacts.

FAQs

1) What is the difference between longitudinal and lateral chromatic aberration?

Longitudinal color shifts the best focus with wavelength, so different colors blur differently at the same sensor position. Lateral color changes magnification with wavelength, creating colored outlines that grow toward the image edges.

2) Should I enter refractive indices or only the Abbe number?

Use indices when you have nd, nF, and nC from a datasheet; the calculator can estimate fF and fC directly and plot a wavelength curve. Use Vd when you only need a quick LCA estimate.

3) Does stopping down reduce chromatic aberration?

Stopping down mainly reduces the visible blur from longitudinal color because defocus blur scales roughly as LCA/N. Lateral color is largely geometric and does not shrink as strongly with aperture, though reduced blur can make it less noticeable.

4) How do I interpret results in pixels?

Enter your pixel pitch to convert millimeters to pixels. If predicted blur or lateral shift is below about one pixel, fringing may be hard to see. Several pixels usually means visible color edges and reduced micro-contrast.

5) Why are the F, d, and C wavelengths used?

They are traditional reference spectral lines that bracket visible light. Using the blue F-line, yellow d-line, and red C-line gives a compact, standardized way to describe dispersion and compare optical materials.

6) Will an achromatic doublet always eliminate chromatic aberration?

An achromat typically brings two wavelengths to a common focus, greatly reducing longitudinal color. Residual secondary spectrum and lateral color can remain, especially off-axis. Use the calculator to estimate whether the remaining error is acceptable.

Built for estimation and learning. Verify for critical designs.

Related Calculators

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.