Olbers Paradox Calculator - Why the Night Sky Is Dark
The olbers paradox calculator compares four models for light reaching Earth - an infinite static sky, dust dimming, a finite universe, and cosmic expansion.
Olbers Paradox Calculator
Results
What Is the Olbers Paradox Calculator?
The olbers paradox calculator compares four models for the total light that should arrive at Earth, then shows which ones predict a bright sky and which keep it dark. Instead of leaving the famous puzzle as an abstract question, it turns each resolution into a number you can vary and inspect.
- • Students: Students checking why an infinite static universe predicts a blinding sky.
- • Astronomy hobbyists: Astronomy hobbyists exploring how star density and luminosity drive the result.
- • Teachers: Teachers showing how dust, finite size, and expansion each resolve the paradox.
- • The curious: Anyone curious why the night sky is dark rather than lit by distant stars.
The puzzle was popularised by Heinrich Olbers in 1823, though earlier writers such as Kepler and Halley had already noticed the conflict. Under the old picture of an eternal, infinite, unchanging universe filled evenly with stars, every direction you look should eventually land on a star surface. A sky covered by stellar surfaces should be about as bright as the Sun everywhere, day and night.
Our actual sky is mostly black with a few thousand faint stars and a dark background. That mismatch is the paradox. The calculator lets you reproduce the static-universe prediction and then relax one assumption at a time to see which change makes the prediction agree with the dark sky we see.
Just as the distance to horizon calculator limits what you can see on Earth, the observable radius in this model limits how many star shells can send light our way.
How the Olbers Paradox Calculator Works
- L: Mean luminosity of one star in watts.
- n0: Number density of stars in stars per cubic light-year.
- R: Mean stellar radius in the finite-universe model, or the limiting radius in the static integral.
- f: Total flux reaching the observer in W/m^2.
For an infinite static universe the tool adds the light from every spherical shell of stars. A shell at distance r holds n0 multiplied by 4 pi r squared dr stars, and each star contributes L over 4 pi r squared of flux. The r squared terms cancel, so every shell adds the same amount of light, L times n0 times dr, no matter how far away it sits.
Integrating that shell-by-shell sum from the observer out to a radius R gives the static total flux f = (L x n0 x R) / 4. If R is allowed to grow without bound the integral diverges, which is the mathematical form of the paradox: a blinding sky. The other three models cap the sum in different ways.
Model 1 lets interstellar dust and gas absorb light with an extinction coefficient c0, which makes the total flux finite and equal to n0 times L divided by c0. Model 2 treats the universe as finite, giving an average spacing between stars of 1 over (pi times n0 times R squared). Model 3 replaces the static universe with an expanding one, where the total flux becomes n0 times L times (c / H0) times (2 ln 2 minus 1).
Default expanding-universe check
Use L = 3.828 x 10^26 W (one Sun), n0 = 1 x 10^-10 stars per cubic light-year, and H0 = 70 km/s/Mpc.
Convert n0 to SI, then compute f = n0 x L x (c / H0) x (2 ln 2 - 1) where c is the speed of light.
f = 2.31 x 10^-6 W/m^2, far below a stellar surface and consistent with a dark sky.
The finite Hubble radius keeps the integrated starlight small, which is why the expanded model matches the observed dark sky.
According to Wikipedia: Olbers's paradox, Wikipedia's Olbers's paradox article shows that each shell of a given thickness produces the same net amount of light, so stacking infinitely many shells predicts an infinitely bright sky.
Because the expansion of space is the main reason the paradox fails, the Hubble's law calculator shows how recession speed grows with distance and stretches starlight to longer wavelengths.
Key Concepts Explained
Four ideas carry the whole calculation, and each one maps to a switch you can flip in the tool.
Shell contribution
A spherical shell at distance r holds n0 x 4(pi)r^2 dr stars. Each star sends L / (4(pi)r^2) flux, so the r^2 terms cancel and every shell adds L x n0 dr. The distance never appears, which is the heart of the paradox.
Solid-angle factor
Stars radiate in all directions, so only 1/4 of the emitted power lands on a flat receiver when averaged over the sky. This 1/4 sets the final static flux as (L x n0 x R) / 4.
Mean star spacing
In a finite universe the average distance between stars is d = 1 / (pi x n0 x R^2), where R is the stellar radius. If d is smaller than R the stars would overlap and tile the sky; for realistic densities d is far larger, so most lines of sight miss stars entirely.
Expanding universe
With expansion the total flux becomes n0 x L x (c / H0) x (2 ln 2 - 1). The c over H0 term is the Hubble radius, the distance light could travel since the Big Bang.
The luminosity calculator turns a star temperature and radius into the mean luminosity L this model needs for each shell.
How to Use This Calculator
The olbers paradox calculator is driven by one dropdown and five physical inputs, and every output updates as you type.
- 1 Pick a model: Pick a model from the dropdown to choose which resolution you want to inspect.
- 2 Enter luminosity: Enter the mean star luminosity L in watts; the Sun is 3.828 x 10^26 W.
- 3 Enter density: Enter the star density n0 in stars per cubic light-year; the default 1 x 10^-10 is a typical galactic value.
- 4 Set model inputs: For model 1 set the extinction c0, for model 2 set the star radius R, and for model 3 set the Hubble constant H0.
- 5 Read the result: Read the selected model total flux, and compare it with the other three results shown alongside it.
- 6 Sweep the expansion: For the expansion case, raise H0 to shrink the Hubble radius and watch the sky dim.
With L = 3.828e26 W, n0 = 1e-10 stars/ly^3, and H0 = 70 km/s/Mpc, the expanding model returns f = 2.31 x 10^-6 W/m^2, a small finite flux that keeps the sky dark.
The same expansion that resolves the paradox also shifts ancient photons, so the redshift calculator quantifies how much their energy drops before reaching us.
Benefits of Using This Calculator
The value of the olbers paradox calculator is less in any single number and more in seeing the four explanations side by side.
- • Benefit: Turns an abstract paradox into numbers you can vary and compare, rather than a sentence you take on faith.
- • Benefit: Shows directly how luminosity, density, extinction, and expansion each change the sky brightness.
- • Benefit: Makes the finite-age and finite-size resolutions concrete by bounding the radius and spacing.
- • Benefit: Pairs with expansion tools to explain why the real sky stays dark, linking the static formula to the dynamic cosmos we measure.
- • Benefit: Gives students a quick check for cosmology homework and a starting point for deeper questions about structure formation.
A truly bright static sky would glow like a hot surface, and the blackbody radiation calculator shows how that flux translates into a temperature and color.
Factors That Affect Your Results
Four inputs move the answer, and two modelling simplifications set its limits.
Star luminosity L
Brighter stars raise the flux linearly in every model; swapping the Sun for a massive O star increases the result by the luminosity ratio.
Star density n0
Denser space means more shells per volume and closer stars, so doubling n0 doubles the flux in models 1 and 3 and shrinks the mean spacing in model 2.
Extinction c0
In the dust model, larger c0 absorbs light faster and drives the total flux down toward zero. A truly bright static sky assumes c0 is exactly zero, the physically unrealistic case the paradox depends on.
Hubble constant H0
For the expanding model the flux scales as 1/H0, so a faster expansion shrinks the Hubble radius and dims the sky.
- • The model assumes a single mean luminosity and ignores the real mix of dim and bright stars.
- • It treats expansion simply and does not include star formation history or the cosmic microwave background.
According to NASA: James Webb Space Telescope, NASA's cosmology overview notes that the expansion of the universe stretches ancient starlight to lower-energy wavelengths, dimming the distant sky.
According to Wikipedia: Age of the universe, Wikipedia's Age of the universe article gives the 13.8 billion year age that bounds the radius of space we can observe.
For a sense of the scales involved, the escape velocity calculator connects the same distances and masses to how fast objects must move to leave a body.
Frequently Asked Questions
Q: What is Olbers' paradox?
A: Olbers' paradox asks why the night sky is dark if the universe is infinite, static, and uniformly filled with stars. In that model every line of sight should eventually end on a star, so the whole sky should glow as brightly as a stellar surface. The darkness we observe contradicts those assumptions, and resolving it was one of the first hints that the universe is neither infinitely old nor static.
Q: What is the formula for total sky brightness in Olbers' paradox?
A: Add the light from every spherical shell of stars: a shell at distance r holds n0 times 4 pi r squared dr stars, and each contributes L over 4 pi r squared flux, so the r squared terms cancel and every shell adds L times n0 dr. Integrating from the observer out to a radius R gives the static total flux f = (L x n0 x R) / 4. If R is unbounded the integral diverges and the sky should be blindingly bright.
Q: What assumptions make the night sky bright in the paradox?
A: The paradox assumes a static universe with no beginning, an infinite number of stars, a uniform star density, and no absorption of light by dust or gas. Under those conditions the number of stars in a shell grows with the square of distance while each star's light fades with the same square, so every shell adds the same net brightness and an infinite stack gives infinite brightness.
Q: Why is the night sky actually dark?
A: The real universe is neither infinitely old nor static. Light from the most distant regions has not had time to reach us, and the expansion of space stretches that ancient light to lower energies. Together these remove the most distant shells and dim the rest, so the total flux stays finite and small instead of piling up without limit.
Q: How does the finite age of the universe resolve Olbers' paradox?
A: Because the universe is about 13.8 billion years old, we can only receive light from within the light-travel distance of that time. That bounds the radius R in the integral, so the sum of shells is finite. The finite-universe and finite-age arguments both put a cap on R, which is enough on its own to keep the integrated sky brightness from diverging.
Q: How does cosmic expansion resolve Olbers' paradox?
A: As space expands, distant sources recede and the light they emitted is redshifted to longer, lower-energy wavelengths and arrives more sparsely. In the simple model the total flux becomes n0 times L times (c / H0) times (2 ln 2 minus 1), where H0 is the Hubble constant. The c over H0 distance is the Hubble radius, so a faster expansion (larger H0) yields a smaller, darker sky.