The cosmic microwave background (CMB) is the faint glow left from the time when the universe became transparent. It is an almost perfect blackbody at 2.7255 K today. Because the universe expands, the radiation cools in a simple way: its temperature is proportional to 1 + z, where z is the redshift. This calculator turns a redshift into the CMB temperature at that time and the related photon density, energy density, peak wavelength and mean photon energy.
How the calculation works
- Temperature T = T₀ × (1 + z), with T₀ = 2.7255 K
- Photon density n = 20.289 × T³ photons per cm³, which scales as (1 + z)³
- Energy density u = a × T⁴, with a = 7.566 × 10⁻¹⁶ J m⁻³ K⁻⁴, which is 0.0047222 × T⁴ in eV/cm³
- Peak wavelength (Wien) λ = 2.8978 mm·K ÷ T
- Mean photon energy ≈ 2.701 k T
Example
At z = 3, the CMB temperature was 10.902 K, or -262.2 °C. Each cubic centimetre held 26,289 photons, compared with 411 today, and the radiation carried 66.707 eV/cm³. The spectrum peaked at 0.266 mm instead of 1.06 mm, and the mean photon energy was 2.537 meV. Gas clouds seen at this redshift have been used to measure the CMB temperature directly from the excitation of molecules.
Why it matters
The prediction T ∝ (1 + z) is a basic test of the Big Bang model with an adiabatic expansion. Measurements of the temperature of distant gas clouds, with molecules like CO or fine-structure lines of carbon, confirm it to a few percent. The CMB at z = 1100 had a temperature near 3000 K, which is when electrons and protons formed atoms and light could travel freely. The radiation was then much more important for the dynamics of the universe than it is now.
Good to know
The photon density and the energy density are for a perfect blackbody with no distortions. The measured spectrum matches a blackbody to better than one part in 10,000. Both quantities rise faster than the temperature: as T³ and T⁴. The numbers do not depend on the matter density or on the Hubble constant. The mean photon energy, about 0.63 meV today, is far lower than the energy of visible light photons, near 2 eV, which is why the CMB is observed with radio receivers.
In practice
Use the tool to compare epochs: set z = 0.5 for a galaxy cluster, z = 7 for an early galaxy, and z = 1100 for the surface of last scattering. For the age of the universe at a given redshift, use the age and lookback time calculator.