Chemical Potential Calculator

Find how pressure or composition shifts the chemical potential, and which phase a component prefers.

⚗️ Chemical Potential Calculator
Temperature (T)
K
Pressure (P)
bar
Standard pressure (P0)
bar
Standard potential (mu0)
kJ/mol
Temperature (T)
K
Mole fraction (x)
Pure component potential (mu*)
kJ/mol
Temperature (T)
K
Gas pressure of the component
bar
Standard pressure (P0)
bar
Mole fraction in solution (x)
mu0(solution) minus mu0(gas) (illustrative: water at 25 C)
kJ/mol
Chemical potential mu
—
Change mu - mu0
—
RT
—
Pressure ratio P/P0
—
Per factor of 10 in P
—
Per doubling of P
—

Chemical potential mu
—
Change mu - mu*
—
RT
—
ln x
—
Per halving of x
—
Partial molar mixing entropy
—

mu(solution) minus mu(gas)
—
Net transfer direction
—
Gas, relative to mu0(gas)
—
Solution, relative to mu0(gas)
—
Equilibrium gas pressure
—
Equilibrium x for this gas
—

⚗️ What is Chemical Potential?

Chemical potential, written μ, is the partial molar Gibbs energy of a component: how much the Gibbs energy of a system rises when you add one more mole of that component, with temperature, pressure and the other amounts held fixed. It is the quantity that decides which way matter wants to move. A component flows spontaneously from a place where its chemical potential is high to a place where it is low, and a system is in equilibrium for that component when the chemical potential is the same everywhere it can travel.

The idea shows up throughout chemistry and engineering. It explains why a liquid evaporates into dry air but not into saturated air, why salt dissolves until a saturated solution forms, why a gas dissolves in water until a certain pressure-dependent balance is reached, and why a dilute solution draws solvent through a membrane. Chemical engineers use it to design separations, geochemists to predict which minerals are stable, and biochemists to describe the movement of ions and metabolites across membranes.

For practical work, the key results are the two logarithmic laws on this page. For an ideal gas, μ = μ° + RT ln(P/P°), so the potential rises by RT ln 10, about 5.7 kJ/mol at room temperature, for every tenfold rise in pressure. For a component of an ideal solution, μ = μ* + RT ln x, so it falls as the component becomes more dilute. These are the starting points that real gases and non-ideal solutions correct with fugacity and activity, covered on the activity and fugacity calculator.

This calculator has three modes. The ideal gas and ideal solution modes give the potential for a chosen state and show the curve behind it. The phase comparison mode puts a gas and a solution of the same component side by side, tells you which way it will move, and finds the gas pressure or solution composition at which the two potentials are equal. Only differences are physically meaningful, so you can leave the standard potentials at zero unless you have a specific reference value.

📐 Formula

μ  =  μ°  +  R T ln ( P ÷ P° )   (ideal gas)
μ° = chemical potential at the standard pressure P° (1 bar) and temperature T
R = 8.314462618 J/(mol K); T = temperature in K
Example: T = 298.15 K, P = 0.5 bar gives μ − μ° = 2.479 × ln 0.5 = −1.718 kJ/mol
μ  =  μ*  +  R T ln x   (ideal solution)
μ* = chemical potential of the pure component at the same T and P
x = mole fraction of the component, 0 < x ≤ 1
Equilibrium: μ(gas) = μ(solution) gives Peq = P° x exp(Δμ° / RT), where Δμ° = μ°(solution) − μ°(gas)

📖 How to Use This Calculator

Steps

1
Choose a mode - Ideal gas uses pressure, ideal solution uses mole fraction, and Compare phases uses both for a gas and a solution of the same component.
2
Enter the state - Give the temperature in kelvin and the pressure in bar or the mole fraction. Leave the standard potential at 0 to read only the change.
3
Read the result - The main box shows the chemical potential or the difference between phases. Other boxes show RT and the change per tenfold pressure step.
4
Check the chart - Each mode draws its own curve with your state marked. In the phase mode, the curve crosses zero at the equilibrium composition.

