Jeans Length Calculator

Jeans length0.214 pc
Sound speed189 m/s
Jeans mass2.91 solar masses
Free-fall time338.42 thousand years
Cloud density3.87 x 10^-17 kg/m3
How this was calculated
  1. The number density 10,000 per cm3 at a mean molecular weight of 2.33 gives a mass density of 3.87 x 10^-17 kg/m3.
  2. The isothermal sound speed is cs = sqrt(kT / (mu mH)) = 189 m/s at 10 K - pressure support travels no faster than this.
  3. The Jeans length balances that support against gravity: lambdaJ = cs x sqrt(pi / (G rho)) = 0.214 pc.
  4. A sphere one Jeans length across holds a Jeans mass of 2.91 solar masses; clouds heavier than this at this temperature collapse to form stars.

The Jeans Length Calculator tells you the smallest size a cloud of gas can have and still collapse under its own gravity. You enter the gas temperature, its density, and the mean molecular weight, and the tool returns the Jeans length lambdaJ = cs x sqrt(pi / (G rho)), using the isothermal sound speed cs = sqrt(kT / (mu mH)). A cloud larger and heavier than the Jeans values collapses; a smaller one is held up by its own pressure. The calculator works in the units astronomers actually use, so you can go from a temperature and a number density straight to a length in parsecs. For example, a cold molecular cloud core at 10 K with number density 10^4 per cm3 and mu = 2.33 has a density of 3.87 x 10^-17 kg/m3 and a sound speed of 189 m/s, giving a Jeans length of 0.214 pc and a Jeans mass of 2.91 solar masses, with a free-fall time of about 338 thousand years.

This is the standard method because it follows directly from balancing thermal pressure against gravity in a uniform, isothermal cloud, the textbook starting point for star formation. The scaling makes physical sense: the Jeans mass goes as T^(3/2) / sqrt(rho), so heating a cloud or rarefying it both raise the mass needed for collapse. That is why cold dense cores are where stars form, while warm diffuse gas resists collapse on much larger scales: a warm atomic cloud at 100 K, 100 particles per cm3 and mu = 1.4 reaches a Jeans length of 11.238 pc and a Jeans mass of 2,552.64 solar masses. The page shows the formula, step-by-step workings, worked examples and sources, so you can check every number yourself.

Worked examples

Cold molecular cloud core

(Number density · 10 K · 10000 per cm3 · 1e-18 kg/m3 · 2.33)

Jeans length0.214 pc
Sound speed189 m/s
Jeans mass2.91 solar masses
Free-fall time338.42 thousand years
Cloud density3.87 x 10^-17 kg/m3

Dense gas given by mass density

(Mass density · 20 K · 10000 per cm3 · 1e-18 kg/m3 · 2.33)

Jeans length1.878 pc
Sound speed267 m/s
Jeans mass51.27 solar masses
Free-fall time2,105.06 thousand years
Cloud density1 x 10^-18 kg/m3

Warm atomic cloud

(Number density · 100 K · 100 per cm3 · 1e-18 kg/m3 · 1.4)

Jeans length11.238 pc
Sound speed771 m/s
Jeans mass2,552.64 solar masses
Free-fall time4,365.91 thousand years
Cloud density2.32 x 10^-19 kg/m3

The Jeans instability in one equation

The Jeans length is written as lambdaJ = cs x sqrt(pi / (G rho)), where cs is the isothermal sound speed, G is the gravitational constant, and rho is the gas density. The formula describes a race between two timescales. Pressure tries to spread the cloud out, and its influence travels at the sound speed cs. Gravity tries to pull the cloud in, acting on the free-fall time. When the cloud is small, sound crosses it quickly and pressure wins. When the cloud is large, gravity wins. The dividing size is the Jeans length, and that is exactly what a jeans length calculator returns from temperature, density, and mean molecular weight.

