NFW and Density Profiles of Halos
Every galaxy sits at the bottom of a much larger, invisible gravitational well — a dark-matter halo whose mass outweighs the stars and gas by an order of magnitude and whose structure sets the rotation curve, the lensing signal, and the orbits of satellites. Dark matter is collisionless: it feels only gravity, so its equilibrium is not set by pressure balance but by the collisionless Boltzmann equation, and for realistic cosmological initial conditions that equation has no closed-form solution. One might therefore expect halos to be a zoo of shapes, each remembering the accidents of its own collapse. The great surprise of 1990s computational cosmology was the opposite. When Navarro, Frenk & White followed the gravitational collapse and merging of cold dark matter in large N-body simulations, they found that the spherically-averaged density profiles of the resulting halos were nearly universal. Objects born from wildly different fluctuations, and spanning from dwarf galaxies to the richest clusters — more than five decades in mass — all settle onto one two-parameter curve. That curve, the NFW profile, has an inner cusp where density rises as , an outer skirt falling as , and a single scale radius marking the transition where the logarithmic slope passes through . Universality is what makes the profile powerful: a halo is pinned down by just its virial mass and its concentration . This article develops the NFW form from the collapse physics that produces it, derives its mass, potential, and rotation curve, and confronts its two live tensions — the cuspy centre that clashes with dwarf-galaxy rotation curves, and the Einasto profile that fits the simulations slightly better.
- Cosmological N-body simulations show dark-matter halos across five decades in mass converge on one nearly universal spherically-averaged form — the Navarro–Frenk–White (NFW) profile.
- The profile has an inner cusp , an outer decline , and a scale radius where the logarithmic slope is exactly .
- A halo needs only two numbers: its virial mass and its concentration ; concentration tracks formation epoch, so low-mass halos that assembled early are more concentrated.
- The enclosed mass grows only as , so the total mass diverges logarithmically and the profile must be truncated at a virial radius.
- The rotation curve peaks at a fixed , giving as a concentration-sensitive observable, and the potential is finite at the centre despite the density cusp.
- The cusp clashes with cored dwarf rotation curves (the core–cusp problem), and the Einasto profile with a gently varying slope fits high-resolution halos better.
- Key idea: collisionless gravitational collapse drives halos toward a universal two-parameter profile with an inner cusp and outer fall-off; the scale radius and concentration capture the entire structure.
Collisionless gravitational collapse drives dark-matter halos toward a universal two-parameter profile with an inner cusp and an outer fall-off; a single scale radius and a concentration fix the whole structure.
Where this lives today
The NFW profile is the standard model of the dark sector on halo scales, and it is doing daily work across observational cosmology. Weak-gravitational-lensing surveys — the Dark Energy Survey, KiDS, HSC, and soon Euclid and the Rubin Observatory's LSST — stack the shear signal around clusters and galaxies and fit NFW (or Einasto) profiles to recover and purely from gravity, independent of any baryonic tracer; the resulting mass–concentration relation is a precision test of CDM. In galaxy dynamics, NFW is the dark-halo term fitted jointly with stellar and gas components to rotation curves (via ) and to pressure-supported dwarfs (via the Jeans equations), and the tension it generates — many dwarf and low-surface-brightness galaxies prefer a cored inner profile over the cusp — is one of the sharpest small-scale challenges to cold dark matter, driving both baryonic-feedback models (supernova-driven potential fluctuations that flatten cusps) and alternative microphysics such as self-interacting dark matter. Closer to home, the Milky Way's halo is modelled as NFW to predict satellite orbits, stellar-stream tracks, and the local dark-matter density that sets the expected signal in direct-detection experiments like LZ and XENONnT. And every large cosmological simulation — IllustrisTNG, EAGLE, the FLAMINGO and Millennium suites — is validated in part by checking that its halos reproduce the NFW/Einasto form and its concentration statistics.
The physical picture
Picture dark matter raining into a growing potential well through a hierarchy of mergers: small clumps collapse first, then assemble into larger ones. Material that turns around and collapses early does so from a denser background universe, and it ends up deep inside the halo as a tightly bound core; material accreting later falls in from a diluter cosmos and settles at large radius with lower density. The halo is therefore not a single power law but a graded structure — shallower than isothermal in the middle, steeper than isothermal outside — and the crossover happens at one characteristic radius. The first figure is that structure drawn in the only honest coordinates for a scale-free-looking object, log density against log radius, so the two asymptotic slopes and their pivot become straight lines.
The scale radius is the pivot: inside it the halo is cusp-dominated and the rotation curve is still rising; outside it the halo is envelope-dominated and the enclosed mass creeps up only logarithmically. Because the slope at is exactly — the slope of a singular isothermal sphere — one can read as the radius at which the halo momentarily "looks isothermal" before steepening. Concentration is just the ratio of the outer truncation radius to this pivot: a big number means the truncation radius sits far out on the steep envelope, so most of the mass is packed deep inside. Two halos of identical virial mass but different assembly histories differ only in : the early-forming one has a small , high , and a deeper central potential; the late-forming one is fluffier. The second figure turns this into the observable that a dynamicist actually measures — the circular-velocity curve of a Milky-Way-scale halo.
Two features of that curve encode the whole profile. The peak at is a fixed multiple of the scale radius, so measuring where the rotation curve turns over locates and hence without ever touching the normalization. And the fact that stays large and only gently falling out to hundreds of kiloparsecs — never plunging like a Keplerian — is the dynamical fingerprint of the extended envelope that first announced dark matter through flat galactic rotation curves.
The core equations
The profile itself is the starting point. NFW write the density as a broken power law with one normalization and one length, and everything else — mass, potential, rotation curve, slope — follows by calculus.
where: — spherically-averaged mass density at radius ; — characteristic density normalization, four times the density at ; — scale radius, where the logarithmic slope is ; — radius from the halo centre. Reading it: near the centre () the bracket is and ; far out () the bracket dominates and . Integrating the density over spherical shells gives the enclosed mass. The integral is elementary and produces the signature NFW combination of a logarithm and a rational term.
where: — mass within radius . Reading it: the bracket, call it with , grows like at small (so , and the cusp holds negligible mass) and like at large (so diverges — the halo must be truncated). A halo is normally quoted by its virial mass and concentration rather than by and . The virial radius encloses a mean overdensity times a reference cosmic density, and the concentration is its ratio to the scale radius.
where: — mass within ; — overdensity threshold (commonly 200); — reference density, either the critical density or the mean matter density ; — concentration. Reading it: choosing and turns a mathematically infinite object into a finite halo of definite mass and size. Matching from (2) to the virial mass in (3) fixes the characteristic density purely in terms of the concentration — the single most useful bookkeeping relation for NFW halos.
where: all symbols as above. Reading it: is a pure function of (often written ); a more concentrated halo has a much larger characteristic density — for , gives while gives . Because the mass is analytic, so is the potential from the spherical Poisson equation. The remarkable feature is that it is finite at the centre even though the density diverges there.
where: — gravitational potential; — Newton's constant. Reading it: the cusp is weak enough that faster than diverges, so orbits near the centre feel a finite well, not an infinite spike. Setting gives the rotation curve, whose shape is universal in ; only the amplitude depends on the halo's mass and concentration.
where: — circular speed at radius . Reading it: rises inside , peaks at , and declines slowly outside — the gentle, non-Keplerian fall-off that is the signature of dark halos. The logarithmic slope makes the "runs from to " statement precise and pins the meaning of .
where: — dimensionless radius. Reading it: at the slope is ; at it is exactly ; at it approaches — a single smooth function with no free parameters. High-resolution simulations show a small but systematic improvement if the slope is allowed to vary as a power of radius rather than through the fixed NFW form; this is the Einasto profile, now the standard refinement.
where: — shape index (typically –, mildly mass-dependent); — radius where the slope is ; — density there. Reading it: unlike NFW the Einasto density is finite at the centre (no cusp singularity) and its slope varies continuously, which is what lets it track simulated halos to sub-percent accuracy.
The goal is to integrate the NFW density over spherical shells to obtain the enclosed mass , and in doing so to expose the two behaviours that dominate NFW life: the cusp holds almost no mass, while the envelope holds so much that the total diverges. We non-dimensionalize with , reduce the density integral to a standard rational integral, and read off the small- and large- limits to see why a virial truncation is not optional but forced.
Step 1. Write the mass in shells, , valid for any spherically symmetric distribution because each shell of radius contributes . Why: spherical symmetry lets a three-dimensional integral collapse to one dimension, the only reason NFW admits closed forms at all.
Step 2. Substitute and so , giving . The factor emerges because volume scales as length cubed. Why: pulling out isolates the pure shape integral, which depends only on the dimensionless upper limit .
Step 3. Cancel one power of to reach . Split the integrand as , which integrates term by term to . Why: partial fractions turn an unfamiliar integral into two textbook ones, and the constant of integration is fixed by .
Step 4. Assemble . Expand for small : , so and the cusp is mass-light. Expand for large : the bracket , so logarithmically. Why: the divergence is the whole reason a "halo mass" is meaningless without a radius — one must cut the integral at and quote . *The partial-fraction integral does indeed yield ; the small- expansion gives , confirming , and the large- behaviour grows as , confirming the logarithmic divergence.*
Go deeper · Derivation B · 1 minThe logarithmic slope and the meaning of the scale radius
The goal is to show that the single NFW form contains a slope that slides continuously from at the centre to far out, passing through exactly at one special radius, and that this special radius is precisely . This is what justifies calling "the" scale radius and what lets NFW interpolate between a cusp and a steep envelope without any additional shape parameter. We take the logarithmic derivative of the density and evaluate its limits and its midpoint.
Step 1. Take logs of to get , converting a product into a sum. Why: the logarithmic slope is the natural diagnostic for near-power-law density fields, and logs make the derivative trivial.
Step 2. Differentiate with respect to (equal to up to the constant ): . Why: multiplying by converts an ordinary derivative into a logarithmic one, giving a dimensionless slope directly comparable across radii.
Step 3. Simplify to . As the second term vanishes and the slope (the cusp); as it (the envelope). Why: a single rational expression encodes both asymptotes, which is exactly the universality NFW discovered — no piecewise fitting needed.
Step 4. Evaluate at , i.e. : , the slope of a singular isothermal sphere. Why: this fixes the operational meaning of the scale radius — it is the pivot where the halo transitions from cusp-dominated to envelope-dominated, and where it momentarily mimics the flat-rotation-curve isothermal model. *The slope formula evaluates to at , exactly at , and at , tracing the full progression.*
Go deeper · Derivation C · 1 minConcentration, characteristic density and the virial condition
The goal is to eliminate the abstract normalization in favour of the observable concentration , by demanding that the mean density inside the virial radius equal times the reference density. This turns the two mathematical parameters into the two physical ones that simulations and observations actually report, and it makes explicit that is not a central density but a concentration-dependent bookkeeping constant. We equate the enclosed-mass formula at to the definition of virial mass and solve.
Step 1. Evaluate the enclosed mass at the virial radius using : . Why: the concentration is precisely the upper limit of the shape integral, so all the profile's mass content is now carried by the single function .
Step 2. Set this equal to the virial-mass definition . Why: the virial condition is what closes the system — it says "the halo ends where the mean interior density drops to ", supplying the one extra equation needed to fix .
Step 3. Divide both sides by and cancel: . Why: the shared geometric factor drops out, showing the result cannot depend on the absolute size of the halo — only on the dimensionless .
Step 4. Solve for the characteristic density: . Because grows only logarithmically while grows fast, climbs steeply with concentration — a halo has the characteristic density of a halo. Why: this quantifies "early-forming halos are denser inside"; concentration is a fossil record of the background density at collapse. *The formula evaluates to at , at , and at .*
Limiting cases
The NFW profile is an interpolation between two power laws, so its character is clearest in its asymptotes and in contrast with the models it replaced.
| Case | Result | Meaning |
|---|---|---|
| Inner cusp () | Density diverges but : the cusp is integrable and holds negligible mass. | |
| Outer envelope () | Enclosed mass diverges only as , forcing truncation at a virial radius . | |
| Pivot at scale radius | The halo momentarily matches a singular isothermal sphere; marks cusp-to-envelope crossover. | |
| Rotation-curve peak | Fixed multiple of ; measuring and its radius fixes the concentration. | |
| Singular isothermal sphere (contrast) | Single power law with a flat rotation curve; NFW is shallower inside and steeper outside. | |
| Einasto (refinement) | slope , finite centre | No central singularity; a continuously varying slope fits simulations slightly better. |
Worked examples
1 · A Milky-Way-scale halo from mass and concentration (fully worked)
A halo has and concentration (overdensity relative to ). Take (for ) and . Find , , the characteristic density , and the peak circular velocity .
Step 1. Virial radius from . Solving, .
Step 2. Scale radius from the concentration: .
Step 3. Characteristic density from (4). First . Then , i.e. .
Step 4. Peak circular velocity. The rotation curve peaks at kpc, where the enclosed mass is with . Numerically , so . Then . For comparison the velocity at the virial radius is km/s, so — a ratio set entirely by concentration. A , halo has kpc, kpc, , and km/s at kpc — matching the Milky Way's dark halo.
2 · Why the rotation curve peaks at 2.163 r_s
Show that the NFW circular velocity is maximized at a fixed dimensionless radius, independent of halo mass or normalization, and locate it.
Step 1. From (6), with ; the prefactor is a constant that cannot move the maximum. So the peak location depends on the shape function alone — it is universal.
Step 2. Set , which gives . Differentiating , one finds the tidy result .
Step 3. Substitute to get the transcendental condition . This has no closed-form root; solving numerically gives .
Step 4. Interpret: because is fixed, the observed radius of the rotation-curve peak directly measures , and combined with (from the total mass) it yields the concentration . This is why and are the workhorse observables for characterizing simulated and real halos alike. The NFW rotation curve always peaks at , making a normalization-free concentration diagnostic.
Physics of the portrait
The NFW profile is unusual among the "named equations" of physics: it was not derived from a theory but discovered in a computer, an emergent regularity of nonlinear gravitational collapse that no one had predicted and that still lacks a complete first-principles explanation.
Origins · 1 minnavarro-frenk-white profile and how this was discovered
Going further
Texts. Binney & Tremaine, Galactic Dynamics, 2nd ed., §2.2 (spherical potentials) and §4.3 (equilibria) · Mo, van den Bosch & White, Galaxy Formation and Evolution, Ch. 7 (structure formation) and Ch. 11 (halo structure) · Carroll & Ostlie, An Introduction to Modern Astrophysics, galaxies and dark-matter chapters · Dodelson, Modern Cosmology, nonlinear structure and halos · Navarro, Frenk & White, ApJ 462 (1996) and 490 (1997) — the original papers. The key analytic results are: the enclosed-mass integral ; the potential at the centre ; the slope running with its pivot at ; the rotation-curve peak condition yielding ; and the worked halo: , gives kpc, kpc, , km/s. Concentration ranges, the mass–concentration relation, the core–cusp problem, and the Einasto improvement are qualitative summaries from the simulation literature; no non-standard numbers are asserted.
Prerequisites. Gravitational N-Body Problem · Collisionless Boltzmann Equation · Virial Theorem in Stellar Systems · Jeans Equations. Leads to. Galactic Potential Models · Orbits in Spherical Potentials · Jeans Theorem.
Ask the tutor: Ask me to fit an NFW profile to a rotation curve you have, convert between and , or work through why baryonic feedback might turn a cusp into a core.
Is the NFW profile derived from theory or just fitted to simulations?
Fitted — and that is the remarkable part. NFW is an empirical regularity: Navarro, Frenk & White ran N-body simulations of hierarchical collapse and found that the relaxed halos all followed the same two-parameter curve, across more than five decades in mass. There is still no complete first-principles derivation of why gravitational collapse produces exactly an inner cusp and an outer slope; partial arguments invoke violent relaxation, the shape of the initial power spectrum, and the mixing of material accreted at different epochs. This is unusual for a "textbook" formula, and it is why the profile is quoted as a fitting function with acknowledged residuals rather than as a law — and why the Einasto refinement, also empirical, is now often preferred.
What is concentration, and why do small halos have more of it?
Concentration is , the ratio of the virial radius to the scale radius — a measure of how centrally packed a halo is. Simulations reveal a mass–concentration relation: lower-mass halos have higher (typically –15 for galaxies, falling to –5 for massive clusters). The physical reason is timing. Low-mass halos collapse earlier, when the mean density of the universe was higher, so their inner regions inherit that higher density and end up with a small relative to . Massive clusters are still assembling today, from a diluter universe, so they are fluffier. Concentration is thus a fossil of a halo's formation epoch, and the relation is a genuine prediction of CDM that lensing and dynamics test directly.
What is the core–cusp problem?
NFW predicts an inner density cusp, , so the rotation curve should rise steeply near the centre. But many dwarf and low-surface-brightness galaxies show rotation curves that rise gently, consistent with a constant-density core instead. This mismatch is the core–cusp problem, one of the main small-scale tensions of cold dark matter. There are two broad resolutions. Baryonic feedback: repeated gas inflows and supernova-driven outflows make the central potential fluctuate, dynamically heating the dark matter and flattening the cusp into a core — this works well in simulations of gas-rich dwarfs. Or new physics: self-interacting dark matter would thermalize the centre and naturally produce a core. Distinguishing them is an active observational program, since the very faintest dwarfs, with little gas, should retain cusps if feedback is the answer.
Why does the density diverge at the centre but the mass and potential stay finite?
Because the cusp is gentle. The density goes as , which does blow up at , but the mass in a thin shell scales as , so the enclosed mass vanishes at the centre — the singular point contains no mass. The potential then approaches the finite value . Contrast this with steeper cusps: a slope of (isothermal) still gives finite central potential but a divergent central density, while a slope steeper than would make even the enclosed mass diverge at the centre. NFW's is comfortably in the integrable regime, so orbits through the centre are perfectly well-behaved.
When should I use Einasto instead of NFW?
Use Einasto when you need sub-percent accuracy against high-resolution simulations, or when the inner structure matters and you want to avoid the hard cusp. The Einasto profile replaces NFW's fixed slopes with a slope that varies as a power of radius, , adding one shape parameter (typically –, mildly increasing with halo mass). It has a finite central density (no singularity) and fits relaxed simulated halos noticeably better, especially in the inner regions and the transition zone. For most analytic work, order-of-magnitude estimates, and lensing/dynamics fits where two parameters suffice, NFW remains the default — it has closed-form mass, potential, and rotation curve, whereas Einasto's mass involves the incomplete gamma function. In short: NFW for tractability, Einasto for fidelity.
Does the "200" in M₂₀₀ and r₂₀₀ mean anything physical, or is it a convention?
It is a convention with a loose physical motivation. The virial radius is defined as the radius inside which the mean density equals times a reference cosmic density, and is a common choice because the spherical-collapse model predicts a virialized overdensity of roughly (often rounded to 200) relative to the critical density in an Einstein–de Sitter universe. But the choice is not unique: people also use (better matched to X-ray-observable regions of clusters), relative to the mean matter density, or a redshift-dependent from the full collapse calculation. Because , , and even all shift with the choice, you must always state which and which reference density you mean — comparing an to an without conversion is a common and avoidable error.