Speed of Light Calculator

Calculate speed of light in various media from refractive index. Travel time, wavelength shift, critical angle, and 16-medium comparison table.

m
nm
Speed in Medium
299,792,458 m/s
299.79 × 10⁶ m/s | 100.0000% of c
Refractive Index
1.000000
c/v = 1.000000
One-Way Travel Time
1.282 s
1.282220 seconds total
Round-Trip (Comm Delay)
2.564 s
Light-speed communication latency
Wavelength in Medium
550.0 nm
Vacuum: 550 nm | Frequency: 545.08 THz
Critical Angle
90.00°
Total internal reflection above this angle (medium → air)
Speed as Fraction of c
100.00% of c
Light Travel Times Across Distances
DistanceIn VacuumIn Vacuum
Earth circumference133.68 ms133.68 ms
Earth to Moon1.28 s1.28 s
Earth to Sun8.32 min8.32 min
Earth to Mars (closest)3.04 min3.04 min
Earth to Jupiter34.95 min34.95 min
Sun to Neptune4.17 hr4.17 hr
1 light-year1.00 yr1.00 yr
Earth to Proxima Centauri4.24 yr4.24 yr
MediumnSpeed (m/s)% of cλ (nm)
Vacuum1.0000299,792,458100.00%550.0
Air (STP)1.0003299,704,64599.97%549.8
Water1.3330224,900,56975.02%412.6
Ice1.3100228,849,20576.34%419.8
Ethanol1.3610220,273,66573.48%404.1
Glass (crown)1.5200197,231,88065.79%361.8
Glass (flint)1.6600180,597,86660.24%331.3
Diamond2.4170124,034,94341.37%227.6
Quartz (fused)1.4580205,618,97068.59%377.2
Sapphire1.7700169,374,27056.50%310.7
Polycarbonate1.5850189,143,50763.09%347.0
Acrylic (PMMA)1.4910201,068,04767.07%368.9
Silicon3.480086,147,25828.74%158.0
Germanium4.050074,022,82924.69%135.8
Optical Fiber1.4670204,357,50468.17%374.9
Olive Oil1.4700203,940,44868.03%374.1
Planning notes, formulas, and examples

About the Speed of Light Calculator

The **Speed of Light Calculator** computes the speed of light in any medium using v = c/n, where c = 299,792,458 m/s is the exact speed of light in vacuum and n is the refractive index. It calculates travel time over any distance, round-trip communication delay, wavelength shift in the medium, frequency, and the critical angle for total internal reflection. A library of 16 media spans from vacuum through optical fiber to high-index semiconductors like silicon and germanium.

Light is the fastest thing in the universe — nothing with mass can reach or exceed c. In vacuum, light travels 299,792,458 meters per second, covering the Earth-to-Moon distance (384,400 km) in about 1.28 seconds and the Earth-to-Sun distance in 8.3 minutes. In denser media, light slows down: in water it moves at 75% of c, in diamond at only 41%, and in silicon at just 29%.

The refractive index determines everything from how lenses focus light to why diamonds sparkle (high n causes strong refraction and dispersion). This calculator is useful for fiber optics engineers calculating signal latency, astronomers computing light travel times, students studying Snell's law, and anyone curious about how light behaves.

When This Page Helps

Understanding light speed in different media is essential for optical design, telecommunications, and fundamental physics. In fiber optics, the refractive index of the glass core (n ≈ 1.467) determines signal propagation delay — about 4.9 μs per km, crucial for high-frequency trading where microseconds matter. The round-trip time calculator shows the inherent latency limit for communication.

The critical angle determines when total internal reflection occurs — the principle behind fiber optics, prisms, and gemstone brilliance. Diamond has a very small critical angle (24.4°) because of its high refractive index, causing light to bounce internally many times and creating the brilliant sparkle. This calculator helps students and engineers quickly find these angles for any material pair.

How to Use the Inputs

  1. Select a medium from the dropdown or enter a custom refractive index.
  2. Choose a distance unit (meters, km, AU, or light-years) and enter the travel distance.
  3. Enter the vacuum wavelength of interest (default 550 nm, green light).
  4. Review speed, travel time, round-trip delay, wavelength in medium, and critical angle.
  5. Use the cosmic distance table to see light travel times across the solar system and beyond.
  6. Compare speeds across all 16 media in the reference table.
Formula used
Speed in medium: v = c/n Refractive index: n = c/v Wavelength in medium: λ_medium = λ_vacuum / n Frequency: f = c / λ_vacuum (frequency does not change between media) Travel time: t = d / v Critical angle: θ_c = arcsin(n₂/n₁) for n₁ > n₂ Constants: c = 299,792,458 m/s (exact, by definition) Variables: n = refractive index, d = distance (m), λ = wavelength (m), f = frequency (Hz)

Example Calculation

Result: Speed: 224,901,233 m/s, Travel time: 1.71 s

Water has n = 1.333. Speed = 299,792,458 / 1.333 = 224,901,233 m/s (75.0% of c). For 384,400 km (Earth-Moon): t = 384.4×10⁶ / 224.9×10⁶ = 1.71 s. Wavelength: 550/1.333 = 412.6 nm. Critical angle = arcsin(1/1.333) = 48.6°.

Tips & Best Practices

  • c = 299,792,458 m/s is exact by definition — the meter is defined from the speed of light since 1983.
  • Light takes 1.28 seconds to reach the Moon and 8.3 minutes to reach the Sun.
  • Frequency does not change when light enters a medium — only wavelength and speed change.
  • Fiber optic signals travel at about 69% of c (due to glass core n ≈ 1.467), or ~4.9 μs/km.
  • Cherenkov radiation occurs when a charged particle travels faster than light in that medium (v > c/n).
  • The refractive index varies with wavelength (dispersion) — this is what creates rainbows and chromatic aberration.

Defining the Meter from Light

Since 1983, the speed of light in vacuum has been defined as exactly 299,792,458 m/s. This means the meter is derived from the speed of light: one meter is the distance light travels in vacuum in 1/299,792,458 of a second. The second itself is defined from cesium-133 atomic transitions. So length is ultimately defined by time and the speed of light — a natural constant.

Before this definition, the meter was based on a physical artifact (a platinum-iridium bar in Paris). The speed-of-light definition is reproducible anywhere in the universe given a frequency standard.

Dispersion and Refraction

The refractive index varies with wavelength — a phenomenon called dispersion. This variation is what creates rainbows, separates colors in prisms, and causes chromatic aberration in lenses. Normal dispersion (n decreases with increasing wavelength) occurs in most transparent materials at visible wavelengths. The Cauchy equation n(λ) = A + B/λ² + C/λ⁴ approximates this behavior.

Achromatic lenses combine crown glass (low dispersion) and flint glass (high dispersion) to cancel chromatic aberration. Modern smartphone camera lenses use aspherical surfaces and multiple elements to correct both chromatic and geometric aberrations.

Light Speed in Astrophysics

Astronomers use light travel time as a distance unit: one light-year = 9.461 × 10¹⁵ m. The observable universe has a radius of about 46.5 billion light-years (larger than 13.8 billion because of cosmic expansion). When we observe distant galaxies, we see them as they were billions of years ago — telescopes are literally time machines.

The cosmic speed limit c creates a "light cone" that defines which events can causally influence each other. This is not just about light — no signal, force, or information of any kind can propagate faster than c, placing fundamental limits on communication across the cosmos.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • In vacuum, c is an exact constant (299,792,458 m/s) — it is the same for all observers in all reference frames (special relativity). In media, the speed v = c/n varies with the material, temperature, pressure, and wavelength. The "speed of light" usually refers to c in vacuum.