💡 Example Calculations

Example 1 - A gas at half the standard pressure

Ideal gas at 298.15 K and 0.5 bar, P° = 1 bar, μ° = 0

1
RT = 8.314462618 × 298.15 / 1000 = 2.479 kJ/mol.
2
ln(0.5) = −0.6931.
3
μ − μ° = 2.479 × (−0.6931) = −1.718 kJ/mol. Doubling the pressure back to 1 bar raises it by the same 1.718 kJ/mol.
μ − μ° = −1.718 kJ/mol
Try this example →

Example 2 - A hot compressed gas

Ideal gas at 500 K and 10 bar, P° = 1 bar, μ° = 0

1
RT = 8.314462618 × 500 / 1000 = 4.157 kJ/mol.
2
ln(10) = 2.3026.
3
μ − μ° = 4.157 × 2.3026 = +9.572 kJ/mol, which is also the change per factor of 10 in pressure at this temperature.
μ − μ° = +9.572 kJ/mol
Try this example →

Example 3 - A dilute component in solution

Ideal solution at 298.15 K, x = 0.25, μ* = −5.00 kJ/mol (illustrative)

1
RT = 2.479 kJ/mol and ln(0.25) = −1.3863.
2
RT ln x = 2.479 × (−1.3863) = −3.437 kJ/mol.
3
μ = −5.00 + (−3.437) = −8.437 kJ/mol. The partial molar mixing entropy is −R ln x = 11.53 J/(mol K).
μ = −8.437 kJ/mol
Try this example →

Example 4 - Water liquid and vapor at 25 °C

x = 1 (pure liquid), vapor at 0.02 bar, Δμ° = −8.56 kJ/mol (approximate)

1
Gas: μ − μ°(gas) = 2.479 × ln(0.02) = −9.698 kJ/mol.
2
Liquid: μ − μ°(gas) = −8.56 + 2.479 × ln(1) = −8.560 kJ/mol.
3
Difference = −8.560 − (−9.698) = +1.138 kJ/mol, so the liquid has the higher potential and evaporates. Equilibrium needs P = 1 × exp(−8.56 / 2.479) = 0.0316 bar.
μ(liquid) − μ(gas) = +1.138 kJ/mol, Peq = 0.0316 bar
Try this example →

❓ Frequently Asked Questions

What is chemical potential?+
The chemical potential of a component is the change in a system's Gibbs energy when one mole of that component is added at constant temperature, pressure and amount of the other components. It is the partial molar Gibbs energy, written mu.
What is the chemical potential of an ideal gas?+
mu = mu0 + RT ln(P/P0), where mu0 is the value at the standard pressure P0 (usually 1 bar), R is the gas constant and T is the temperature in kelvin. At 298.15 K and P = 0.5 bar, mu is lower than mu0 by 1.718 kJ/mol.
What is the chemical potential of a component in an ideal solution?+
mu = mu* + RT ln x, where mu* is the chemical potential of the pure component at the same temperature and pressure and x is its mole fraction. Since x is at most 1, mu is at most mu*.
Why does matter flow from high to low chemical potential?+
Moving a small amount dn of a component from a phase with potential mu1 to one with mu2 changes the total Gibbs energy by (mu2 - mu1) dn. The process is spontaneous when this is negative, that is, when mu2 is lower than mu1.
How do you know when two phases are in equilibrium?+
They are in equilibrium when the chemical potential of the component is equal in both phases. The calculator reports the gas pressure that matches a given solution composition and the composition that matches a given gas pressure.
What does the difference of standard potentials mean in the phase mode?+
It is mu0(solution) minus mu0(gas) for the component, in kJ/mol. For a pure liquid in equilibrium with its vapor at P*, this equals RT ln(P*/P0). For water at 25 C it is about -8.56 kJ/mol, which is approximate.
How much does the chemical potential change per factor of 10 in pressure?+
It changes by RT ln 10, which is 5.708 kJ/mol at 298.15 K and 9.572 kJ/mol at 500 K. The chart shows this logarithmic rise.
Is chemical potential the same as Gibbs free energy?+
For a pure substance, the chemical potential equals the molar Gibbs energy. For a mixture it is the partial molar Gibbs energy of one component, and the total Gibbs energy is the sum of n times mu over all components.
How is chemical potential different from fugacity and activity?+
Fugacity and activity are corrections that keep the simple logarithmic form valid for real gases and non-ideal solutions. They are defined so that mu = mu0 + RT ln(f/P0) or mu = mu0 + RT ln a. This page uses the ideal forms.
Which units does the calculator use?+
Temperature is in kelvin, pressure in bar and chemical potentials in kJ/mol. If you do not need an absolute value, leave mu0 at zero and read the change from the reference state.

