Free Lens Simulator

Lens Simulator change focal length and object position to see image formation in real time

Lens Simulator turns thin-lens image formation into a live browser lab: choose a convex or concave lens, set focal length, object distance, and object height, then watch the ray diagram and calculations update instantly.

Built for ray diagrams, thin lens equation practice, image distance, magnification, upright or inverted images, and real or virtual image checks.

Lens Simulator interactive ray diagram

Start Lens Simulator here: enter lens type, focal length, object distance, and object height to calculate image distance, magnification, image height, orientation, and real or virtual image type.

Lens Simulator controls

Choose a lens, move the object, and adjust focal length or height to update the ray diagram in real time.

Share Lens Simulator

Share the clean page or copy a result link that restores this Lens Simulator setup.

Ray diagram lab

Convex lens

Real image

Live Lens Simulator result

Lens Simulator image status

Image type Real image
Orientation Inverted
Size Reduced

Thin-lens equation

Lens Simulator calculations

1/f = 1/do + 1/di

Signed focal length

15.0 cm

Image distance

26.3 cm

Magnification

-0.75

Image height

-3.0 cm

Lens Simulator conclusion

Lens Simulator experiment notes

Move the object across the focal point or switch to a concave lens to compare real, virtual, upright, inverted, enlarged, and reduced images.

Lens Simulator uses the thin-lens equation with the common sign convention: converging lenses have positive focal length, diverging lenses have negative focal length, real images have positive image distance, and virtual images have negative image distance.

Lens Simulator ray diagram workflow

Lens Simulator connects lens type, focal length, object distance, object height, image distance, magnification, image size, and image orientation in one visual workflow.

Lens Simulator live controls

Choose convex or concave lens mode, then change focal length, object distance, and object height while Lens Simulator redraws the principal rays.

Lens Simulator interface with lens type, focal length, object distance, object height controls, and a ray diagram

Lens Simulator image comparison

Move the object across the focal point in Lens Simulator to compare real and virtual images, upright and inverted images, and enlarged or reduced image size.

Lens Simulator comparison of a real inverted image and a virtual upright image with ray diagrams

Lens Simulator quick guide

Use this Lens Simulator guide to turn the thin-lens equation and ray tracing rules into repeatable image-formation practice.

01

Set up Lens Simulator

Choose convex or concave lens mode, then enter focal length, object distance, and object height.

  • Start with a convex lens and an object beyond the focal length
  • Switch to concave lens mode to see a virtual upright image
Open simulator
02

Change Lens Simulator variables

Move the object or change focal length one step at a time. Lens Simulator updates the image distance, magnification, and ray diagram immediately.

  • Place the object at 2F to see a same-size inverted image
  • Move inside F to create a virtual upright image
See features
03

Explain Lens Simulator results

Use the image distance sign, magnification sign, and image height to describe whether the image is real or virtual, upright or inverted, enlarged or reduced.

For homework, state the sign convention before interpreting the image type.

Read FAQ

Lens Simulator features

These Lens Simulator features make thin-lens image formation visible, adjustable, and easy to explain.

Lens Simulator lens modes

Switch between convex and concave lens setups without rebuilding the ray diagram.

Choose lens

Lens Simulator live ray diagram

Watch principal rays, focal points, object arrow, and image arrow update as inputs change.

View rays

Lens Simulator image calculator

Calculate image distance, magnification, and image height with sign-aware results.

Calculate image

Lens Simulator orientation check

See whether the image is upright or inverted from the sign of magnification.

Check orientation

Lens Simulator image type check

Use positive or negative image distance to identify real and virtual images.

Check type

Lens Simulator sharing

Copy a result link that restores lens type, focal length, object distance, and object height.

Share result

Lens Simulator study use cases

Lens Simulator helps learners connect formula signs, ray diagrams, and image descriptions instead of memorizing cases.

Lens Simulator for students

Practice thin-lens equation questions and check ray diagram intuition before quizzes.

Study
Practice now

Lens Simulator for teachers

Demonstrate how object position and focal length change image location, size, and orientation.

Classroom
Teach optics

Lens Simulator for labs

Preview real and virtual image cases before using optical benches or lenses in class.

Lab prep
Prepare lab

Lens Simulator for review

Compare convex and concave lens results with a fast browser-based ray diagram.

Review
Review images

More tools after Lens Simulator

After Lens Simulator, try another free browser simulator for physics, science, school, math, or planning practice.

Arduino Simulator

Drag LED, resistor, button, potentiometer, and buzzer parts into a browser circuit and run beginner Arduino sketches.

Arduino Simulator preview showing the browser circuit workspace, code panel, and serial monitor
Open simulator

Gravity Simulator

Drop planets, stars, and black holes into an N-body physics sandbox with shareable presets.

Gravity Simulator preview showing the browser simulator interface and result
Open simulator

Airfoil Simulator

Set angle of attack, air speed, wing area, air density, and airfoil shape to estimate lift, drag, lift-to-drag ratio, and stall risk.

Airfoil Simulator preview showing airflow streamlines, airfoil controls, lift, drag, and stall risk
Open simulator

Earthquake Building Simulator

Enter building height, floors, material, structure type, earthquake magnitude, and foundation condition to animate sway and compare seismic risk.

Earthquake Building Simulator preview showing buildings swaying on a shake table with material comparison and risk score
Open simulator

Projectile Motion Simulator

Set velocity, angle, height, gravity, and air resistance to compare projectile trajectories and live physics metrics.

Projectile Motion Simulator preview showing trajectory controls, curve animation, and result metrics
Open simulator

Stopping Distance Simulator

Enter speed, reaction time, weather, road surface, tires, and vehicle type to compare reaction, braking, and total stopping distance.

Stopping Distance Simulator preview showing braking distance controls, road scenarios, and result metrics
Open simulator

Solar Panel Simulator

Enter location, roof area, panel count, wattage, orientation, tilt, shading, and electricity rate to estimate solar output, savings, and payback.

Solar Panel Simulator preview showing rooftop panels, energy production, savings, and payback comparison
Open simulator

Solar Eclipse Simulator

Enter a city or coordinates, choose an eclipse event, and estimate local visibility, timing, obscuration, and safety reminders.

Solar Eclipse Simulator preview showing an eclipse path, local visibility results, timeline, and safety reminders
Open simulator
View all simulators

Lens Simulator FAQ

Fast answers about Lens Simulator ray diagrams, thin-lens equation signs, image distance, magnification, orientation, and real or virtual images.

Is Lens Simulator free?

Yes. Lens Simulator runs in the browser and can be used without an account or installation.

What formula does Lens Simulator use?

Lens Simulator uses the thin-lens equation 1/f = 1/do + 1/di and magnification m = -di / do.

How does Lens Simulator decide real or virtual image?

Lens Simulator marks the image as real when image distance is positive and virtual when image distance is negative under the lens sign convention.

How does Lens Simulator decide upright or inverted?

Lens Simulator uses magnification: positive magnification means upright, and negative magnification means inverted.

Can Lens Simulator show a concave lens?

Yes. Lens Simulator includes a concave lens mode with negative focal length, so learners can compare diverging lens behavior with convex lens cases.

Start Lens Simulator now

Open Lens Simulator, choose a lens type, enter focal length, object distance, and object height, then watch the ray diagram change.

Use the live image distance, magnification, image height, orientation, and real or virtual image labels to explain the optical result.

Lens Simulator keeps shared results in an explicit copied URL only.