Refraction calculator

Light bends toward the normal entering a denser medium, and past a critical angle it does not get out at all.

Vacuum 1; air 1.000293; water 1.333; crown glass 1.52; diamond 2.417.

Angle of refraction
22.030 11degrees
≈ Rounded Snell's law
Critical angle Zero when going into a denser medium, where no critical angle exists.
0.000 00 degrees
Brewster angle
53.123 23 degrees
Light speed in the second medium
224 900 570
Totally internally reflected
0
Show the working
  1. Refractive index of the first medium = 1
  2. Refractive index of the second medium = 1.333
  3. Angle of incidence = 30
  4. sin2 = 1 * sin(rad(30)) / 1.333 = 0.375 094
  5. Angle of refraction = abs(0.375 094) <= 1 ? deg(asin(0.375 094)) : 0 = 22.0301
  6. Totally internally reflected = abs(0.375 094) > 1 ? 1 : 0 = 0
  7. Critical angle = 1 > 1.333 ? deg(asin(1.333/1)) : 0 = 0
  8. Light speed in the second medium = c / 1.333 = 224 901 000
  9. Brewster angle = deg(atan(1.333/1)) = 53.1232

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • n1 sin(theta1) = n2 sin(theta2)
    • critical angle = arcsin(n2/n1) when n1 > n2
    • Brewster angle = arctan(n2/n1)

    Diamond's high index gives a critical angle of only 24.4 degrees, which is why a cut stone traps and returns so much light.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library