User manual · Reference

Speed of light value and physical constants

The speed of light is exactly 299,792,458 m/s, about 186,282 miles per second. See c in km/s and mph, why it is exact, and 22 CODATA 2022 constants.

By Hira Noor, mathematicianUpdated
Speed of light valueThe speed of light in a vacuum, c, is exactly 299,792,458 meters per second. That is 299,792.458 km/s, about 186,282 miles per second or 670,616,629 mph, and it is often rounded to 3 × 10⁸ m/s. The value is exact because the meter has been defined from it since 1983, so it has no measurement uncertainty.

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.

Speed of light in a vacuum in common units
UnitValue of cType 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.397c_light / 1609.344
Miles per hour (mph)670,616,629.4c_light 3600 / 1609.344
Feet per second (ft/s)983,571,056.4c_light / 0.3048
Scientific notation2.99792458 × 10⁸ m/sc_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.

1m=c×1299792458s1\ \mathrm{m} = c \times \frac{1}{299\,792\,458}\ \mathrm{s}
The SI definition of the meter, fixed in 1983 and restated in 2019

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 ε₀:

c=1μ0ε0c = \frac{1}{\sqrt{\mu_0 \varepsilon_0}}
The speed of light from the magnetic and electric constants

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:

v=cnv = \frac{c}{n}
Speed of light vv in a medium with refractive index nn
Approximate speed of visible light in common materials
MediumRefractive index nSpeed of light
Vacuum1 (exact)299,792.458 km/s
Air at sea levelabout 1.0003about 299,705 km/s
Waterabout 1.333about 224,900 km/s
Typical glassabout 1.5about 199,900 km/s
Diamondabout 2.417about 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

Light travel times at the speed of light in a vacuum
DistanceLengthTime for light
One foot0.3048 mabout 1.017 nanoseconds
Around Earth’s equatorabout 40,075 kmabout 0.134 seconds
Earth to the Moon (mean)about 384,400 kmabout 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-year9,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_light for the speed of light, h_planck for the Planck constant, N_A for the Avogadro constant or k_B for 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_A works but n_a does not. The elementary charge is q_e, because e on its own is Euler’s number, 2.718281828.
  • Combine names freely. Implicit multiplication works with constant names, so h_planck c_light is the product hc.

Mathematical constants

Mathematical constants
SymbolName to typeQuantityValueUnit
π\pipi or πRatio of a circle’s circumference to its diameter.3.14159265359—
eee or ℯEuler’s number, the base of natural logarithms.2.71828182846—
τ\tautau or τOne full turn in radians, 2π.6.28318530718—
φ\varphiphi or φ, ϕGolden ratio, (1 + √5)/2.1.61803398875—
∞\inftyinf or infinity, ∞, InfinityInfinity, for open bounds in integrals, limits and normalcdf.∞—

Physical constants (CODATA 2022)

Physical constants (CODATA 2022)
SymbolName to typeQuantityValueUnit
ccc_lightSpeed of light in vacuum. Exact by definition.299792458m s⁻¹
hhh_planckPlanck constant. Exact by definition.6.62607015×10⁻³⁴J s
ℏ\hbarhbarReduced Planck constant, h/2π.1.054571817×10⁻³⁴J s
GGG_newtonNewtonian constant of gravitation.6.6743×10⁻¹¹m³ kg⁻¹ s⁻²
gng_{n}g_nStandard acceleration of gravity. Exact by definition.9.80665m s⁻²
NAN_{A}N_AAvogadro constant. Exact by definition.6.02214076×10²³mol⁻¹
kBk_{B}k_BBoltzmann constant. Exact by definition.1.380649×10⁻²³J K⁻¹
RRR_gasMolar gas constant, N_A k_B (exact product, shown to 10 significant digits).8.314462618J mol⁻¹ K⁻¹
eeq_eElementary charge. Exact by definition.1.602176634×10⁻¹⁹C
FFF_faradayFaraday constant, N_A e (exact product, shown to 10 significant digits).96485.33212C mol⁻¹
mem_{e}m_eElectron mass.9.1093837139×10⁻³¹kg
mpm_{p}m_pProton mass.1.67262192595×10⁻²⁷kg
mnm_{n}m_nNeutron mass.1.67492750056×10⁻²⁷kg
mum_{u}m_uAtomic mass constant (1 dalton).1.66053906892×10⁻²⁷kg
ε0\varepsilon_{0}eps0Vacuum electric permittivity.8.8541878188×10⁻¹²F m⁻¹
μ0\mu_{0}mu0Vacuum magnetic permeability.0.00000125663706127N A⁻²
σ\sigmasigma_SBStefan–Boltzmann constant.5.670374419×10⁻⁸W m⁻² K⁻⁴
R∞R_{\infty}R_infRydberg constant.10973731.5682m⁻¹
a0a_{0}a_0Bohr radius.5.29177210544×10⁻¹¹m
α\alphaalpha_fsFine-structure constant (dimensionless).0.0072973525643dimensionless
atm\mathrm{atm}atmStandard atmosphere. Exact by definition.101325Pa
VmV_{m}V_mMolar volume of an ideal gas at 273.15 K and 101.325 kPa.0.02241396954m³ 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

  1. Take the distance in meters

    One astronomical unit, the mean Sun–Earth distance, is exactly 149,597,870,700 m.

  2. Divide by c

    Enter 149597870700 / c_light. The result is 499.0047838 seconds.

  3. Convert to minutes

    Ans / 60 gives 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:

