Saha Equation Calculator

Find the equilibrium ionization fraction of hydrogen gas using the exact Saha equation, the formula that first explained stellar spectra.

☀️ Saha Equation Calculator
m⁻³
eV
Ionization fraction (%)
Ionization fraction (x)
Ionized density (ne)
Step-by-step working

☀️ What is the Saha Equation Calculator?

This Saha equation calculator finds the equilibrium ionization fraction of hydrogen gas at a given density and temperature. Enter the total particle density and temperature, and it returns the fraction of atoms ionized, along with the resulting electron/ion and neutral densities.

Derived by Meghnad Saha in 1920, this equation combines statistical mechanics and the Boltzmann factor to predict how a gas splits between neutral and ionized states in thermal equilibrium: n_e n_II/n_I = (2πm_e k_B T/h²)^(3/2) e^(−χ/k_B T). It was the key insight that first explained why different stars show such dramatically different absorption spectra.

Because the ionization fraction depends exponentially on temperature, it swings from nearly zero to nearly one over a surprisingly narrow temperature range, this calculator solves the resulting quadratic equation exactly to find precisely where a given density and temperature land on that curve.

This calculator is useful for astrophysics students studying stellar atmospheres, and anyone curious how a star's surface temperature alone can determine its spectral appearance.

📐 Formula

nenII/nI  =  (2πmekBT/h²)3/2 e−χ/kBT
χ = 13.6 eV, hydrogen's ionization energy
me = electron mass, h = Planck constant
Solved as n x² + RHS·x − RHS = 0 for ionization fraction x
Example: solar photosphere (T≈0.5 eV, n=10²³ m⁻³): x ≈ 0.0128%.

📖 How to Use This Calculator

Steps

1
Enter the total hydrogen density in particles per cubic metre.
2
Enter the temperature in electronvolts.
3
Read the ionization fraction and the resulting densities.

💡 Example Calculations

Example 1 - Solar photosphere

1
n = 10²³ m⁻³, T = 0.5 eV (about 5,800 K)
2
Ionization fraction x = 1.2814 × 10-4 (about 0.0128%)
3
Almost entirely neutral, despite being hotter than 5,000 K
x = 1.2814 × 10-4
Try this example →

Example 2 - Solar chromosphere

1
n = 10¹⁹ m⁻³, T = 1.0 eV (about 11,600 K)
2
Ionization fraction x = 0.9973 (99.73%)
3
Nearly fully ionized, illustrating the extreme sensitivity to temperature and density
x = 0.9973
Try this example →

Example 3 - Cool, dense laboratory gas

1
n = 10¹² m⁻³, T = 0.1 eV (about 1,160 K)
2
Ionization fraction x = 2.8700 × 10-23, effectively zero
3
At this low temperature, essentially no atoms are thermally ionized
x = 2.8700 × 10-23
Try this example →

❓ Frequently Asked Questions

What is the Saha equation?+
The Saha equation, derived by Meghnad Saha in 1920, gives the equilibrium ratio of ionized to neutral atoms in a gas at a given temperature and density, assuming the gas is in local thermodynamic equilibrium. It combines statistical mechanics (counting the available quantum states) with the Boltzmann factor for the ionization energy.
What is the formula for the Saha equation?+
For hydrogen, n_e n_II / n_I = (2πm_e k_B T/h²)^(3/2) e^(−χ/k_B T), where n_e, n_II, and n_I are the electron, ion, and neutral densities, χ = 13.6 eV is the hydrogen ionization energy, and the degeneracy-ratio prefactor for ground-state hydrogen simplifies to exactly 1.
Why did the Saha equation matter for astronomy?+
Before Saha's 1920 work, astronomers could not explain why stars of very similar composition showed wildly different absorption line strengths. Saha showed that a star's spectral type is primarily determined by its surface temperature, through the ionization state of the elements in its atmosphere, not by fundamentally different chemical composition, resolving a major puzzle in stellar astrophysics.
Why is ionization fraction so sensitive to temperature?+
The Boltzmann factor e^(−χ/k_B T) changes exponentially with temperature, so even a modest change in T can shift the exponent by several units, swinging the ionization fraction by many orders of magnitude. This is why stars with only slightly different surface temperatures can show dramatically different spectral line strengths for the same element.
What does the ionization fraction result mean?+
The ionization fraction x is the proportion of hydrogen atoms that are ionized, with n_e = n_II = x·n_total and n_I = (1−x)·n_total, where n_total is the combined density of neutral and ionized hydrogen entered into the calculator.
Why is the solar photosphere mostly neutral despite being very hot?+
The photosphere (about 5,800 K, or roughly 0.5 eV) is hot by everyday standards but still far below hydrogen's 13.6 eV ionization energy, so the exponential Boltzmann suppression keeps the ionization fraction extremely low, around one part in ten thousand. Only trace elements with much lower ionization energies (like sodium or calcium) become significantly ionized at photospheric temperatures.
What does 'local thermodynamic equilibrium' (LTE) mean here?+
LTE means the gas is dense enough and collisions frequent enough that the local ionization state matches what a Boltzmann/Saha equilibrium at the local temperature and density would predict, even if the gas as a whole is not in complete equilibrium (like radiating starlight). It is an excellent approximation for stellar interiors and photospheres, but breaks down in tenuous plasmas like the solar corona or the interstellar medium, where radiative and collisional rates fall out of balance.
Why does the equation use a quadratic rather than a direct ratio?+
The equation as usually written gives the ratio n_e n_II/n_I, but since n_e = n_II = x·n and n_I = (1−x)·n for hydrogen, substituting turns it into a quadratic equation in x, n·x² + RHS·x − RHS = 0, which this calculator solves exactly using the quadratic formula.
Does the Saha equation apply to elements other than hydrogen?+
Yes, in general it applies to any element, with the ionization energy χ and the degeneracy ratio of the relevant states adjusted accordingly. This calculator is scoped specifically to hydrogen, since it has the simplest and most astrophysically important form, with the degeneracy prefactor working out to exactly 1.
How is the Saha equation related to plasma physics more broadly?+
The Saha equation determines the initial ionization state of a plasma formed by heating a gas, connecting classical statistical mechanics to the birth of the fourth state of matter. It remains a standard tool for estimating ionization balance in stellar atmospheres, laboratory discharges, and any thermal plasma source.

