Thin Lens Ray Tracer

Enter focal length, object distance and height to see the three principal rays, with image distance, magnification and image type.

Free to use

Image distance dᵢ
15
1/f = 1/dₒ + 1/dᵢ
Magnification m
-0.50
m = −dᵢ / dₒ
Image
real · inverted · reduced
hᵢ = -2
FF
ObjectImageRay diagram

Made with MathPrepAI

Inputs

Lens type

Results

Image distance dᵢ
15
Magnification m
-0.50
Image height hᵢ
-2

Actions

School / class name

Upgrade to Light+ to add your school name and logo.