Physics calculator

Refractive Index Calculator

Calculate refractive index from light speed in a medium, speed in medium from refractive index, or critical angle between two media.

Last reviewed: July 21, 2026Physics formula engine v3.0.0

Physics calculator

Refractive Index Calculator

Enter values, select units and calculate locally. Results use SI internally and show rounded display values.

Decimal.js physics math

Mode

Find refractive index from speed of light in a medium.

Index from speed inputs
m/s

Result and visual stay hidden until you choose Calculate.

Formula and assumptions

Primary formula

n = c / v; v = c / n; n21 = n2 / n1; theta_c = arcsin(n2 / n1).

Input assumptions

Ordinary refractive indices are at least 1. Speed of light in vacuum is exact. Critical angle requires n1 greater than n2.

Precision note

Physics calculators convert compatible inputs into SI units before calculating. Decimal.js is used for arithmetic where practical; trigonometric angle factors are rounded for display.

Physics calculation flow

Parse

Read labelled inputs, selected units and calculation mode from the calculator card.

Convert

Convert compatible values to SI base or derived units without calling external services.

Calculate

Apply the selected deterministic mechanics formula and validate against NaN, Infinity and invalid divisors.

Label

Display the result, supporting unit rows, formula steps, warnings and dynamic visual below the input card.

What Refractive Index Calculator does

Use this calculator for optics questions involving light speed, refractive index and critical angle.

The calculator is deterministic and runs from manual inputs only. It is a physics formula tool, so it should not be confused with a unit converter that only changes labels after a value is already known.

Formula and variables

n = c / v; v = c / n; n21 = n2 / n1; theta_c = arcsin(n2 / n1).

The calculator converts supported units into SI base or derived units for the actual calculation, then formats the result in the selected display unit.

  • n is refractive index
  • c is 299792458 m/s
  • v is speed in medium
  • theta_c is critical angle

Worked examples

Use the examples below to check expected order of operations and unit handling before applying the tool to your own values.

  • 299792458 / 199861638.6666667 = about 1.5
  • n = 1.5 gives v = 199861638.6666667 m/s
  • n1 = 1.5 and n2 = 1.0 gives critical angle about 41.8103 deg

Unit conversions

Length, time, mass, area, volume, speed, force, pressure, density, frequency, energy and power units reuse the central NexaCalc conversion registry. Acceleration, angle and spring-constant units use the same SI-first convention where applicable.

The displayed conversion rows are supporting context. They do not change the physical assumptions of the selected formula.

Common mistakes

Most errors come from mixing physical quantities that sound similar in everyday language or choosing a unit that belongs to a different dimension.

  • Using sound speed instead of light speed.
  • Entering refractive index below 1 for ordinary media.
  • Using critical angle when n1 is not greater than n2.

Assumptions and limitations

This page is intended for educational and planning calculations, not professional engineering certification.

This calculator uses idealized physics formulas and the input values you provide. Real systems may require additional effects such as friction, drag, rotation, deformation, losses or measurement uncertainty.

  • Ordinary refractive indices are at least 1.
  • Speed of light in vacuum is exact.
  • Critical angle requires n1 greater than n2.
  • Real refractive index can vary with wavelength, temperature and material composition.
  • The calculator does not model dispersion curves.

Frequently asked questions

How is refractive index calculated?

Refractive Index Calculator uses n = c / v; v = c / n; n21 = n2 / n1; theta_c = arcsin(n2 / n1). The result is calculated from the values and units entered in the form.

What does refractive index mean?

Use this calculator for optics questions involving light speed, refractive index and critical angle. Ordinary refractive indices are at least 1.

Why is the speed of light slower in a medium?

Use this calculator for optics questions involving light speed, refractive index and critical angle. Ordinary refractive indices are at least 1.

What is the formula n = c/v?

Refractive Index Calculator uses n = c / v; v = c / n; n21 = n2 / n1; theta_c = arcsin(n2 / n1). The result is calculated from the values and units entered in the form.

Can refractive index be less than 1?

Use this calculator for optics questions involving light speed, refractive index and critical angle. Ordinary refractive indices are at least 1.

What is relative refractive index?

Use this calculator for optics questions involving light speed, refractive index and critical angle. Ordinary refractive indices are at least 1.

How do I calculate speed of light in glass?

Refractive Index Calculator uses n = c / v; v = c / n; n21 = n2 / n1; theta_c = arcsin(n2 / n1). The result is calculated from the values and units entered in the form.

What is critical angle?

Use this calculator for optics questions involving light speed, refractive index and critical angle. Ordinary refractive indices are at least 1.

How is refractive index used in Snell's Law?

Use this calculator for optics questions involving light speed, refractive index and critical angle. Ordinary refractive indices are at least 1.

When should I use Snell's Law Calculator?

Use this calculator for optics questions involving light speed, refractive index and critical angle. Ordinary refractive indices are at least 1.

References

  • NIST Special Publication 811, Guide for the Use of the International System of Units. Relevance: SI unit symbols and derived-unit naming. Last verified: July 21, 2026. Source.
  • BIPM, The International System of Units SI Brochure. Relevance: SI base and derived units used in mechanics, fluids, waves and optics. Last verified: July 21, 2026. Source.
  • OpenStax University Physics Volume 1. Relevance: introductory formulas for motion, force, work, energy, momentum, fluids, waves and optics. Last verified: July 21, 2026. Source.
  • NIST CODATA internationally recommended values. Relevance: physical constants for electricity, modern physics, gravitation and radiation formulas. Last verified: July 21, 2026. Source.
  • OpenStax University Physics Volume 2. Relevance: electric circuits, capacitance, magnetic force and electromagnetic waves. Last verified: July 21, 2026. Source.
  • OpenStax University Physics Volume 3. Relevance: photons, nuclear decay and blackbody radiation concepts. Last verified: July 21, 2026. Source.

Physics references verified for SI units, mechanics, fluids, waves, sound and optics formulas on July 21, 2026.

Educational disclaimer

This calculator provides mathematical results from the values, conventions and methods you enter. Verify important academic, engineering or professional work independently.