Refraction of light. Laws of refraction
The online light refraction simulations on this page will allow you to deepen your understanding of the mechanism of light refraction, its main parameters and the laws that govern it and specifically the Snell’s Law of refraction of light.
This Thematic Unit is part of our Physics collection

STEM OnLine mini dictionary
Angle of Refraction
Angle between the normal line and the light ray propagating through the second medium.
Apparent Depth
Visual effect caused by refraction where a submerged object appears to be closer to the surface than it actually is.
Chromatic Dispersion
Separation of white light into its constituent colors because each wavelength has a different refractive index.
Critical Angle
Limiting angle of incidence above which light no longer refracts but reflects totally within the medium.
Light Refraction
Change in direction and speed experienced by a light wave when passing obliquely from one material medium to another.
Refracted Ray
Light beam that, after passing through the separation surface between two media, continues its propagation in a different direction.
Refractive Index
Ratio of the speed of light in a vacuum to its speed in a given medium, indicating its deviation capacity.
Snell’s Law
Principle relating the refractive indices of two media to the angles of incidence and refraction of light.
What is refraction of light?
Refraction of light is an optical phenomenon that occurs when light changes direction as the medium in which it propagates changes. This change of direction occurs because the speed of light varies as it passes from one medium to another, such as from air to water or from water to glass. Refraction has applications in a variety of areas, such as fiber optics or the lens industry. Understanding the refraction of light is essential to explain and exploit a wide range of optical phenomena and technologies.
Laws of refraction of light
When light passes from one medium to another with a different propagation velocity, it undergoes a deflection in its path. The refraction of light is governed by the laws of refraction. Here are the two main laws:
First Law of Refraction
The incident ray, the refracted ray and the normal line (perpendicular to the surface) are in the same plane. The speed of light in each medium is measured by the index of refraction which is the quotient of the speed of light in vacuum and the speed of light in the medium whose index is calculated. Mathematically, it is expressed as:
n = c / v
Where:
n is the refractive index of the medium.
c is the speed of light in a vacuum.
v is the speed of light in the medium.
Second Law of Refraction. Snell’s law of refraction of light
Snell’s law of refraction of light, expresses the relationship between the angles of incidence and refraction of light as it passes through the surface of separation between two media with different index of refraction. Mathematically, it is expressed as:
n1 sinθ1 = n2 sinθ1
Where:
n1 is the velocity of light in the first medium.
θ1 is the angle of incidence in the first medium
n2 is the velocity of light in the second medium
θ2 is the angle of refraction in the second medium.
Applications of the refraction of light
The refraction of light is essential in the formation of images by lenses, such as those used in eyeglasses, cameras and microscopes. Optical lenses take advantage of the ability of light to refract to focus light to a specific point and form sharp images. The online simulations of the laws of refraction of light presented on this page will help you to understand the behavior of light and its interaction with matter.

STEM OnLine mini dictionary
Angle of Refraction
Angle between the normal line and the light ray propagating through the second medium.
Apparent Depth
Visual effect caused by refraction where a submerged object appears to be closer to the surface than it actually is.
Chromatic Dispersion
Separation of white light into its constituent colors because each wavelength has a different refractive index.
Critical Angle
Limiting angle of incidence above which light no longer refracts but reflects totally within the medium.
Light Refraction
Change in direction and speed experienced by a light wave when passing obliquely from one material medium to another.
Refracted Ray
Light beam that, after passing through the separation surface between two media, continues its propagation in a different direction.
Refractive Index
Ratio of the speed of light in a vacuum to its speed in a given medium, indicating its deviation capacity.
Snell’s Law
Principle relating the refractive indices of two media to the angles of incidence and refraction of light.
Explore the exciting STEM world with our free, online, simulations and accompanying companion courses! With them you’ll be able to experience and learn hands-on. Take this opportunity to immerse yourself in virtual experiences while advancing your education – awaken your scientific curiosity and discover all that the STEM world has to offer!
Light refraction simulations
Reflection and refraction laboratory
Explore the bending of light between two media with different refractive indices. See how changing from air to water to glass changes the angle of reflection. Play with prisms of different shapes and create a rainbow. Check again how Snell’s law of refraction of light works.
Giants of science
“If I have seen further, it is by standing on the shoulders of giants”
Isaac Newton
Gottfried Wilhelm Leibniz
–
Michael Faraday
–
Become a giant
Synchrotrons and X-Ray Free Electron Lasers (part 1)
Silicon Photonics Design, Fabrication and Data Analysis
Nanophotonic Modeling
Fiber Optic Communications
AP® Physics 1 – Part 1: Linear Motion
AP® Physics 1: Challenging Concepts
Pre-University Physics
Circuits for Beginners
Professional development for Educators
Teach teens computing: Developing your programming pedagogy
HP Digital Skills for Educators – Google Workspace
Teach teens computing: Encryption and cryptography
STEM Outside
Giants of science
“If I have seen further, it is by standing on the shoulders of giants”
Isaac Newton
Albert Einstein
–
Christiaan Huygens
–
Become a giant
Synchrotrons and X-Ray Free Electron Lasers (part 1)
Silicon Photonics Design, Fabrication and Data Analysis
Nanophotonic Modeling
Fiber Optic Communications
AP® Physics 1 – Part 2: Rotational Motion
AP® Physics 1
The Basics of Transport Phenomena
AP® Physics 2: Challenging Concepts
Professional development for Educators
Teaching with Physical Computing: Practical application and classroom strategies for PBL
Teaching and Learning in the Era of AI
An Introduction to Evidence-Based Undergraduate STEM Teaching
Learn Like a Pro: Science-Based Tools to Become Better at Anything
Test your knowledge
What is the refraction of light, and why is it considered a fundamental phenomenon in optics?
How are the angle of incidence, the angle of refraction, and the refractive indices of the media related according to Snell’s law?
Why does light “bend” when it enters water or glass?
Why does an object underwater look like it is in a different place from where it actually is?
Do refraction and reflection happen at the same time, or are they separate phenomena?
Last simulations
To learn and experience
Take your knowledge to the next level with science kits and hands-on tools that connect theory with experimentation
Mirror assembly

Teachers essentials
Notion
Organize your notes, tasks, and projects in one place. Notion combines notes, lists, and calendars in one flexible space.
Canva
Design presentations, diagrams, and infographics with easy-to-use templates and professional results
Genially
Create interactive content, presentations, and educational games in a simple and visual way
Desmos
The most intuitive graphing calculator to explore mathematics and create dynamic classroom activities
Tinkercad
Design in 3D and simulate electronic circuits for free; it’s the perfect tool for simple robotics projects
Your Infinite Library
Enjoy the freedom to explore millions of titles and a curated selection of magazines on any device
Join Prime for students and young adults
The best series. Millions of songs. All included with your subscription.
Science made fun
Learn with the best courses
edX
Online courses from leading universities and companies. Learn practical skills and earn professional certifications
Coursera
Courses from leading universities and companies. Learn practical skills and earn professional certifications
Udemy
Thousands of online courses tailored to your level. Learn at your own pace with expert instructors


