PPolySim OS

Hubble's Law & Redshift

The discovery that rewrote cosmology: distant galaxies rush away faster the farther they are. That simple line, v = H₀·d, is the expanding universe.

Hubble's Law & RedshiftLive

Controls

Presets

Every distant galaxy recedes at a velocity proportional to its distance: v = H₀·d. This uniform expansion is the same seen from any galaxy — there is no center. The inverse of H₀ gives the Hubble time, a rough estimate of the age of the universe.

▶ Run in Python

Data Inspector

H₀70 km/s/Mpc
Hubble time14.0 Gyr
v at 100 Mpc7,000 km/s

Governing equation

Reading this result: Right in the Hubble-tension zone: this H₀ gives a Hubble time of 14.0 Gyr, close to the measured 13.8-Gyr age of the universe.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

Hubble's law states recession velocity is proportional to distance, with the Hubble constant H₀ as the slope. The expansion looks the same from every galaxy, so there is no center. The reciprocal of H₀ is the Hubble time, a first estimate of the age of the universe.

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Astronomy simulations

Frequently asked questions

Is this Hubble's law expanding universe tool really free?
Yes. Hubble's Law & Redshift runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.