Trace paraxial rays across space, lenses, and surfaces. Check apertures, indices, and sign conventions carefully here. Download clean step tables for study and documentation.
Example: air propagation, thin lens, then propagation. Values are illustrative.
| Case | y0 (mm) | theta0 (deg) | Train | Final y (mm) | Final theta (deg) |
|---|---|---|---|---|---|
| Sample A | 2 | 1.5 | Prop 40 mm (n=1.0) -> Lens f=50 mm -> Prop 20 mm (n=1.0) | ~ 3.05 | ~ -1.99 |
| Sample B | 1 | -2 | Prop 30 mm (n=1.33) -> Surface 1.33->1.50, R=80 mm -> Prop 10 mm (n=1.50) | ~ 0.48 | ~ -2.21 |
This calculator uses paraxial (small-angle) ray transfer matrices with the ray vector [ y ; u ], where y is ray height (mm) and u = n*theta is reduced angle (index times angle in radians).
Keep distances in millimeters and angles in degrees for input.
Paraxial ray tracing predicts how small-angle rays move through an optical train using simple linear updates. It is widely used in early-stage lens layout because it can estimate image formation, beam steering, and focus shifts without full geometric ray tracing. The method is fast and transparent.
This calculator uses the state vector [y; u], where y is the ray height in millimeters and u = n·θ is the reduced angle. Here θ is the ray angle in radians and n is the refractive index. Keeping distances in millimeters makes the step table easy to audit and export.
In a uniform medium, the reduced angle u stays constant while the height advances by y₂ = y₁ + (t/n)·u. A 40 mm segment in air (n≈1.000) moves the ray more than the same segment in glass (n≈1.50) because the (t/n) factor is smaller in higher-index materials.
A thin lens changes direction but not position at its plane. The update u₂ = u₁ − (1/f)·y implements the standard paraxial lens matrix. A +50 mm lens produces a stronger angular change than a +200 mm lens for the same ray height, which helps quantify focusing power.
For a spherical refraction surface, the calculator applies u₂ = u₁ + ((n₁−n₂)/R)·y and then sets the running index to n₂. The sign of R matters: positive R means the center of curvature is to the right. A surface that transitions 1.00→1.50 with R=+80 mm typically bends rays toward the axis.
Real optics have finite clear apertures. Enter an aperture radius (mm) to flag clipping when |y| exceeds that radius at an element. This is useful for quick tolerance checks: if multiple steps show “Clipped”, consider reducing ray height, increasing aperture, or changing element spacing.
The step table lists n before and after, plus y and θ in degrees. Large jumps in θ after a lens or surface are expected, but large jumps during propagation can indicate a parameter mistake. Exporting to CSV lets you chart y and θ versus step for documentation and reviews.
Paraxial tracing is ideal for thin lenses, small angles, and near-axis rays. It supports quick estimates of focus shifts, beam steering, and axis-crossing distance z = −y/θ. It does not model large-angle aberrations, pupil walk, or thick-element geometry, so use it as a design starting point.
Paraxial means angles are small enough that linear approximations apply. The calculator uses ray matrices, where the reduced angle u = n·θ captures refraction and propagation efficiently.
With the [y; u] vector, translation becomes y₂ = y₁ + (t/n)·u. Higher refractive index reduces the height change for the same distance and reduced angle.
Use one consistent convention. Here, +R means the center of curvature lies to the right of the surface. If your results look inverted, your R sign is the first thing to verify.
Yes. Enable elements in order and mix propagation segments with lenses or surfaces. The step table shows the ray state after each element, making long trains easy to validate.
It is the distance from the final plane where the ray would cross the optical axis, estimated as z = −y·n/u (equivalently −y/θ). It is most meaningful when θ is not near zero.
If you set an aperture radius and the computed height magnitude exceeds it at that element, the calculator flags clipping. This helps identify vignetting or clear-aperture issues early.
No. It provides fast first-order estimates for near-axis performance. For large angles, thick elements, and aberrations, you should validate with full ray tracing or optical design tools.
Trace rays confidently, visualize optics, and learn faster today.
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.