Sunyaev–Zeldovich y Parameter Calculator
The Thermal Sunyaev–Zeldovich Effect in Galaxy Clusters
The thermal Sunyaev–Zeldovich (SZ) effect describes how CMB photons are nudged by hot cluster electrons, turning electron pressure into a tiny but measurable distortion along the line of sight. In the simple slab model used here, the effect is summarized by the dimensionless Compton y parameter, which integrates density, temperature, and depth into one pressure-weighted number.
This calculator provides a fast thermal SZ check for that slab model. Enter an electron density, an electron temperature, and a path length, and it returns y, τ, and an approximate Rayleigh–Jeans CMB temperature shift. That makes it handy for quick cluster estimates, classroom demonstrations, and sanity-checking pressure numbers before moving to a more detailed analysis.
Introduction to the Sunyaev–Zeldovich y Parameter
In a Sunyaev–Zeldovich estimate, the electron temperature sets how much energy a CMB photon can gain from the hot intracluster gas. When the electrons are several keV hot, each scattering slightly boosts the photon energy, producing a decrement at low frequencies and an increment at high frequencies. In the Rayleigh–Jeans limit, the brightness-temperature change is approximately proportional to −2y, which is why this calculator reports a negative ΔT for positive pressure.
The practical value of the SZ effect in astronomy comes from the fact that it traces integrated pressure rather than emitted light. Ordinary surface brightness dims rapidly with distance, but the SZ signal is not suppressed in the same way, so clusters can remain detectable over a wide redshift range. That is why the effect is used for cluster finding, pressure profiling, baryon accounting, and cross-checks against X-ray or lensing measurements.
For a uniform slab of plasma with electron density ne, temperature Te, and physical depth L, the classical expression for y is
Each factor in the formula has a direct Sunyaev–Zeldovich meaning. The Thomson cross section σT sets the scattering probability, the thermal factor kBTe sets the average electron energy available to transfer, and the product neL turns those local plasma properties into a line-of-sight column. The denominator mec² scales the result to the electron rest energy, which is why y stays tiny even in very hot cluster gas.
How to Use This Sunyaev–Zeldovich Calculator
Using this Sunyaev–Zeldovich calculator starts with three cluster-plasma inputs. The first field is the electron density ne in cm⁻³, meaning the number of free electrons per cubic centimeter. In cluster outskirts the value may be low, while denser central regions and compact substructures can be much higher. The second field is the electron temperature Te in keV, the energy scale commonly quoted for hot X-ray gas. The third field is the path length L in kiloparsecs, which represents the effective thickness of the plasma along the line of sight.
After you compute, the page converts density, temperature, and distance into SI units and evaluates the thermal SZ expressions. Because y and τ scale linearly with the inputs, it is easy to judge how the signal changes: doubling density doubles both y and τ, doubling temperature doubles y but leaves τ unchanged, and doubling path length increases both again. That linear behavior is one reason the calculator works well for back-of-the-envelope cluster estimates.
When interpreting the result, remember that y is dimensionless and usually very small, τ is also dimensionless and usually far below one for optically thin cluster gas, and ΔT is the Rayleigh–Jeans brightness-temperature shift in kelvin. A negative ΔT means the CMB looks slightly colder at low frequencies after passing through the hot plasma. If you are comparing two regions of the same cluster, y is the quantity that most directly tracks the integrated thermal pressure.
Formula for the Thermal Sunyaev–Zeldovich Signal
This Sunyaev–Zeldovich calculator uses the standard non-relativistic thermal approximation. The code computes
and also computes the Thomson optical depth
followed by the Rayleigh–Jeans temperature relation
with TCMB taken to be 2.725 K. In this model the displayed temperature shift is
The approximation keeps the calculation transparent by treating the gas as uniform, non-relativistic, and optically thin. It is a good first estimate for a hot cluster or intracluster filament, but it does not attempt to model frequency-dependent corrections, radial gradients, or the distinction between the thermal and kinetic SZ terms.
The calculator also reports τ = neσTL so you can compare the scattering depth with the pressure-weighted y value. In practice, τ tells you how often photons are likely to interact along the path, while y tells you how much energy those interactions transfer on average. Seeing both values together helps you judge whether the plasma is weakly or moderately scattering.
The unit conversions happen internally: cm⁻³ becomes m⁻³, keV becomes joules via kBT, and kpc becomes meters. That conversion chain matters because the thermal SZ signal depends on the physical column density and electron energy, not on the astronomy-friendly units people usually jot into a notebook. After conversion, the result is returned in scientific notation so extremely small distortions remain readable.
Example: A Simple Galaxy-Cluster Slab
A useful Sunyaev–Zeldovich example is a cluster atmosphere with electron density 1×10⁻³ cm⁻³, electron temperature 5 keV, and path length 500 kpc. These are reasonable order-of-magnitude values for hot intracluster gas. Entering those numbers into the calculator gives a Compton y of about 3.2×10⁻⁵. The corresponding optical depth is small, confirming that the plasma is optically thin to Thomson scattering. The Rayleigh–Jeans temperature shift is about −0.00017 K, or roughly −0.17 mK. That may sound tiny, but modern CMB instruments are designed to detect signals at this level.
This example also shows how to think about scaling. If the same gas were twice as hot, the optical depth would stay the same because the number of electrons and the path length would be unchanged, but the Compton y value would double because the pressure doubled. If instead the density were five times larger while the temperature stayed fixed, both y and τ would increase by a factor of five. These simple proportionalities are one reason the thermal SZ effect is so useful as a pressure probe.
To illustrate typical numbers encountered in cluster astrophysics, the table below provides examples for idealized plasma slabs. These show how modest changes in electron pressure move the y parameter by orders of magnitude:
| ne (cm⁻³) | Te (keV) | L (kpc) | y | ΔT (mK) |
|---|---|---|---|---|
| 1×10⁻³ | 5 | 500 | 3.2×10⁻⁵ | −0.17 |
| 5×10⁻³ | 8 | 1000 | 2.1×10⁻⁴ | −1.14 |
| 1×10⁻⁴ | 10 | 1500 | 8.0×10⁻⁶ | −0.04 |
Though the table lists idealized uniform slabs, real clusters exhibit radial gradients and substructure. Observers often combine resolved SZ maps with X-ray measurements to infer three-dimensional pressure distributions. Those reconstructions support studies of cluster scaling relations, baryon content, feedback from active galactic nuclei, and the thermodynamic history of the intracluster medium. Because the SZ signal remains observable at high redshift, surveys such as ACT, SPT, and Planck have discovered large cluster samples that are valuable for cosmology.
Limitations and Assumptions of the y-Parameter Model
This Sunyaev–Zeldovich y parameter calculator intentionally uses a simplified physical model. The first limitation is the assumption of a uniform slab. Real galaxy clusters are not uniform: density and temperature vary with radius, shocks can heat localized regions, and mergers can create strong asymmetries. A single density, temperature, and path length therefore represent an effective average rather than a full physical description. The result is best interpreted as an order-of-magnitude estimate or a pedagogical approximation.
The second limitation is the use of the non-relativistic thermal SZ formula. Relativistic corrections become increasingly important when the electron temperature reaches the high-keV regime, especially in very hot or merging clusters. Those corrections alter the detailed frequency dependence of the SZ spectrum and can shift the inferred signal if high precision is required. This page does not include those refinements, so users doing precision analysis should treat the output as a baseline estimate rather than a final observational model.
A third limitation is that the displayed temperature shift uses the Rayleigh–Jeans approximation. That relation is appropriate at low observing frequencies, but the full thermal SZ effect is frequency dependent and crosses through a null near 217 GHz in the non-relativistic limit. Above that frequency the sign of the thermal distortion changes. Therefore, the reported ΔT should be read specifically as a low-frequency brightness-temperature approximation, not as a universal temperature shift at every observing band.
There are also physical effects beyond the thermal SZ signal. The kinetic SZ effect arises from the bulk motion of the plasma relative to the CMB rest frame and depends on line-of-sight velocity rather than temperature. Non-thermal electron populations, magnetic fields, clumping, and projection effects can further complicate interpretation. None of those are included here. Even with those caveats, the calculator remains useful because it captures the leading dependence of the thermal SZ signal on electron pressure and optical depth.
Relativistic corrections become non-negligible when kBTe approaches tens of keV. They modify the spectral shape of the SZ effect and must be accounted for in high-precision work, particularly for merging clusters with shock-heated gas. Our calculator does not include these corrections, but the output y still conveys the integrated pressure regardless of electron rest frame velocity, making it a useful quick-look diagnostic.
Beyond clusters, the SZ effect reveals the broader cosmic web. The warm-hot intergalactic medium predicted by cosmological simulations should produce faint y signatures at the level of 10⁻⁷–10⁻⁶. Detecting this diffuse component requires stacking observations of many large-scale structures or performing cross-correlations with galaxy surveys. Future experiments like CMB-S4 and space missions dedicated to spectral distortions may map this low-level signal, helping to resolve the long-standing missing baryon problem.
From a theoretical perspective, the SZ effect can be derived by solving the Kompaneets equation, a Fokker-Planck approximation to the Boltzmann equation for Compton scattering. The differential form of the Kompaneets equation is
where x = hν / (kBTe) is the dimensionless photon frequency and n is the occupation number. Integrating this equation along a line of sight under the assumption of small energy exchange per scattering yields the y parameter. Although solving the full equation is beyond the scope of this web tool, mentioning it underscores the kinetic theory underpinning the deceptively simple y formula.
Importantly, the SZ effect allows direct measurements of the Hubble constant when combined with X-ray data. The combination yields the angular diameter distance to a cluster without relying on intermediate standard candles. Such geometric determinations help resolve tensions among various cosmological measurements. Additionally, the kinetic SZ effect—arising from the bulk motion of clusters relative to the CMB rest frame—offers a way to map large-scale velocity fields, potentially constraining dark energy and modifications to gravity.
Technological advances are rapidly improving SZ observations. Multi-band imagers can separate the thermal, kinetic, and relativistic components of the effect. Interferometers deliver arcsecond resolution, revealing subcluster merger shocks and turbulence. Polarization measurements, though challenging, could someday map transverse cluster motions. As data quality rises, accurate modeling of relativistic corrections and feedback processes becomes essential to avoid biases in cosmological inference.
The SZ effect also has applications in fundamental physics. Because it probes the hot electron content of clusters independent of redshift, comparisons between SZ and gravitational lensing masses test the validity of hydrostatic equilibrium and thereby inform theories of modified gravity. Constraints on the integrated y signal across the sky, often called the Compton y background, set limits on energy injection from early universe processes such as primordial black hole evaporation or dark matter annihilation.
In summary, the Sunyaev–Zeldovich effect transforms the cosmic microwave background into a backlight for the hot universe. By entering densities, temperatures, and path lengths into this calculator, you can quickly estimate the Compton y parameter, optical depth, and resulting low-frequency brightness temperature decrement. These quantities are small, but they connect directly to cluster pressure, scattering probability, and observable CMB distortions. That makes the calculator a practical bridge between basic plasma properties and one of the most important probes of hot gas in modern cosmology.
