This page gives the speed of light in other units, explains why it is exact and how fast light travels through air, water and glass, then lists the five mathematical and 22 physical constants built into the scientific calculator. Physical values are the CODATA 2022 recommended values published by NIST. Type c_light anywhere a number is allowed to use c in a calculation.
Jump to: speed of light in other units · why it is exact · formula · speed in air, water and glass · light travel times · physical constants table · worked examples
Speed of light value in other units
Every value below comes from the exact SI value and the exact definitions of the kilometer, the international mile (1,609.344 m) and the foot (0.3048 m). Only the rounding is approximate.
| Unit | Value of c | Type in the calculator |
|---|---|---|
| Meters per second (m/s) | 299,792,458 (exact) | c_light |
| Kilometers per second (km/s) | 299,792.458 (exact) | c_light / 1000 |
| Kilometers per hour (km/h) | 1,079,252,848.8 (exact) | c_light 3600 / 1000 |
| Miles per second (mi/s) | 186,282.397 | c_light / 1609.344 |
| Miles per hour (mph) | 670,616,629.4 | c_light 3600 / 1609.344 |
| Feet per second (ft/s) | 983,571,056.4 | c_light / 0.3048 |
| Scientific notation | 2.99792458 × 10⁸ m/s | c_light |
In textbook problems c is often rounded to 3 × 10⁸ m/s or 300,000 km/s. Both are about 0.07% higher than the exact value, which is close enough for most homework but not for precise work. For other speed units, the speed converter includes c as a unit.
Why the speed of light value is exact
Until 1983 the meter was a physical standard, and the speed of light was a measured number with an uncertainty. By then laser measurements were limited by how well the meter itself could be realized, not by how well light could be timed. The 17th General Conference on Weights and Measures turned the relationship around: the meter became the distance light travels in a vacuum in 1/299,792,458 of a second.
Since then c cannot change. A better experiment would refine the length of the meter, not the speed of light. The 2019 revision of the SI kept this definition and fixed four more constants the same way, as the section on exact and measured values explains.
Speed of light formula
For any light wave, the speed equals the wavelength times the frequency, c = λf. Green light with a wavelength of 500 nm therefore has a frequency of c/λ: c_light / 500e-9 gives 5.99584916×10¹⁴ Hz.
Maxwell’s equations link c to two electromagnetic constants, the vacuum permeability μ₀ and permittivity ε₀:
Typing 1/sqrt(mu0 eps0) returns 299792458. Since 2019 μ₀ and ε₀ are measured values, but their product is tied to c through this equation, so the result matches the exact value to the calculator’s display precision.
Speed of light in air, water and glass
The exact value applies to light in a vacuum. In a material light travels more slowly, by a factor called the refractive index, n:
| Medium | Refractive index n | Speed of light |
|---|---|---|
| Vacuum | 1 (exact) | 299,792.458 km/s |
| Air at sea level | about 1.0003 | about 299,705 km/s |
| Water | about 1.333 | about 224,900 km/s |
| Typical glass | about 1.5 | about 199,900 km/s |
| Diamond | about 2.417 | about 124,000 km/s |
Refractive index changes slightly with wavelength, temperature and pressure, so the speeds in media are approximate. Light in air is only about 0.03% slower than in a vacuum, which is why 3 × 10⁸ m/s is also the usual rounded figure for air.
How long light takes to travel
| Distance | Length | Time for light |
|---|---|---|
| One foot | 0.3048 m | about 1.017 nanoseconds |
| Around Earth’s equator | about 40,075 km | about 0.134 seconds |
| Earth to the Moon (mean) | about 384,400 km | about 1.28 seconds |
| Sun to Earth (1 astronomical unit) | 149,597,870,700 m (exact) | 499.0 seconds, about 8 minutes 19 seconds |
| One light-year | 9,460,730,472,580.8 km (exact) | one Julian year, 365.25 days |
The light-year is defined from c and the Julian year, so its length in kilometers is exact. The light-years to kilometers converter uses this value.
How the speed of light was measured
- 1676, Ole Rømer timed the eclipses of Jupiter’s moon Io and saw them run early or late depending on Earth’s distance from Jupiter. It was the first evidence that light has a finite speed.
- 1849, Hippolyte Fizeau sent light through a spinning toothed wheel to a mirror about 8.6 km away and back, the first measurement made on Earth. He found roughly 313,000 km/s.
- 1926, Albert Michelson timed light over a 35 km path between two California mountains with rotating mirrors and reported 299,796 ± 4 km/s.
- 1972, Kenneth Evenson’s group at NIST measured the frequency and wavelength of a laser and got 299,792,456.2 ± 1.1 m/s, precise enough that the meter itself became the limit.
- 1983 the value 299,792,458 m/s was fixed by definition, ending the measurements.
How to insert a constant
- Type the name shown in the tables, for example
c_lightfor the speed of light,h_planckfor the Planck constant,N_Afor the Avogadro constant ork_Bfor the Boltzmann constant. The mathematical constants also accept their symbols:π,τ,φand∞. - Use the Constants panel. Open Constants from the toolbar of the scientific calculator and choose a constant to insert its name at the cursor.
- Mind the case. Constant names are case-sensitive, so
N_Aworks butn_adoes not. The elementary charge isq_e, becauseeon its own is Euler’s number, 2.718281828. - Combine names freely. Implicit multiplication works with constant names, so
h_planck c_lightis the product hc.
Mathematical constants
| Symbol | Name to type | Quantity | Value | Unit |
|---|---|---|---|---|
pi or π | Ratio of a circle’s circumference to its diameter. | 3.14159265359 | — | |
e or ℯ | Euler’s number, the base of natural logarithms. | 2.71828182846 | — | |
tau or τ | One full turn in radians, 2π. | 6.28318530718 | — | |
phi or φ, ϕ | Golden ratio, (1 + √5)/2. | 1.61803398875 | — | |
inf or infinity, ∞, Infinity | Infinity, for open bounds in integrals, limits and normalcdf. | ∞ | — |
Physical constants (CODATA 2022)
| Symbol | Name to type | Quantity | Value | Unit |
|---|---|---|---|---|
c_light | Speed of light in vacuum. Exact by definition. | 299792458 | m s⁻¹ | |
h_planck | Planck constant. Exact by definition. | 6.62607015×10⁻³⁴ | J s | |
hbar | Reduced Planck constant, h/2π. | 1.054571817×10⁻³⁴ | J s | |
G_newton | Newtonian constant of gravitation. | 6.6743×10⁻¹¹ | m³ kg⁻¹ s⁻² | |
g_n | Standard acceleration of gravity. Exact by definition. | 9.80665 | m s⁻² | |
N_A | Avogadro constant. Exact by definition. | 6.02214076×10²³ | mol⁻¹ | |
k_B | Boltzmann constant. Exact by definition. | 1.380649×10⁻²³ | J K⁻¹ | |
R_gas | Molar gas constant, N_A k_B (exact product, shown to 10 significant digits). | 8.314462618 | J mol⁻¹ K⁻¹ | |
q_e | Elementary charge. Exact by definition. | 1.602176634×10⁻¹⁹ | C | |
F_faraday | Faraday constant, N_A e (exact product, shown to 10 significant digits). | 96485.33212 | C mol⁻¹ | |
m_e | Electron mass. | 9.1093837139×10⁻³¹ | kg | |
m_p | Proton mass. | 1.67262192595×10⁻²⁷ | kg | |
m_n | Neutron mass. | 1.67492750056×10⁻²⁷ | kg | |
m_u | Atomic mass constant (1 dalton). | 1.66053906892×10⁻²⁷ | kg | |
eps0 | Vacuum electric permittivity. | 8.8541878188×10⁻¹² | F m⁻¹ | |
mu0 | Vacuum magnetic permeability. | 0.00000125663706127 | N A⁻² | |
sigma_SB | Stefan–Boltzmann constant. | 5.670374419×10⁻⁸ | W m⁻² K⁻⁴ | |
R_inf | Rydberg constant. | 10973731.5682 | m⁻¹ | |
a_0 | Bohr radius. | 5.29177210544×10⁻¹¹ | m | |
alpha_fs | Fine-structure constant (dimensionless). | 0.0072973525643 | dimensionless | |
atm | Standard atmosphere. Exact by definition. | 101325 | Pa | |
V_m | Molar volume of an ideal gas at 273.15 K and 101.325 kPa. | 0.02241396954 | m³ mol⁻¹ |
Exact and measured values
The 2019 revision of the SI defined the base units by fixing the numerical values of seven constants. Five of them are in the table: the speed of light c, the Planck constant h, the elementary charge e (q_e), the Boltzmann constant k and the Avogadro constant N_A. Their values are exact by definition. The standard acceleration of gravity gₙ = 9.80665 m s⁻² and the standard atmosphere, 101,325 Pa, are exact as well, because they are conventional values fixed by agreement.
Some constants are exact combinations of exact ones but have decimal expansions that never end: the reduced Planck constant ħ = h/2π, the molar gas constant R = N_A k, the Faraday constant F = N_A e, the Stefan–Boltzmann constant σ and the molar volume of an ideal gas. The calculator stores these to 10 significant digits, which matches the precision of the default display.
The remaining constants are measured: the gravitational constant G, the electron, proton and neutron masses, the atomic mass constant, the vacuum permittivity ε₀ and permeability μ₀, the Rydberg constant, the Bohr radius and the fine-structure constant. Their CODATA values carry an uncertainty in the last digits. G is the least precisely known, which is why it has only five significant digits. Since 2019 μ₀ is no longer exactly 4π × 10⁻⁷ N A⁻²; mu0 / (4π × 10^-7) gives 0.9999999999 rather than 1.
Worked examples with the speed of light
How long sunlight takes to reach Earth
Take the distance in meters
One astronomical unit, the mean Sun–Earth distance, is exactly 149,597,870,700 m.
Divide by c
Enter
149597870700 / c_light. The result is 499.0047838 seconds.Convert to minutes
Ans / 60gives 8.316746397 minutes, which is 8 minutes and about 19 seconds.
The energy of a 500 nm photon
The energy of a photon is its frequency times the Planck constant. With frequency c/λ, that becomes:
Write the wavelength in meters
500 nm is 500 × 10⁻⁹ m, which you can type as
500e-9.Type the formula with constant names
Enter
h_planck c_light / 500e-9. The result is 3.972891714×10⁻¹⁹, in joules.Convert to electronvolts
One electronvolt is exactly the elementary charge in joules, so divide by
q_e:Ans / q_egives 2.479683969 eV.Check the answer
Green light at 500 nm carries about 2.5 eV per photon, inside the familiar range of roughly 1.6 to 3.3 eV for visible light.
E = mc² in one line
The rest energy of one gram of mass is 1e-3 c_light^2 = 8.987551787×10¹³ J. Constants also check one another: R_gas 273.15 / atm gives 0.02241396954 m³ mol⁻¹, the same as the stored molar volume V_m, because V = RT/p for an ideal gas at 273.15 K and one standard atmosphere.