The sound speed itself comes from the gas temperature: cs = sqrt(kT / (mu mH)), with k the Boltzmann constant, T the temperature, mu the mean molecular weight, and mH the mass of a hydrogen atom. Because cs rises with temperature, warmer gas has a faster pressure response and a larger Jeans length. Density enters the denominator under the square root, so denser gas has a smaller Jeans length. The Jeans mass is the mass inside a sphere of radius equal to the Jeans length, so it follows the same competition and scales as T^(3/2) / sqrt(rho).

The worked numbers show how sharply the outcome depends on the environment. A cold molecular cloud core at 10 K with a number density of 10^4 per cm3 and mu = 2.33 has a density of 3.87 x 10^-17 kg/m3 and a sound speed of 189 m/s. Its Jeans length is 0.214 pc and its Jeans mass is 2.91 solar masses, with a free-fall time of about 338 thousand years. Take gas at a mass density of 10^-18 kg/m3 and 20 K, and the Jeans length grows to 1.878 pc while the Jeans mass reaches 51.27 solar masses. A warm atomic cloud at 100 K, 100 particles per cm3 and mu = 1.4 gives a Jeans length of 11.238 pc and a Jeans mass of 2,552.64 solar masses. Warm diffuse gas resists collapse on much larger scales.

The scaling T^(3/2) / sqrt(rho) explains why heating a cloud or rarefying it both raise the mass needed for collapse. Cold, dense cores are therefore where stars form: they combine low temperature and high density, so both the Jeans length and the Jeans mass are small. A cloud larger and heavier than the Jeans values collapses under its own gravity.

Jeans length: lambdaJ = cs x sqrt(pi / (G rho)). Jeans mass: the mass inside a sphere of that radius, scaling as T^(3/2) / sqrt(rho).

The cold molecular cloud worked end to end

Take a cold molecular cloud core at 10 K with a number density of 10^4 per cm3 and mu = 2.33. The first job is to turn that number density into a mass density the formula can use. The conversion gives 3.87 x 10^-17 kg/m3. From there, the isothermal sound speed cs = sqrt(kT / (mu mH)) comes out to 189 m/s. Those two quantities — a sound speed and a density — are all the jeans length calculator needs to start, because the Jeans length is lambdaJ = cs x sqrt(pi / (G rho)).

Running the numbers on that core gives a Jeans length of 0.214 pc. The corresponding Jeans mass is 2.91 solar masses, and the free-fall time for the same gas is about 338 thousand years. Read those three numbers together and the picture is clear: a core of roughly three solar masses spread over about a fifth of a parsec is the scale at which this cold, dense gas stops resisting and starts collapsing under its own gravity. Anything larger and heavier than those values falls inward; anything smaller holds together.

The contrast with warmer, thinner gas is what makes the cold core case worth working through. The same gas described by a mass density of 10^-18 kg/m3 at 20 K has a Jeans length of 1.878 pc and a Jeans mass of 51.27 solar masses. Go warmer and more diffuse still: a warm atomic cloud at 100 K with 100 particles per cm3 and mu = 1.4 reaches a Jeans length of 11.238 pc and a Jeans mass of 2,552.64 solar masses. Warm diffuse gas resists collapse on much larger scales — it needs a vastly bigger, heavier region before gravity wins.

That pattern follows directly from how the Jeans mass scales: as T^(3/2) / sqrt(rho). Heating a cloud raises the mass needed for collapse, and rarefying it does the same. Both moves push the threshold up, which is exactly why cold dense cores are where stars form. The 10 K core at 3.87 x 10^-17 kg/m3 sits at the low-temperature, high-density end of the range, and its 0.214 pc and 2.91 solar masses are correspondingly small compared with the 1.878 pc and 51.27 solar masses of the 20 K case or the 11.238 pc and 2,552.64 solar masses of the warm atomic cloud.

