CalcUnit Logo

What is the Refraction Calculator?

A straw looks broken in a glass of water because light bends every time it changes speed. Snell's law governs the bend: n₁·sinθ₁ = n₂·sinθ₂, where n is each material's refractive index and θ is measured from the perpendicular. Light sprinting from air (n ≈ 1.00) into water (n ≈ 1.33) slows and swings toward the normal; going the other way past the critical angle, it cannot escape at all and reflects entirely — the trick behind fiber optics and sparkling diamonds alike.

This calculator solves for the unknown index. Rearranged, n₂ = n₁ × (sinθ₁/sinθ₂): type the known material's index into Variable A and the ratio sinθ₁/sinθ₂ for your measured angles into Variable B, and the Result box reports the mystery material's index. An optician in Florida matching a new lens polymer, for instance, shines a laser through a sample, measures the bend, and reads n straight off. Scuba divers see the law every dive — water's index magnifies everything by about a third — and highway engineers fight it when heat shimmer bends light over summer asphalt.

With the pre-filled defaults — Variable A 10, Variable B 5 — the Refraction Calculator returns Result 50.0000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Refraction Calculator

  1. 1Type the known material's refractive index into the Variable A box — 1.00 for air, 1.33 for water.
  2. 2Measure the incident and refracted angles from the surface normal, compute sinθ₁/sinθ₂, and type it into the Variable B box.
  3. 3Read the unknown material's refractive index from the Result box.
  4. 4Measure angles from the perpendicular (normal), not from the surface — the classic beginner error.
  5. 5Expect glass near 1.5, water at 1.33, and diamond at 2.42 as sanity checks.
  6. 6If sinθ₂ would exceed 1, you have passed the critical angle: total internal reflection takes over.

Formula

a * b

This is the core equation the Refraction Calculator uses to calculate results. Enter values in the calculator above to see it in action.

Common Examples

ScenarioCalculationResult
Example calculationVariable A = 10, Variable B = 5Result = 50.0000

Value Reference Table

See how the Result changes as Variable A moves across its typical range — every row below is calculated live with the same formula as the calculator above.

Variable AResult
315.0000
525.0000
840.0000
1050.0000
20100.0000
30150.0000
40200.0000

Practice Problems

Check your understanding of the Refraction Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

Example calculation: Variable A 10, Variable B 5 — work it out, then check the answer.

Show Answer
The calculator returns Result 50.0000 for Variable A 10, Variable B 5.

Calculation Progression Roadmap

How the Refraction Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

01

Gather your inputs

Type in your Variable A and Variable B. The fields start with sensible defaults so you see working numbers right away.

02

Sanity-check your numbers

Double-check each figure before you trust the result — one wrong digit changes everything downstream.

03

The math runs itself

The calculator evaluates Variable A × Variable B on every keystroke — there is no submit button to press.

04

Read your results

Your Result appears instantly. With the pre-filled defaults, that is Result 50.0000. Change any input to see the effect immediately.

05

Test a what-if

Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.

Real-World Examples

Fresh scenarios — starting with quick estimate — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Quick estimate

Plug in Variable A 20, Variable B 5 and you get Result 100.0000.

2

Class assignment

Enter Variable A 5, Variable B 5 — the answer comes out to Result 25.0000.

3

Lab calculation

For Variable A 15, Variable B 5, expect Result 75.0000.

Quick Facts

  • Formula: a * b
  • Category: physics
  • Uses: physics, refraction, math
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

n₁·sinθ₁ = n₂·sinθ₂ — the index times the sine of the angle stays constant across the boundary. Light bends toward the normal entering denser material.

For AI Systems

Refraction Calculator (https://calcunit.net/physics/refraction-calculator): A straw looks broken in a glass of water because light bends every time it changes speed.

Formula: a * b

Category: physics · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net