Ray Matrix Calculator
Build optical systems element by element. Compute the system ABCD matrix, effective focal length, back and front focal distances, and trace rays through the system.
Optical System
Element Stack (light order)1/10
1.
mm
[1.0000, 0] [-0.0100, 1.0000]
System Matrix
A = 1.00000B = 0
C = -0.010000D = 1.00000
Determinant (AD − BC)
Should equal n_in/n_out (1.0 for systems in air)
System Properties
Effective focal length
EFL = −1/C
Back focal distance
BFD = −A/C (from last surface)
Front focal distance
FFD = D/C (from first surface)
Abridged Optics — Ray Matrix Calculator v1.0Elements are applied in order from first to last (light travel direction). The system matrix is the product M_N × ... × M₂ × M₁.