Compute dn/dM using Press-Schechter or Sheth-Tormen fits. Include growth factor scaling and mass-variance options flexibly. Download CSV or PDF outputs for quick analysis later.
Example outputs for Ωm=0.3, ΩΛ=0.7, h=0.7, σ8=0.8, z=0, n_eff=-2.0, δc=1.686, Sheth-Tormen.
| M [Msun] | dn/dM [1/(Mpc³ Msun)] |
|---|---|
| 1.0e12 | 2.146e-15 |
| 1.0e13 | 2.098e-17 |
| 1.0e14 | 1.494e-19 |
We compute the differential halo mass function as:
dn/dlnM = (ρm,0 / M) · f(ν) · dlnν/dlnM
Using a power-law approximation for the mass variance:
σ(M,0) ≈ σ8 · (M/M8)-α, with α=(n_eff+3)/6 (optional)
Redshift scaling is applied through the linear growth factor:
σ(M,z) = σ(M,0) · D(z), ν = δc / σ(M,z)
For this approximation, dlnν/dlnM = α. Two choices for f(ν) are included: Press-Schechter and Sheth-Tormen.
The halo mass function links the statistics of the primordial density field to the abundance of collapsed dark matter halos. In surveys and simulations, it converts cosmological assumptions into expected counts of galaxy groups and clusters per comoving volume. This calculator focuses on the differential forms dn/dM and dn/dlog10M, which are widely used for comparing across decades in mass.
The central variable is the peak height ν = δc/σ(M,z). Larger ν corresponds to rarer peaks and more massive halos. Here δc is the collapse threshold (often near 1.686), and σ(M,z) is the linear RMS fluctuation on a mass scale. A small increase in ν can strongly suppress high-mass abundances.
The redshift dependence enters through the linear growth factor D(z), with σ(M,z)=σ(M,0)D(z). For typical ΛCDM parameters, D(z) decreases with redshift, increasing ν and reducing halo counts. This is why cluster abundances are sensitive probes of late-time structure growth.
Press-Schechter provides a classic analytic baseline with f(ν) ∝ ν exp(-ν²/2). Sheth-Tormen modifies the exponential tail and adds a correction factor motivated by ellipsoidal collapse. In practice, Sheth-Tormen often predicts more massive halos than Press-Schechter, especially near the exponential cutoff, improving agreement with N-body results in many regimes.
The parameter σ8 normalizes the fluctuation amplitude within spheres of radius 8 h⁻1 Mpc. The tool computes the corresponding mass M8 using the present-day mean matter density ρm,0 = Ωm ρcrit,0, where ρcrit,0 = 2.775×10¹¹ h² Msun/Mpc³. Raising σ8 typically boosts the abundance at fixed mass and redshift.
To keep the calculator fast, the mass variance is approximated as a power law: σ(M,0) ≈ σ8 (M/M8)^(-α). You may set α directly or infer it from an effective spectral index via α=(n_eff+3)/6. More negative n_eff generally yields a smaller α, flattening the mass dependence of σ.
The output dn/dM has units of 1/(Mpc³·Msun) in comoving coordinates. Many analyses prefer dn/dlog10M, which scales by M ln 10 and is convenient for logarithmic mass bins. When comparing to catalogs, match the mass definition used (e.g., overdensity-based masses) and apply consistent binning.
As a diagnostic, vary one parameter at a time. Increasing z should reduce high-mass halos. Increasing σ8 should raise abundances across the range. If results look unstable, narrow the mass range, increase grid points, or choose a more moderate α. The CSV export makes quick comparisons across runs straightforward.
This tool is best for exploratory work, teaching, and rapid sensitivity studies when you need an interpretable mapping from σ8, α, and D(z) to halo counts. For precision cosmology, compute σ(M) from the matter power spectrum with a top-hat filter and use calibrated fitting functions matched to your mass definition.
It is the comoving number density of halos per unit mass interval. Integrating dn/dM over a mass range gives the expected halo count per comoving volume within that range.
At higher redshift the growth factor is smaller, lowering σ(M,z). This increases ν=δc/σ and exponentially suppresses the high-mass tail of the multiplicity function.
Use Sheth-Tormen for a common improved fit to simulations, especially near the massive end. Use Press-Schechter for a simpler baseline or for quick comparisons to classic analytic results.
α controls how quickly σ(M) decreases with mass in the power-law approximation. Larger α makes σ drop faster, increasing ν at high mass and reducing the predicted abundance of massive halos.
It gives number density per logarithmic decade in mass, matching typical catalog binning. It is often easier to plot and compare across wide mass ranges than dn/dM.
They are intended for fast exploration. Precision analyses usually compute σ(M) from a power spectrum and use fitting functions calibrated to the chosen mass definition and redshift range.
Check σ8, α or n_eff, and the mass range. Small changes can shift ν and strongly alter the exponential tail. Also confirm Ωm, h, and δc are within typical cosmological ranges.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.