Perform fast calculations with our user-friendly online calculator! Conveniently crunch numbers and solve equations instantly. Ideal for quick math tasks, our tool simplifies your daily computations effortlessly. Try our intuitive calculator for accurate results on the go!
Calculate refraction angle using Snell’s law. Enter refractive indices and incidence angle to get refraction or detect total internal reflection.
The Refraction Angle calculator finds how far a light ray bends when it moves between two materials. It uses Snell’s law to calculate the angle of refraction from the refractive indices and the angle of incidence. The calculator supports degrees and radians. It also checks for total internal reflection. This makes it useful for optics, physics, engineering, and classroom problems. The calculator uses the angle measured from the normal to the surface.
Use the calculator above to find the angle of refraction from your input values.
A Refraction Angle calculator finds the angle of a light ray after it enters a new medium. The ray can bend toward or away from the normal.
The calculation depends on three main values:
The calculator also lets you enter the angle in degrees or radians.
Common material choices include air, vacuum, water, ice, ethanol, acrylic, glass, quartz, and diamond. You can also enter custom refractive indices.
The result gives the calculated angle of refraction when refraction can occur.
The calculator follows Snell’s law:
n₁ × sin(θ₁) = n₂ × sin(θ₂)
First, it checks both refractive indices. Each one must be greater than zero.
Next, it checks the incident angle. The code converts a radian input to degrees for validation. The angle must be from 0° up to, but not including, 90°.
After validation, the calculator converts the input angle to radians. This is needed because the PHP sin() and asin() functions use radians.
It then finds:
sin(θ₁)
Next, it calculates the refractive index ratio:
n₁ / n₂
Then it finds:
sin(θ₂) = (n₁ / n₂) × sin(θ₁)
If this value is greater than 1, the calculator marks the result as total internal reflection. No refraction angle is calculated in that case.
If the value is 1 or less, the calculator uses the inverse sine function. It then converts the result from radians to degrees.
The main formula is:
θ₂ = sin⁻¹[(n₁ / n₂) × sin(θ₁)]
This comes directly from Snell’s law:
n₁ × sin(θ₁) = n₂ × sin(θ₂)
Where:
n₁ = refractive index of the first medium
n₂ = refractive index of the second medium
θ₁ = angle of incidence
θ₂ = angle of refraction
The calculator first finds the value inside the inverse sine:
sin(θ₂) = (n₁ / n₂) × sin(θ₁)
It then calculates:
θ₂ = sin⁻¹[sin(θ₂)]
The final angle is converted to degrees for the degree result.
Consider light moving from air into water.
Input values:
n₁ = 1.000
n₂ = 1.333
θ₁ = 30°
Step 1: Apply the formula
θ₂ = sin⁻¹[(n₁ / n₂) × sin(θ₁)]
Step 2: Insert the values
θ₂ = sin⁻¹[(1.000 / 1.333) × sin(30°)]
Step 3: Find the sine
sin(30°) = 0.5
So:
θ₂ = sin⁻¹[(1.000 / 1.333) × 0.5]
Step 4: Calculate the ratio
1.000 / 1.333 ≈ 0.75019
Then:
sin(θ₂) ≈ 0.37509
Step 5: Find the angle
θ₂ = sin⁻¹(0.37509)
Final result:
θ₂ ≈ 22.03°
So, the angle of refraction is about 22.03°.
The Refraction Angle calculator uses Snell’s law to find how light bends between two media. Enter n₁, n₂, and the incident angle. Choose degrees or radians, then check the result. The calculator also detects cases where its calculation indicates total internal reflection.
It calculates the angle of a light ray after it enters another medium. It uses the refractive indices and angle of incidence.
It uses Snell’s law. The direct formula is θ₂ = sin⁻¹[(n₁/n₂) × sin(θ₁)].
You need n₁, n₂, and the angle of incidence θ₁. You also need to choose degrees or radians for the angle input.
The calculator marks the case as total internal reflection. A real refracted angle cannot be calculated in that case.
No. The angle must be measured from the normal. The normal is perpendicular to the boundary between the two media.
Yes. The calculator accepts custom values. It also includes common materials such as air, water, glass, acrylic, quartz, and diamond.
The result is based on the mathematical inputs and Snell’s law. Real optical behavior can vary with factors such as wavelength and material conditions. The calculator itself uses the refractive-index values entered by the user.