Lens ray diagram simulator

Move an object in front of a converging or diverging lens and see the three principal rays, where the image forms and whether it is real or virtual, upright or inverted.

Free for schools, teachers and blogs.
Put this tool on your website, blog or class page
Size:
Copied
  • Google Sites: Insert → Embed → Embed code, and paste.
  • WordPress: add a "Custom HTML" block and paste.
  • Blogger: in the post, switch to HTML view and paste.
  • Free to use as long as the link under it stays.

Learn lenses properly

StudyAI writes clear notes on any topic you study, with practice quizzes, past-paper questions explained, and interactive models like this one in the notes.

Get free notes and a quiz on this
Free to start. No card needed.

Questions students ask

When does a convex lens make a virtual image?

When the object is closer to the lens than the focal point: the image is upright and magnified, as in a magnifying glass.

What is the lens formula?

1/f = 1/u + 1/v, with real distances positive. Magnification = v/u.

Free notes on lenses

More physics tools

All interactive tools