E=hcλE = \frac{hc}{\lambda}
Photon energy from the wavelength λ\lambda
  1. Write the wavelength in meters

    500 nm is 500 × 10⁻⁹ m, which you can type as 500e-9.

  2. Type the formula with constant names

    Enter h_planck c_light / 500e-9. The result is 3.972891714×10⁻¹⁹, in joules.

  3. Convert to electronvolts

    One electronvolt is exactly the elementary charge in joules, so divide by q_e: Ans / q_e gives 2.479683969 eV.

  4. 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.

Frequently asked questions

Is the speed of light exactly 3 × 10⁸ m/s?

No. The exact value is 299,792,458 m/s, or 2.99792458 × 10⁸ m/s. 3 × 10⁸ m/s is a rounded value about 0.07% too high, commonly used in school physics.

Is the speed of light 300,000 km per second?

Approximately. The exact value is 299,792.458 km/s, so 300,000 km/s is a convenient rounding. In miles the speed of light is about 186,282 miles per second.

Is the speed of light 3 × 10⁹ m/s?

No, that is ten times too large. The speed of light is about 3 × 10⁸ m/s. In centimeters per second it is about 3 × 10¹⁰ cm/s, which is a common source of the mix-up.

Is the speed of light in air 3 × 10⁸ m/s?

To that rounding, yes. Air has a refractive index of about 1.0003, so light in air travels at about 299,705 km/s, only about 0.03% slower than in a vacuum.

What is the speed of light in mph?

About 670,616,629 miles per hour, from 299,792,458 m/s × 3,600 s per hour ÷ 1,609.344 m per mile.

Why is the elementary charge called q_e and not e?

The name e is Euler’s number, the base of natural logarithms, so the elementary charge uses q_e. Both are listed in the tables above.

Which CODATA edition does the calculator use?

The 2022 CODATA recommended values, as published by NIST. Constants that are exact under the SI definitions, such as the speed of light, are the same in every edition since 2019.

Sources and further reading

  1. CODATA value: speed of light in vacuum (opens in a new tab), National Institute of Standards and Technology
  2. Fundamental Physical Constants (CODATA recommended values) (opens in a new tab), National Institute of Standards and Technology
  3. The International System of Units (SI Brochure), 9th edition (opens in a new tab), Bureau International des Poids et Mesures
  4. Resolution 1 of the 17th CGPM (1983): Definition of the metre (opens in a new tab), Bureau International des Poids et Mesures
  5. Speed of light from direct frequency and wavelength measurements of the methane-stabilized laser (opens in a new tab), Physical Review Letters 29, American Physical Society (K. M. Evenson, J. S. Wells, F. R. Petersen, B. L. Danielson, G. W. Day, R. L. Barger and J. L. Hall, 1972)

Tools on this page

Scientific Calculator

Type or tap expressions with exact fractions, memory, variables, constants and complex mode.