Sunlight takes about 8 min 19 s
- Calculate
- Light travel time
- Distance to
- Sun
- Light travel time
- 8.31675 min
- Distance
- 149,598,000 km
Checked against: Python 3.8 decimal: 149597870700 m / 299792458 m/s = 499.00478 s (IAU au, exact c)
Light travel time for any distance, apparent and absolute magnitude from the distance modulus, and redshift to recession velocity (relativistic Doppler).
Light from the Sun takes 8 min 19 s to reach us — we see it as it was that long ago.
Years here are Julian years (365.25 d), the unit that defines the light-year.
Light travel time is the distance divided by the exact speed of light, 299,792,458 m/s. The distance modulus, m − M = 5 log₁₀(d/10 pc) + A, links a star's apparent magnitude m, its absolute magnitude M (how bright it would look from 10 parsecs), its distance d and the dimming A by dust; give any two of m, M and d to get the third. Redshift z converts to velocity with the relativistic Doppler formula 1 + z = √((1 + β)/(1 − β)), where β = v/c.
The default shows sunlight taking 8 min 19 s to cross 1 au (149,597,870.7 km), so we see the Sun as it was that long ago. Sirius, at apparent magnitude −1.46 and 2.64 parsecs, has absolute magnitude 1.43; from the same distance the Sun would shine at magnitude 1.94.
The Doppler formula treats redshift as motion through space. Beyond z ≈ 0.1 a galaxy's redshift comes mainly from cosmic expansion, so the velocity shown is not its recession speed and its distance needs a cosmological model.
Checked against: Python 3.8 decimal: 149597870700 m / 299792458 m/s = 499.00478 s (IAU au, exact c)
Checked against: Python 3.8 decimal: 384400 km / c = 1.2822204 s
Checked against: IAU definition: 1 ly = c × 365.25 d
Checked against: Python 3.8 decimal: 4.83 + 5 log₁₀(4.848137e-6/10) = −26.742 (observed −26.74)
8 minutes 19 seconds on average (499.0 s): 1 astronomical unit is exactly 149,597,870,700 m (IAU 2012) and light travels exactly 299,792,458 m/s. Earth's distance from the Sun varies from about 147.1 to 152.1 million km, so the delay ranges from roughly 8 min 11 s in January to 8 min 27 s in July. Moonlight takes 1.28 s.
Apparent magnitude m is how bright a star looks from Earth; absolute magnitude M is how bright it would look from a standard 10 parsecs (32.6 light-years). The scale runs backwards and is logarithmic: 5 magnitudes is exactly a factor of 100 in brightness, so 1 magnitude is 100^(1/5) ≈ 2.512 times. The Sun is m = −26.74 from Earth but only M = 4.83.
d = 10^((m − M − A + 5)/5) parsecs, the distance modulus solved for d. A star with m − M = 10 and no dust lies at 10³ = 1,000 pc, about 3,262 light-years. Every 5 magnitudes of difference multiplies the distance by 10; Cepheid variables and Type Ia supernovae, whose absolute magnitudes are known, are measured this way.
Use the relativistic Doppler formula, β = ((1 + z)² − 1)/((1 + z)² + 1), then v = βc. At z = 0.1 that gives 28,487 km/s, 5% below the simple estimate cz = 29,979 km/s, and at z = 1 it gives 0.6c, not c. For distant galaxies the redshift is cosmological, so a Hubble-law or ΛCDM calculation replaces this formula.
9,460,730,472,580.8 km, the distance light travels in one Julian year of 365.25 days, as defined by the IAU. A parsec is 3.2616 light-years, or 648,000/π astronomical units (IAU 2015 Resolution B2). Proxima Centauri, the nearest star after the Sun, is 4.2465 light-years away, so its light is 4.25 years old when it arrives.
Accuracy depends on your inputs and the method's assumptions. Decimal arithmetic uses 50 significant digits, but estimates, numerical methods and source data can be less precise; the displayed rounding does not remove those limits. It is checked against 9 worked examples whose answers come from independent sources; for example, “Sunlight takes about 8 min 19 s” is checked against Python 3.8 decimal: 149597870700 m / 299792458 m/s = 499.00478 s (IAU au, exact c).
IAU 2012 B2 (astronomical unit), IAU 2015 B2 (parsec = 648000/π au); c exact (SI); OpenStax Astronomy 2e, §17.1 The brightness of stars (magnitudes) and §19.1 Fundamental measures of distance; OpenStax University Physics Volume 3, §5.7 Doppler effect for light.
9 worked examples with independently sourced answers ship with this calculator. They run in the test suite; you can run them here too.
Orbital velocity and period, escape velocity, surface gravity, your weight on the Moon or Mars, and the gravitational force between two masses.
Convert wavelength to frequency and photon energy, or back, with c = fλ and E = hf, and see where the wave sits in the electromagnetic spectrum.
Half-life calculator: amount left, starting amount, elapsed time or half-life from N = N₀·2^(−t/t½), with carbon-14 and other isotope presets.
Allow optional Google Analytics to measure page visits? Calculators work either way. Privacy and choices
Optional analytics: off.