What is the Snell's Law for?
A snells law calculator is a free online tool that finds the refracted angle or an unknown refractive index when light crosses between two media. It uses Snell's law: n1 times sine of the incident angle equals n2 times sine of the refracted angle. It gives the answer instantly as you type, with the main result shown first and the supporting figures underneath, so you can check the headline number and the working behind it in one glance.
It is used by school optics students, teachers checking refraction problems, and anyone working with lenses, prisms, or water tanks. If you are working through a set of problems, a distance calculator is often the next step once this answer is in hand, because the two quantities feed into each other.
To use it, enter which quantity to find, the two refractive indices, and the known angle or angles in degrees. The calculator runs entirely in your browser: nothing you type is uploaded, stored, or shared, and there is no sign-up. You can change any value and the results update at once, which makes it easy to test what happens when one input moves.
How to work out Snell's Law by hand
When light crosses from one transparent material into another, it changes speed and bends. Snell's law says the product of the refractive index and the sine of the angle is the same on both sides: n1 times sine of the incident angle equals n2 times sine of the refracted angle. Entering a denser medium bends the ray towards the normal; entering a rarer medium bends it away. Angles are always measured from the normal, not from the surface. The formula the calculator uses is: n1 × sin(angle 1) = n2 × sin(angle 2). Every symbol in that formula has one meaning and one unit, and keeping the units straight is most of the work in getting a right answer.
By hand, the steps are: multiply the known index by the sine of its angle, divide by the other index, and take the inverse sine to get the other angle. The calculator does the same steps in the same order, so a hand check on one example should land on the same number the page shows, allowing for the rounding in the display.
Refractive indices have no unit and angles go in degrees. The calculator converts degrees to radians internally for the sine functions. A denser second medium gives a smaller refracted angle, which is the first thing to check in an answer. The calculator is an estimate in the sense that it trusts the numbers you enter: it cannot tell whether a measurement was read correctly, so a wrong input gives a wrong-looking answer with no warning. Always check the units before trusting a result.
One more check: the formula above is the one the page uses, so a textbook that writes it differently is usually just rearranging the same relation or using different symbols. Match the symbols by their meaning, not by their shape, and the numbers will agree. If your book gives the answer in different units, convert at the end rather than in the middle, so a conversion slip cannot hide inside the working.
Angles are measured from the normal
Every angle in Snell's law is measured from the normal, the line at right angles to the surface. A ray that looks like it strikes the surface at 60 degrees is actually at 30 degrees to the normal, and using 60 in the formula gives a completely different answer. Draw the normal first, then measure the angle to it.
Light bends towards the normal when it enters a denser medium and away from the normal when it enters a rarer one. Air to glass at 30 degrees gives about 19.2 degrees in the glass: the ray bends towards the normal because glass is denser. If your answer is larger than the incident angle for air to glass, the indices or the mode are backwards.
When light goes from a denser medium to a rarer one at a steep enough angle, the sine in the formula exceeds 1 and there is no refracted ray at all: that is total internal reflection, and the calculator shows no critical angle value in the other direction. The boundary is the critical angle, which this page also reports.
A worked example
Take this example: 1 , 1.52 , 30 °. Light travels from air (n = 1.00) into glass (n = 1.52) at an incident angle of 30 degrees. Put those numbers into the calculator and it returns Answer 19.2 ; Refracted angle (degrees) 19.2 ; Critical angle n1 to n2 (degrees) 41.14 .
Working it through by hand: sin θ2 = (1.00 × sin 30°) ÷ 1.52 = 0.5 ÷ 1.52 = 0.329, so θ2 = sin⁻¹(0.329) = 19.2°. The hand result matches the calculator exactly, which is the point of the check: if your own working gives a different number, one of the inputs was typed in the wrong unit or the wrong box.
Try a second set to see how the answer moves: the same ray solved for the unknown second index. n2 = (1.00 × sin 30°) ÷ sin 19.2° = 0.5 ÷ 0.329 = 1.52, confirming the glass index Changing one input at a time and watching the result is the fastest way to build a feel for the formula, and it is how most students spot a typing error before it reaches their homework.
Who uses a Snell's Law and why
The first group is students. A student finds the refracted angle when light enters glass at 30 degrees: about 19.2 degrees from the normal.
The second is teachers and tutors. A teacher checks a prism problem where the ray bends twice, once on entry and once on exit, using the calculator for each surface. A energy converter is a natural companion here, since lessons often pair the two quantities in the same problem set.
The third is anyone doing practical work. A pool owner works out why a pool looks shallower than it is: light leaving the water bends away from the normal, so the bottom appears raised. None of these uses needs an account or an install: the page opens, the numbers go in, and the answer is there.
Exam and homework use is the common thread across all three groups. A calculator gives the number, but the marks come from the working: write the formula, substitute the values with units, and then the answer. A bare number with no working earns little credit even when it is right, while a shown method with one small slip usually earns most of the marks.
Snell's Law Calculator vs Velocity Calculator
A velocity calculator answers a different question: it finds speed from distance and time, while this page finds how light bends when its speed changes between two media.. The two tools look similar because they share inputs, but they solve for different unknowns, and picking the wrong one is the most common source of confusion between them.
Use this Snell's Law when the quantity you need is the one named in the title above. Use the Velocity Calculator when your unknown is the one it is named for instead. If a problem gives you the answer this page produces and asks for something else, that something else is usually the job of the companion tool.
In practice the two are used back to back: work out the first quantity here, then carry it into the second tool as an input. Keeping the chain in that order, and writing each intermediate answer down, stops small rounding slips from growing into a wrong final answer.
Common mistakes with a Snell's Law
The first mistake is measuring the angle from the surface instead of from the normal, which gives the complement of the right angle.
The second is swapping n1 and n2, which bends the ray the wrong way: towards the normal instead of away, or the reverse.
The third is using degrees in the sine without converting, or forgetting that the inverse sine of a number above 1 has no answer and means total internal reflection. A quick habit that catches all three: work one example by hand, compare it with the calculator, and only then trust the page for the rest of the set.
How to use this Snell's Law
Step one, enter which quantity to find, the two refractive indices, and the known angle or angles in degrees. Step two, check the units beside each box match the units in your problem. Step three, read the main result at the top of the results box, then the supporting figures below it.
For the most accurate results, use the most precise inputs you have, and keep the same unit system all the way through a problem: mixing centimetres with metres, or milliamps with amps, is the single biggest cause of answers that are out by a factor of ten or a hundred. A quick check: entering a denser medium must shrink the angle, and leaving one must grow it. If your answer does the opposite, swap the indices.
The calculator is free, works on a phone or a computer, and needs no sign-up. Everything runs in your browser, so your numbers never leave your device, and closing the page leaves nothing behind.
If the answer looks wrong, change one input at a time and watch which one moves the result. A result that jumps by a factor of ten usually means a unit slipped, centimetres for metres or grams for kilograms, while a result that barely moves when an input changes usually means that input matters less than expected, often because it sits under a square root. Both patterns are worth knowing before an exam.