Cosmology Suite Calculator
Complete cosmology calculations. Hubble's law, cosmic distances, Big Bang timeline, dark matter/energy, CMB analysis, and black hole physics.
About this calculator
This is a five-mode cosmology toolkit, and each mode runs genuinely different physics rather than one formula with relabeled outputs. The Hubble's Law mode computes recession velocity from redshift (v = cz) and then finds comoving, luminosity, and angular-diameter distances by numerically integrating 1/E(z) — where E(z) = √(Ωm(1+z)³ + ΩΛ) describes how the universe's expansion rate changes with redshift — using Simpson's rule with 1,000 subdivisions rather than a closed-form shortcut, so it stays accurate at redshifts where the simple v = H₀d approximation breaks down. The Big Bang Timeline mode places a given time-since-Big-Bang or scale factor into one of thirteen named cosmic epochs — Planck Epoch, Grand Unification, Inflation, Electroweak Era, Quark Epoch, Hadron Epoch, Lepton Epoch, Nucleosynthesis, Radiation Era, Recombination, Dark Ages, First Stars, and Galaxy Formation Era — and derives temperature from T ∝ 1/a, since the universe's radiation cools as it expands. The Dark Matter & Energy mode sums Ω_baryon + Ω_darkmatter + Ω_Λ to check whether the universe is flat, open, or closed, and computes a deceleration parameter to say whether expansion is accelerating.
The CMB mode applies Wien's law and Planck blackbody physics to the 2.725 K cosmic microwave background to find peak wavelength, photon number density, and our galaxy's velocity relative to the CMB rest frame from the measured dipole. The Black Holes mode computes Schwarzschild and Kerr event horizons, the innermost stable circular orbit, Hawking temperature, and evaporation time from mass and spin alone. Throughout, standard ΛCDM assumptions (flat geometry, H₀ ≈ 70 km/s/Mpc) are the default starting point — swap in Planck (67.4) or SH0ES (73.0) values to see how much the persistent "Hubble tension" moves your answers.
Step 1 of 2
How to Use This Calculator
- Use the Hubble module to enter a redshift (z) and Hubble constant to compute recession velocity and comoving distance.
- Switch to the Composition tab and enter Ω_matter, Ω_dark matter, and Ω_Lambda to see the pie chart of cosmic energy budget and the Universe Fate.
- In the CMB section, input the CMB temperature (2.725 K default) to see peak wavelength (mm) and photon density.
- Use the Black Hole tab to enter black hole mass and spin parameter to compute Schwarzschild radius, Hawking temperature, and ISCO.
- Cross-reference the Universe Age (Gyr) and Matter-Λ Equality redshift outputs to place cosmological events on a timeline.
What each input means
- Calculation Type
- Calculation mode to use.
- Redshift (z)
- Observed redshift of object
- Hubble Constant (km/s/Mpc)
- H₀ ≈ 70 km/s/Mpc
- Time After Big Bang (years)
- Enter time in years
- Scale Factor (a)
- a = 1 today, a = 0 at Big Bang
- CMB Temperature (K)
- Measured: 2.72548 ± 0.00057 K
- Dipole Amplitude (mK)
- Due to Solar System motion
- Fluctuation Level (μK)
- Primary anisotropies
- Black Hole Mass (M☉)
- In solar masses
- Spin Parameter (a/M)
- 0 = Schwarzschild, 1 = extremal Kerr
How this is calculated
Formula
v = H₀d (Hubble) | r_s = 2GM/c² | T_H = ℏc³/(8πGMk_B)Worked example, using the default values
- Identify Input Parameters4 parametersCalculation Type = 0, Redshift (z) = 0.1, Hubble Constant (km/s/Mpc) = 70, Ωm (Matter Density) = 0.3 = 16 input(s) provided
- Calculate Recession VelocityRecession Velocity29979.2458 = 29979.2458
- Calculate Comoving DistanceComoving Distance1.3648144186670264 = 1.3648144186670264
- Calculate Luminosity DistanceLuminosity Distance1.501295860533729 = 1.501295860533729
- Calculate Lookback TimeLookback Time1.3013070119190429 = 1.3013070119190429
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does the Hubble's Law mode integrate 1,000 steps instead of just using v = H₀d directly?
The simple v = H₀d / d = cz form only holds at low redshift, where the universe's expansion rate hasn't changed much since the light was emitted. At higher z the expansion rate E(z) = √(Ωm(1+z)³ + ΩΛ) varies significantly over the light's travel time, so this calculator numerically integrates 1/E(z) with Simpson's rule across 1,000 subdivisions to get an accurate comoving distance instead of relying on the linear shortcut, which would understate distances at larger redshifts.
Why does the Big Bang Timeline mode place my input into a named epoch instead of just returning a number?
The mode checks your entered time-since-Big-Bang against thirteen threshold boundaries — from the Planck Epoch through Galaxy Formation Era — because each era in the standard cosmological model is defined by which physics dominated then, not by a continuous formula. Alongside the epoch name, it still computes a continuous temperature from T ∝ 1/a using your scale factor input, since photon temperature genuinely does scale smoothly with expansion even though the named eras are discrete categories.
How does the Dark Matter & Energy mode decide the universe's ultimate fate?
It sums your three density inputs (Ωb + Ωdm + ΩΛ) into Ωtotal and checks it against 1: with dark energy present and Ωtotal ≥ 1 it reports accelerating expansion, with no dark energy and Ωtotal > 1 it reports a Big Crunch, and with Ωtotal < 1 it reports an open, eternally expanding universe. It also computes a deceleration parameter q₀ = (Ωm+Ωdm)/2 − ΩΛ, where a negative value confirms acceleration is currently underway — matching current cosmological measurements.
In the Black Holes mode, why do event horizon and ISCO change when I add spin?
At zero spin the calculator uses the plain Schwarzschild formulas, but a nonzero spin parameter switches it to the Kerr solution, where r₊ = GM/c² × (1 + √(1 − a²)) shrinks the event horizon compared to a non-spinning hole of the same mass. The innermost stable circular orbit shifts too — the code's iscoFactor ranges continuously from 1 up toward 9 (times GM/c²) depending on spin direction and magnitude, versus the fixed 6× factor used for a non-rotating (Schwarzschild) black hole.
Why do the Hubble constant defaults differ across modes, and does it matter which I use?
All modes default to H₀ ≈ 70 km/s/Mpc, a commonly used round-number value, but real measurements disagree — Planck's cosmic microwave background analysis gives about 67.4, while local supernova-based (SH0ES) measurements give about 73.0. This unresolved gap is the "Hubble tension," and because H₀ appears directly in distance, age, and lookback-time calculations throughout every mode, swapping between these values will meaningfully shift your results, especially at higher redshift.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Stellar Physics Calculator
Complete stellar physics calculations. Analyze luminosity, temperature, nuclear fusion, stellar evolution, black body radiation, and stellar distances.
Astrophysics & AstronomyOrbital Mechanics Calculator
Complete orbital mechanics calculations. Kepler's laws, Hohmann transfers, delta-v, Lagrange points, escape velocities, and relativistic effects.
Astrophysics & AstronomyRedshift Calculator
Calculate cosmological redshift, recessional velocity, distance, and lookback time using Hubble's law.
AstronomyHubble's Law Calculator
Calculate recession velocity and distance from cosmological redshift using Hubble's Law. Includes lookback time, scale factor, and relativistic corrections.
More in Science & Physics.