Goal
Calculate the refracted angle from two refractive indices and an incident angle, including a total-internal-reflection result when appropriate.
Worldwide context
Saved once here, used across the site.
Currency changes display only. Country selection guides tax input; no tax rate is guessed.
Calculate the refracted angle from two refractive indices and an incident angle, including a total-internal-reflection result when appropriate.
Snell's law is n1 sin(theta1) = n2 sin(theta2), so sin(theta2) = n1 sin(theta1)/n2. If this ratio exceeds 1, the result is total internal reflection.A clearer path to an answer
This page keeps the calculation transparent: define the goal, enter the matching values, inspect the method, and decide what the result means in your situation.
Calculate the refracted angle from two refractive indices and an incident angle, including a total-internal-reflection result when appropriate.
First-medium refractive index · Second-medium refractive index · Incident angle
Snell's law is n1 sin(theta1) = n2 sin(theta2), so sin(theta2) = n1 sin(theta1)/n2. If this ratio exceeds 1, the result is total internal reflection.
Calculate, review the assumptions below, then compare a related tool when the decision needs more context.
Calculate the refracted angle from two refractive indices and an incident angle, including a total-internal-reflection result when appropriate.
Open the Snell's Law pageMore science tools
Download PDFDownload Word (.doc)
Enter your values above and choose Calculate to see the result here.
Calculation map
Snell's law is n1 sin(theta1) = n2 sin(theta2), so sin(theta2) = n1 sin(theta1)/n2. If this ratio exceeds 1, the result is total internal reflection.
Bounded, transparent calculation
Your recent runs stay in this browser session only.
Formula: Snell's law is n1 sin(theta1) = n2 sin(theta2), so sin(theta2) = n1 sin(theta1)/n2. If this ratio exceeds 1, the result is total internal reflection.
This calculator applies the ideal boundary-angle relation for refraction. It returns a refracted angle in degrees when the sine ratio is at most one and an explicit total internal reflection text result when the ratio exceeds one; waveguide and material-design advice are outside scope.
Worked example: Refracted angle is about 19.471 degrees.
The displayed limits are checked before the handler runs. Model-specific domain checks may also reject impossible or non-finite inputs.
Methodology: This calculator follows the WorldCalculate input, formula, precision, and boundary policy. Read the official methodology.
Calculator usage statistics
This section counts anonymous successful Calculate submissions, not unique visitors. Counts and top tools appear only when trusted aggregate data is available; country analysis is shown only under the same condition and reporting threshold.
Answer-first guide
Calculate the refracted angle from two refractive indices and an incident angle, including a total-internal-reflection result when appropriate. Start with one clearly defined goal, enter values in the units shown, and keep the result attached to the assumptions below.
This tool is useful when your question includes Snell law, refraction angle, refractive index. It returns the outputs declared in the calculator contract rather than a live quote, approval, diagnosis, or professional sign-off.
First-medium refractive index · Second-medium refractive index · Incident angle. Keep the same time period, unit system, and currency wherever the form requires comparable values.
Run the worked example first, compare its output with the page's example, then change one input at a time. This makes an unexpected result easier to trace to a unit, boundary, or assumption.
Need a wider view? Browse Science Calculators or compare the related tools below. The WorldCalculate methodology explains how formulas, examples, limits, and revisions are reviewed.
Snell's law is n1 sin(theta1) = n2 sin(theta2), so sin(theta2) = n1 sin(theta1)/n2. If this ratio exceeds 1, the result is total internal reflection.
This calculator applies the ideal boundary-angle relation for refraction. It returns a refracted angle in degrees when the sine ratio is at most one and an explicit total internal reflection text result when the ratio exceeds one; waveguide and material-design advice are outside scope.
Refracted angle is about 19.471 degrees.
Context and background
Science calculators define a system, choose an equation, apply units and constants, and show the substitution. Effects outside that model remain outside the result.
Introductory science problem solving builds from measured quantities and idealized relationships. Those models are valuable for learning and first-pass estimates, while experiments and engineering decisions need additional evidence.
Research and review
Researched by Hassan ALRowaie, Founder and editorial researcher at WorldCalculate.
This guide follows the live calculator's declared inputs, formula, worked example, assumptions, validation boundaries, and source-backed methodology. The review date describes editorial review of the calculator explanation; it is not a promise that external facts or rates remain current.
Snell's law relates ray angles at an ideal boundary between two media with refractive indices n1 and n2. This calculator evaluates n1 sin(theta1) = n2 sin(theta2), using dimensionless index values and an incident angle in degrees measured from the normal. For an ordinary refraction case it returns a finite refracted angle in degrees. If the sine ratio exceeds one, it returns explicit text saying total internal reflection rather than a nonnumeric special value. The page is an ideal ray relation only. It gives no waveguide or material-design advice. The sections below explain the normal, indices, angle convention, formula, ordinary refraction, total internal reflection, examples, validation, and the exact optical boundary of the model.
The calculator answers a focused optics question: given two refractive indices and an incident angle at an ideal interface, what refracted angle follows from Snell's law? It validates the indices and angle, computes the sine ratio, and either takes an inverse sine or reports total internal reflection. It does not inspect a surface, identify materials, or determine whether a real boundary satisfies the ideal assumptions.
The output angle is measured in degrees from the normal, not from the surface. That convention is essential because the same physical ray has complementary angles relative to the interface and the normal. The handler uses the normal convention stated in the field hint and does not infer a different diagram convention from the numeric value.
The normal is an imaginary line perpendicular to the interface at the point where the ray meets it. In the standard refraction convention, both incident and refracted angles are measured between the ray and this normal. The calculator asks only for the incident angle and assumes the interface geometry has already been defined. It does not need the surface tilt because both angles share the local normal convention.
Using the angle to the surface instead would change the sine relation and can reverse the apparent interpretation. A report should state from-normal measurement explicitly. The handler accepts zero through 90 degrees, so normal incidence is zero and a grazing ray is represented by 90 degrees in this simplified angle range.
A refractive index is a dimensionless ratio that sets the ideal ray-speed and bending relationship for the entered optical condition. The calculator treats n1 and n2 as positive fixed values between 0.1 and 10. A larger index in the second medium changes the angle required to preserve the product n sin(theta), while the page does not derive an index from composition or wavelength.
Real indices can depend on wavelength, temperature, direction, and material state. The current fields do not include wavelength or a dispersion law. That omission is deliberate: the handler evaluates one entered pair of indices. If an index comes from an external measurement or table, its condition belongs in the surrounding record.
The incident angle is a degree value from zero through 90, measured from the normal. At zero degrees, the sine is zero and ordinary refraction also gives zero degrees when a real solution exists. As the incident angle increases, the sine ratio may approach or exceed one depending on the index ordering. The handler converts the degree value to radians for the trigonometric operation.
The angle field is not a direction vector or a signed orientation. It describes the magnitude of the ray's departure from the normal on one side of an ideal interface. The calculator does not encode which side of a plane the ray occupies or return a signed coordinate angle.
Snell's law is n1 sin(theta1) = n2 sin(theta2). Solving for the second angle gives sin(theta2) = n1 sin(theta1)/n2. The calculator calls this value the sine ratio. When the ratio is between zero and one inclusive, an inverse sine returns a real refracted angle. The ideal formula is evaluated with fixed dimensionless indices and degree conversion.
The idealized boundary is close to the formula itself. The relation describes ordinary ray refraction at an ideal interface and does not include polarization, wave interference, roughness, absorption, or frequency-dependent index changes. A finite angle result is therefore a result of the ideal ray model, not a complete optical-material prediction.
Use n1 = 1, n2 = 1.5, and theta1 = 30 degrees. The sine ratio is 1 multiplied by 0.5 and divided by 1.5, which is one third. Taking the inverse sine gives theta2 about 19.471 degrees. The refracted angle is smaller because the second entered index is larger in this example.
The example is a calibration of the ratio, inverse-sine operation, and degree conversion. It does not identify air, glass, water, or any other real material, and it does not guarantee a ray path through an optical component. The index values are entered ideal parameters for the calculation.
If light travels from a higher entered index to a lower entered index and the incident angle is sufficiently large, the sine ratio n1 sin(theta1)/n2 exceeds one. No real angle has a sine greater than one, so the ordinary refracted-ray equation has no real solution. The calculator returns explicit text stating total internal reflection rather than passing a value beyond one to inverse sine and producing NaN.
This branch is an ideal consequence of the ratio and the index ordering. It does not calculate reflected intensity, polarization, evanescent fields, surface roughness, or a waveguide mode. The text result is deliberately limited to the requested total-internal-reflection conclusion.
Use n1 = 1.5, n2 = 1, and theta1 = 60 degrees. The sine ratio is 1.5 multiplied by about 0.866025 and divided by 1, or about 1.299038. Because that value exceeds one, the calculator returns a text result explicitly saying total internal reflection. It does not attempt to display an infinite or undefined angle.
The example checks the deliberate text branch. It does not claim that a particular glass-air boundary, fiber, prism, or device has been characterized. It only applies the ideal ratio to the supplied indices and angle.
For n1 greater than n2, a critical incident angle occurs when the sine ratio reaches one. Angles below that threshold have a real refracted angle, while angles above it have total internal reflection in the ideal relation. This calculator does not return the critical angle as a separate result, but its branch behavior exposes the same threshold through the ratio comparison.
The threshold is not a material design output because the indices are simply entered and treated as fixed. A real critical-angle analysis may need wavelength, polarization, surface condition, and geometry. The page intentionally gives only the ordinary refracted angle or the explicit TIR text required by the selected contract.
When a real refracted angle exists, increasing n2 relative to n1 generally lowers the angle from the normal for the same incident angle. Decreasing n2 can increase it and can eventually produce TIR when n1 is greater. These observations follow from preserving n sin(theta), not from a visual claim about a particular material. The calculator provides the numerical angle from the entered ratio.
Bending intuition can be misleading when angles are measured from the surface rather than normal. Always compare the same convention. The handler does not return a diagram or direction arrow, so a report should include the angle convention and the two index assignments.
The handler requires finite numeric indices between 0.1 and 10 and a finite incident angle between zero and 90 degrees. Numeric strings, missing values, NaN, infinities, nonpositive indices, and out-of-range values are rejected. Direct validation protects the function when called without the browser form.
The sine ratio is finite under the bounds. For a ratio above one, the handler deliberately takes the text branch; otherwise the inverse-sine result is checked for finiteness before it becomes a numeric metric. No ratio is clipped to one because doing so would hide total internal reflection.
Snell's law is a ray-level relation. Wave behavior can add polarization-dependent reflection and transmission, interference, absorption, diffraction, and evanescent fields. The calculator does not ask for electric-field polarization, wavelength, surface roughness, or complex refractive index. It should not be interpreted as a complete electromagnetic boundary solver.
This limit matters especially when a user asks about a fiber, coating, prism, sensor, or other optical assembly. The page returns an ideal angle or TIR label and does not calculate coupling, loss, mode confinement, or material performance.
The numeric angle does not select a material, thickness, coating, prism, lens, fiber, or waveguide. The TIR text does not guarantee confinement or transmission in a device. Real design questions require dimensions, surface quality, wavelength range, losses, tolerances, and testing that are absent from this calculator.
The explicit boundary is no waveguide or material-design advice. Use the result for ray-law instruction or as one ideal relation in a separately reviewed optical analysis. Do not present it as an approval of an optical component or system.
A clear report records which medium is first, which is second, both index values, and that angles are measured from the normal. Show the sine ratio and either the inverse-sine step or the comparison that exceeds one. Keep the ordinary angle unit in degrees and preserve the explicit TIR wording when that branch occurs.
End with the ideal refraction boundary: the page does not model polarization, dispersion, waveguide modes, or material design. This keeps a clean Snell calculation useful without attaching a performance claim to a real optical assembly.
The calculator is useful for optics exercises, ray diagrams, angle conversion checks, and critical-angle demonstrations. It can show how the same incident ray bends differently under different entered index pairs and why a ratio above one requires a special result. The finite numeric and text branches make the implementation behavior explicit.
It should not be used to choose optical materials, design a waveguide, guarantee coupling, or certify a component. Those decisions require a broader model. Keep the output as the ideal refracted angle or explicitly stated TIR condition.
Check that n1 and n2 are assigned to the correct sides, that the incident angle is from the normal in degrees, and that the ratio is n1 sin(theta1)/n2. If the ratio is at most one, check the finite inverse-sine angle; if it is greater than one, retain the total-internal-reflection text. These checks verify the ideal ray relation only.
Then ask whether the desired conclusion remains an angle or TIR condition. If it asks about a fiber, material, coating, optical performance, or design, stop at the boundary. Snell's law has been evaluated without providing waveguide or material-design advice.
When n1 is greater than n2, the largest possible sine on the second side is one. The boundary condition n1 sin(theta1) / n2 = 1 therefore identifies the critical-angle threshold in the ideal relation. Solving it gives a sine condition based on the index ratio. This calculator does not return a separate critical-angle field, but its ordinary and TIR branches follow that same comparison.
At the exact boundary, inverse sine of one is 90 degrees, so a finite refracted angle exists in the mathematical model. Just above the boundary, no real refracted angle exists and the handler returns total internal reflection text. The branch comparison is deliberately strict and avoids turning a physically meaningful condition into a numerical error.
The threshold is sensitive to the entered indices. If the indices are rounded or vary with wavelength, the branch can move. The calculator treats them as fixed inputs and does not estimate uncertainty or dispersion.
At an ordinary interface, Snell's law describes the transmitted ray angle when a real solution exists. Reflection can occur at the same boundary, but the current calculator does not calculate reflected intensity or split incident energy between paths. It reports only the ideal transmitted angle or the fact that no real transmitted angle exists under the ratio test.
The angle is measured from the local normal on both sides. A diagram may draw the rays on opposite sides of the interface, but the numeric relationship uses nonnegative angle magnitudes in the accepted range. The handler does not output a side-of-plane sign or an oriented ray vector.
This geometry is enough for an elementary refraction exercise but not enough to describe a complete optical path. Additional surfaces, thickness, curvature, and alignment would require a ray-tracing or system model.
When sharing an ordinary angle, record the index ordering, the normal convention, and the wavelength or condition under which the indices were chosen. When sharing a TIR result, record the ratio and the phrase no real refracted angle under the ideal model. This makes the text branch auditable and prevents it from being confused with a measurement of reflected power.
A waveguide or optical component analysis may need mode structure, dimensions, surface quality, loss, polarization, and bandwidth. The current page provides none of those. A TIR condition at one interface is not a guarantee that a device confines or transmits a signal as intended.
The catalog boundary is therefore intentional: no waveguide or material-design advice. The result can be a ray-law term in a reviewed analysis, but it should not be used as a component selection or performance approval.
The numeric relation uses nonnegative angle magnitudes measured from the local normal. A ray diagram may place an incident ray on one side of the interface and a transmitted ray on the other, but the calculator does not encode those sides as signed coordinates. Two diagrams can therefore share the same returned angle while using different drawing orientations. The normal convention must remain attached to the value.
The interface itself can be tilted in a laboratory or optical assembly without changing the local Snell calculation. What matters in the relation is the angle to the normal at the point of incidence. The page does not transform a global direction into a local normal angle and does not trace the ray after it leaves the interface.
These limits make the output suitable for a single-boundary exercise. A multi-surface path needs each surface, thickness, curvature, and orientation represented by another model.
The handler treats both refractive indices as fixed during one calculation. In real optical media, an index can vary with wavelength, temperature, pressure, composition, and polarization. If those conditions change, a new pair of entered values may be appropriate. The page does not interpolate a material table or decide which index applies to a broadband source.
A changing interface can also alter the ray condition over time or position. This calculator has no time, location, curvature, or field-of-view input. It evaluates the one interface state described by n1, n2, and the incident angle, and the text branch says only whether the ideal refracted solution exists.
Keeping the condition fixed is not a claim that real media are constant. It is the premise that makes the three-field relation reproducible.
The ordinary branch returns a number only when the computed sine ratio is at most one. That number is the inverse sine expressed in degrees, using the same normal convention as the input. The TIR branch returns text because the inverse-sine operation would otherwise have no real angle. The two branches are intentionally different output types and should be handled as such by a caller.
At the exact critical boundary, a ratio of one corresponds to a 90-degree refracted angle in the ideal mathematical relation. A ratio greater than one is not rounded down or clipped, because doing so would erase the distinction between a limiting ray and total internal reflection. The handler preserves that distinction in the steps and note.
Neither branch reports reflected intensity or a device outcome. They answer only the ray-angle existence question for the entered ideal interface.
Calculate the refracted angle from two refractive indices and an incident angle, including a total-internal-reflection result when appropriate.
Snell's law is n1 sin(theta1) = n2 sin(theta2), so sin(theta2) = n1 sin(theta1)/n2. If this ratio exceeds 1, the result is total internal reflection. This calculator applies the ideal boundary-angle relation for refraction. It returns a refracted angle in degrees when the sine ratio is at most one and an explicit total internal reflection text result when the ratio exceeds one; waveguide and material-design advice are outside scope.
Enter First-medium refractive index, Second-medium refractive index, Incident angle, then choose Calculate.
Both refractive indices are finite positive dimensionless values from 0.1 through 10, and the incident angle is measured from the interface normal between 0 and 90 degrees. The interface is ideal, the indices are treated as fixed for the entered condition, and the ordinary ray relation is used without polarization, dispersion, or surface-roughness corrections. This is an ideal refraction relation only. Total internal reflection is reported textually when no real refracted angle exists; waveguide behavior, material selection, and design advice are outside scope.
This calculator is part of the WorldCalculate library. Its formula, example, assumptions, input bounds, and output formatting follow the official methodology.
These WorldCalculate collections connect this tool with related questions while keeping each calculation separate and transparent.