Working the cold core end to end shows how tightly the inputs control the answer. A single density conversion and one sound-speed calculation feed straight into the Jeans length, and the result lands at 0.214 pc with a Jeans mass of 2.91 solar masses. Change the temperature or the density and the threshold moves, but the chain of calculation stays the same.

Cold core at 10 K, 10^4 per cm3, mu = 2.33: density 3.87 x 10^-17 kg/m3, cs = 189 m/s, Jeans length 0.214 pc, Jeans mass 2.91 solar masses, free-fall time about 338 thousand years.

Temperature and density scaling

Temperature and density pull the Jeans length in opposite directions, and the three worked examples on this page show how strongly. The formula is lambdaJ = cs x sqrt(pi / (G rho)), with cs = sqrt(kT / (mu mH)) as the isothermal sound speed. Because the sound speed rises with the square root of temperature, the Jeans length grows as T^(1/2) and shrinks as the square root of density. The Jeans mass, which depends on length and density together, scales as T^(3/2) / sqrt(rho). A jeans length calculator simply applies these relations to the temperature and density you enter.

Start with the coldest case. A molecular cloud core at 10 K with a number density of 10^4 per cm3 and mu = 2.33 has a density of 3.87 x 10^-17 kg/m3 and a sound speed of 189 m/s. Its Jeans length is 0.214 pc, its Jeans mass is 2.91 solar masses, and its free-fall time is about 338 thousand years. Cold gas moves slowly, so gravity only has to outpull a weak pressure push, and a small, light patch can collapse.

Now hold the density roughly fixed and raise the temperature. The same gas described by a mass density of 10^-18 kg/m3 at 20 K has a Jeans length of 1.878 pc and a Jeans mass of 51.27 solar masses. Twice the temperature roughly doubles the sound speed, but the much lower density stretches the length further, and the mass climbs by a larger factor still. That is the T^(3/2) / sqrt(rho) scaling at work: heating a cloud or rarefying it both raise the mass needed for collapse.

The warm, thin case makes the point dramatically. A warm atomic cloud at 100 K with 100 particles per cm3 and mu = 1.4 reaches a Jeans length of 11.238 pc and a Jeans mass of 2,552.64 solar masses. Warm diffuse gas resists collapse on much larger scales, so it takes an enormous cloud to become unstable. Cold dense cores, by contrast, are where stars form, because they need far less mass gathered into far less space before gravity wins.

Same physics, very different outcomes: 0.214 pc and 2.91 solar masses for a 10 K dense core, 1.878 pc and 51.27 solar masses at 20 K with a mass density of 10^-18 kg/m3, and 11.238 pc and 2,552.64 solar masses for a 100 K diffuse cloud.

From Jeans mass to star formation

The Jeans length marks the boundary between a cloud that merely sits there and a cloud that falls inward. A region larger and heavier than the Jeans values collapses under its own gravity, and that collapse is rarely a single event. As a cloud contracts, its density rises while its temperature stays roughly fixed during the isothermal phase, and the Jeans mass — which scales as T^(3/2) / sqrt(rho) — drops. A shrinking cloud therefore stops being able to hold itself together as one piece. It breaks into smaller clumps, each of which can collapse on its own. This fragmentation is why star formation produces clusters of stars rather than one giant star, and it is the step that connects a jeans length calculator's output to the characteristic masses of newborn stars.

The numbers show how sharply the threshold moves with temperature and density. A cold molecular cloud core at 10 K with a number density of 10^4 per cm3 and mu = 2.33 has a density of 3.87 x 10^-17 kg/m3 and a sound speed of 189 m/s. Its Jeans length is 0.214 pc and its Jeans mass 2.91 solar masses, with a free-fall time of about 338 thousand years — a scale and a timescale in the right range for a low-mass stellar core. The same gas described by a mass density of 10^-18 kg/m3 at 20 K gives a Jeans length of 1.878 pc and a Jeans mass of 51.27 solar masses. Warm diffuse gas resists collapse on far larger scales still: a warm atomic cloud at 100 K, 100 particles per cm3 and mu = 1.4 reaches a Jeans length of 11.238 pc and a Jeans mass of 2,552.64 solar masses. Heating a cloud or rarefying it both raise the mass needed for collapse, which is why cold dense cores are where stars form.