What is the Saha equation?

The Saha equation, derived by Meghnad Saha in 1920, gives the equilibrium ratio of ionized to neutral atoms in a gas at a given temperature and density, assuming the gas is in local thermodynamic equilibrium. It combines statistical mechanics (counting the available quantum states) with the Boltzmann factor for the ionization energy.

What is the formula for the Saha equation?

For hydrogen, n_e n_II / n_I = (2πm_e k_B T/h²)^(3/2) e^(−χ/k_B T), where n_e, n_II, and n_I are the electron, ion, and neutral densities, χ = 13.6 eV is the hydrogen ionization energy, and the degeneracy-ratio prefactor for ground-state hydrogen simplifies to exactly 1.

Why did the Saha equation matter for astronomy?

Before Saha's 1920 work, astronomers could not explain why stars of very similar composition showed wildly different absorption line strengths. Saha showed that a star's spectral type is primarily determined by its surface temperature, through the ionization state of the elements in its atmosphere, not by fundamentally different chemical composition, resolving a major puzzle in stellar astrophysics.

Why is ionization fraction so sensitive to temperature?

The Boltzmann factor e^(−χ/k_B T) changes exponentially with temperature, so even a modest change in T can shift the exponent by several units, swinging the ionization fraction by many orders of magnitude. This is why stars with only slightly different surface temperatures can show dramatically different spectral line strengths for the same element.

What does the ionization fraction result mean?

The ionization fraction x is the proportion of hydrogen atoms that are ionized, with n_e = n_II = x·n_total and n_I = (1−x)·n_total, where n_total is the combined density of neutral and ionized hydrogen entered into the calculator.

Why is the solar photosphere mostly neutral despite being very hot?

The photosphere (about 5,800 K, or roughly 0.5 eV) is hot by everyday standards but still far below hydrogen's 13.6 eV ionization energy, so the exponential Boltzmann suppression keeps the ionization fraction extremely low, around one part in ten thousand. Only trace elements with much lower ionization energies (like sodium or calcium) become significantly ionized at photospheric temperatures.

What does 'local thermodynamic equilibrium' (LTE) mean here?

LTE means the gas is dense enough and collisions frequent enough that the local ionization state matches what a Boltzmann/Saha equilibrium at the local temperature and density would predict, even if the gas as a whole is not in complete equilibrium (like radiating starlight). It is an excellent approximation for stellar interiors and photospheres, but breaks down in tenuous plasmas like the solar corona or the interstellar medium, where radiative and collisional rates fall out of balance.

Why does the equation use a quadratic rather than a direct ratio?

The equation as usually written gives the ratio n_e n_II/n_I, but since n_e = n_II = x·n and n_I = (1−x)·n for hydrogen, substituting turns it into a quadratic equation in x, n·x² + RHS·x − RHS = 0, which this calculator solves exactly using the quadratic formula.

Does the Saha equation apply to elements other than hydrogen?

Yes, in general it applies to any element, with the ionization energy χ and the degeneracy ratio of the relevant states adjusted accordingly. This calculator is scoped specifically to hydrogen, since it has the simplest and most astrophysically important form, with the degeneracy prefactor working out to exactly 1.

How is the Saha equation related to plasma physics more broadly?

The Saha equation determines the initial ionization state of a plasma formed by heating a gas, connecting classical statistical mechanics to the birth of the fourth state of matter. It remains a standard tool for estimating ionization balance in stellar atmospheres, laboratory discharges, and any thermal plasma source.