Skip to content
Omnikalc

CMB temperature calculator: how hot was the cosmic microwave background at redshift z?

Enter a redshift to get the temperature of the cosmic microwave background, its photon density, energy density, peak wavelength and mean photon energy at that time.

Updated on
Your inputs

Value out of range

K

Value out of range

Results

Temperature of the CMB at that redshift

10.902 K

Photon density

26,289 cm⁻³

Same temperature in degrees Celsius
-262.2 °C
Energy density of the radiation
66.707 eV/cm³
Wavelength of the peak of the spectrum
0.266 mm
Mean photon energy
2.537 meV

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.

Frequently asked questions

How does the CMB temperature change with redshift?

It rises in proportion to 1 + z: T = 2.7255 K × (1 + z). At z = 1, the CMB was twice as hot as today.

What was the temperature of the CMB when it was released?

About 3000 K, at a redshift near 1100. That is when hydrogen became neutral and the universe turned transparent.

Why does the photon density change as T cubed?

Photon numbers are conserved as the universe expands, so the density falls as the volume grows, and the temperature falls as the size grows. In terms of temperature, n ∝ T³.

Is the CMB temperature at high z measured?

Yes, in some distant gas clouds, from the excitation of molecules and atoms by the CMB. The results agree with T₀ × (1 + z).

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.