📚 Sources and Notes

The ideal gas relation follows the LibreTexts chapter on the chemical potential and fugacity of a gas and the CSU East Bay notes on pressure dependence. The ideal solution form mu = mu* + RT ln x is the standard textbook relation; it was not separately checked against a web source. The value −8.56 kJ/mol for water is an approximate illustrative number obtained from the equilibrium vapor pressure near 25 °C, not a tabulated entry.

See also the activity and fugacity calculator, the Gibbs free energy calculator and the Raoult's law calculator.

What is chemical potential?

The chemical potential of a component is the change in a system's Gibbs energy when one mole of that component is added at constant temperature, pressure and amount of the other components. It is the partial molar Gibbs energy, written mu.

What is the chemical potential of an ideal gas?

mu = mu0 + RT ln(P/P0), where mu0 is the value at the standard pressure P0 (usually 1 bar), R is the gas constant and T is the temperature in kelvin. At 298.15 K and P = 0.5 bar, mu is lower than mu0 by 1.718 kJ/mol.

What is the chemical potential of a component in an ideal solution?

mu = mu* + RT ln x, where mu* is the chemical potential of the pure component at the same temperature and pressure and x is its mole fraction. Since x is at most 1, mu is at most mu*.

Why does matter flow from high to low chemical potential?

Moving a small amount dn of a component from a phase with potential mu1 to one with mu2 changes the total Gibbs energy by (mu2 - mu1) dn. The process is spontaneous when this is negative, that is, when mu2 is lower than mu1.

How do you know when two phases are in equilibrium?

They are in equilibrium when the chemical potential of the component is equal in both phases. The calculator reports the gas pressure that matches a given solution composition and the composition that matches a given gas pressure.

What does the difference of standard potentials mean in the phase mode?

It is mu0(solution) minus mu0(gas) for the component, in kJ/mol. For a pure liquid in equilibrium with its vapor at P*, this equals RT ln(P*/P0). For water at 25 C it is about -8.56 kJ/mol, which is approximate.

How much does the chemical potential change per factor of 10 in pressure?

It changes by RT ln 10, which is 5.708 kJ/mol at 298.15 K and 9.572 kJ/mol at 500 K. The chart shows this logarithmic rise.

Is chemical potential the same as Gibbs free energy?

For a pure substance, the chemical potential equals the molar Gibbs energy. For a mixture it is the partial molar Gibbs energy of one component, and the total Gibbs energy is the sum of n times mu over all components.

How is chemical potential different from fugacity and activity?

Fugacity and activity are corrections that keep the simple logarithmic form valid for real gases and non-ideal solutions. They are defined so that mu = mu0 + RT ln(f/P0) or mu = mu0 + RT ln a. This page uses the ideal forms.

Which units does the calculator use?

Temperature is in kelvin, pressure in bar and chemical potentials in kJ/mol. If you do not need an absolute value, leave mu0 at zero and read the change from the reference state.