Fragmentation does not run away indefinitely. As a clump collapses it becomes optically thick and warms up, and the rising temperature pushes the Jeans mass back up, shutting off further splitting. The result is a preferred range of fragment masses rather than an endless cascade down to arbitrarily small pieces. That balance between cooling, which encourages fragmentation, and heating, which suppresses it, is one of the main reasons the simple Jeans picture gets you into the right neighborhood of stellar masses.

The simple picture also leaves out two effects that matter in real clouds. Magnetic fields support gas against gravity, and in weakly ionized molecular gas they can slow or redirect collapse, effectively raising the mass a region must have before it can fall in. Turbulence does something similar and more chaotic: it creates dense filaments and shocks where collapse is triggered, while simultaneously providing bulk motions that hold other regions up. Both modify where and at what mass fragmentation actually occurs, so the Jeans values should be read as a guide to the scale of collapse rather than a precise prediction of a star's final mass.

The Jeans mass scales as T^(3/2) / sqrt(rho): heat a cloud or thin it out, and you raise the mass required for collapse.

FAQs

What is the Jeans length formula?

The Jeans length is lambdaJ = cs x sqrt(pi / (G rho)), where G is the gravitational constant and rho is the gas density. The isothermal sound speed is cs = sqrt(kT / (mu mH)), with k the Boltzmann constant, T the temperature, mu the mean molecular weight, and mH the hydrogen mass. It marks the scale below which pressure resists gravity.

What is the Jeans length of a 10 K molecular cloud?

For a 10 K molecular cloud at a density of 10^4 particles per cm3, the Jeans length is 0.214 pc. The corresponding Jeans mass is 2.91 solar masses. So a cloud at that temperature and density must span roughly 0.214 parsecs, and contain about 2.91 solar masses of gas, before gravity can overcome pressure.

What is the Jeans mass?

The Jeans mass is the mass inside a sphere one Jeans length across: (pi/6) rho lambdaJ^3. In other words, you take the density rho, multiply by the volume of a sphere whose diameter equals the Jeans length, and that gives the minimum mass needed for gravitational collapse at that temperature and density.

Why does warm gas need a bigger cloud to collapse?

Because the Jeans mass scales as T^(3/2)/sqrt(rho), warmer gas needs more mass to collapse. In the examples, a 100 K atomic cloud needs 2,552.64 solar masses, against 2.91 solar masses for the cold core. Higher temperature raises the sound speed and pressure, so gravity must act over a larger mass.

What is the free-fall time?

The free-fall time is sqrt(3 pi / (32 G rho)), the time for a cloud to collapse under its own gravity if pressure is ignored. For the cold core example, it is about 338 thousand years. It depends only on density, so denser gas collapses faster, while the Jeans length and mass also set the scale.

What is mu in the Jeans formula?

Mu is the mean molecular weight per particle, which converts temperature into sound speed. It is about 2.33 for molecular gas with helium, and 1.4 for atomic gas in the examples. Because cs depends on 1/mu, a higher mu lowers the sound speed and changes the resulting Jeans length and mass.

Sources

Related calculators

Escape Velocity Calculator
The speed needed to leave a planet or moon for good — √(2GM/r) — for Mercury, the Moon, Earth, Venus, Mars and Jupiter, or your own mass and radius.
Schwarzschild Radius Calculator
The radius a mass would have to be squeezed inside to become a black hole — for kilograms, Suns, Earths or Jupiters.
Orbital Period Calculator
How long one orbit takes, from Kepler's third law — around the Sun, Earth, Moon, Mars or Jupiter — with the matching orbital velocity. ISS, geostationary and Earth's own year included.