Macrostates and Microstates and their relations with Thermodynamic Probability
Here’s a concept that confused me for months in statistical physics: the difference between macrostates and microstates.
Textbooks make it sound complicated. It’s not. Once you see a concrete example, everything clicks.
Let me show you exactly how it works.
The Setup: Four Particles, Two Boxes
Imagine you have four distinguishable particles. Call them \( a \), \( b \), \( c \), and \( d \). You’re going to distribute them into two identical compartments.
Each particle has a 50/50 chance of landing in either compartment. Simple enough.
Now here’s the question: How many different ways can you arrange these particles?
The answer depends on what you mean by “different.”
Macrostates vs. Microstates
A macrostate describes the overall distribution. How many particles are in each compartment? That’s it. No names, just numbers.
A microstate describes the specific arrangement. Which exact particles are where?
Think of it this way:
- Macrostate: “2 particles in compartment 1, 2 in compartment 2”
- Microstate: “Particles \( a \) and \( b \) in compartment 1, particles \( c \) and \( d \) in compartment 2”
The macrostate tells you the summary. The microstate tells you the full story.
The kicker: Multiple microstates can correspond to the same macrostate. This is where thermodynamics gets interesting.
The Complete Example
Let’s enumerate everything for our four-particle system.
All Possible Macrostates
With four particles and two compartments, there are exactly five macrostates:
| Macrostate | Distribution | Notation |
|---|---|---|
| 1 | 0 in compartment 1, 4 in compartment 2 | (0, 4) |
| 2 | 1 in compartment 1, 3 in compartment 2 | (1, 3) |
| 3 | 2 in compartment 1, 2 in compartment 2 | (2, 2) |
| 4 | 3 in compartment 1, 1 in compartment 2 | (3, 1) |
| 5 | 4 in compartment 1, 0 in compartment 2 | (4, 0) |
General rule: For \( n \) particles in two compartments, there are exactly \( n + 1 \) macrostates.
All Possible Microstates
Now let’s count the specific arrangements within each macrostate:
| Macrostate | Compartment 1 | Compartment 2 | Number of Microstates |
|---|---|---|---|
| (0, 4) | — | {a, b, c, d} | 1 |
| (1, 3) | {a} or {b} or {c} or {d} | remaining three | 4 |
| (2, 2) | {a,b}, {a,c}, {a,d}, {b,c}, {b,d}, {c,d} | remaining two | 6 |
| (3, 1) | any three particles | remaining one | 4 |
| (4, 0) | {a, b, c, d} | — | 1 |
Total microstates: \( 1 + 4 + 6 + 4 + 1 = 16 = 2^4 \)
Notice something? That’s \( 2^n \) where \( n = 4 \). Not a coincidence. Each particle independently chooses one of two compartments: \( 2 \times 2 \times 2 \times 2 = 16 \).
General rule: For \( n \) particles in two compartments, the total number of microstates is \( 2^n \).
The Counting Formula
The number of microstates for macrostate \( (r, n-r) \) is given by the binomial coefficient:
$$\text{Number of microstates} = \binom{n}{r} = \frac{n!}{r!(n-r)!}$$
For our four-particle example:
- Macrostate (0, 4): \( \binom{4}{0} = 1 \) ✓
- Macrostate (1, 3): \( \binom{4}{1} = 4 \) ✓
- Macrostate (2, 2): \( \binom{4}{2} = 6 \) ✓
- Macrostate (3, 1): \( \binom{4}{3} = 4 \) ✓
- Macrostate (4, 0): \( \binom{4}{4} = 1 \) ✓
The formula works. And notice: \( \binom{n}{r} = \binom{n}{n-r} \), so macrostates (1, 3) and (3, 1) have the same count. Symmetry.
Thermodynamic Probability
Here’s where physics enters.
The thermodynamic probability of a macrostate is simply the number of microstates corresponding to it. We denote it by \( W \) or \( \Omega \).
$$W_{(r, n-r)} = \binom{n}{r} = \frac{n!}{r!(n-r)!}$$
Warning: “Thermodynamic probability” is a terrible name. It’s not a probability in the mathematical sense (it can be greater than 1). It’s a count. But the name stuck, so we’re stuck with it.
For our four-particle system:
| Macrostate | Thermodynamic Probability \( W \) |
|---|---|
| (0, 4) | 1 |
| (1, 3) | 4 |
| (2, 2) | 6 |
| (3, 1) | 4 |
| (4, 0) | 1 |
The macrostate (2, 2) has the highest thermodynamic probability. This matters because systems tend toward macrostates with higher \( W \). That’s the statistical basis of the Second Law of Thermodynamics.
Actual Probability of a Macrostate
Now let’s calculate real probabilities. The probability of finding the system in a particular macrostate:
$$P_m = \frac{\text{Microstates in this macrostate}}{\text{Total microstates}} = \frac{W}{2^n}$$
For macrostate \( (r, n-r) \):
$$P_{(r, n-r)} = \frac{W_{(r, n-r)}}{2^n} = \binom{n}{r} \times \frac{1}{2^n}$$
For our four-particle system:
| Macrostate | \( W \) | Probability \( P \) | Percentage |
|---|---|---|---|
| (0, 4) | 1 | 1/16 | 6.25% |
| (1, 3) | 4 | 4/16 = 1/4 | 25% |
| (2, 2) | 6 | 6/16 = 3/8 | 37.5% |
| (3, 1) | 4 | 4/16 = 1/4 | 25% |
| (4, 0) | 1 | 1/16 | 6.25% |
Sanity check: The probabilities sum to 100%. Good.
Most Probable Macrostate
Which macrostate is most likely? The one with particles evenly distributed.
For \( n \) particles:
- If \( n \) is even: Most probable is \( (n/2, n/2) \)
- If \( n \) is odd: Most probable are \( ((n+1)/2, (n-1)/2) \) and \( ((n-1)/2, (n+1)/2) \)
Maximum probability:
$$P_{max} = \frac{n!}{\left(\frac{n}{2}\right)! \cdot \left(\frac{n}{2}\right)!} \times \frac{1}{2^n} \quad \text{(n even)}$$
$$P_{max} = \frac{n!}{\frac{n-1}{2}! \cdot \frac{n+1}{2}!} \times \frac{1}{2^n} \quad \text{(n odd)}$$
Least Probable Macrostate
The least likely macrostates are the extremes: all particles in one compartment.
$$P_{min} = \frac{1}{2^n}$$
For four particles, that’s \( 1/16 = 6.25\% \). Doesn’t sound that rare, right?
Now imagine \( n = 100 \) particles. The probability of all 100 being in one compartment:
$$P_{min} = \frac{1}{2^{100}} \approx 10^{-30}$$
For Avogadro’s number of particles (\( n \approx 10^{23} \))? The probability becomes so small it’s effectively zero. You’d wait longer than the age of the universe to see it happen.
This is why the Second Law works. Systems evolve toward probable macrostates not because of some mysterious force, but because improbable macrostates are astronomically improbable.
Key Relationships
Let me summarize the important formulas:
| Quantity | Formula | For 4 particles |
|---|---|---|
| Number of macrostates | \( n + 1 \) | 5 |
| Total microstates | \( 2^n \) | 16 |
| Microstates in \( (r, n-r) \) | \( \binom{n}{r} \) | varies |
| Thermodynamic probability | \( W = \binom{n}{r} \) | varies |
| Macrostate probability | \( P = W/2^n \) | varies |
Critical insight: Probability \( P \) is directly proportional to thermodynamic probability \( W \). Higher \( W \) means higher \( P \). Systems naturally evolve toward high-\( W \) macrostates.
Why This Matters
Macrostates and microstates aren’t just academic concepts. They’re the foundation of:
- Entropy: Boltzmann’s famous formula \( S = k_B \ln W \) connects entropy directly to thermodynamic probability
- The Second Law: Systems evolve toward macrostates with more microstates (higher \( W \))
- Temperature: Defined in terms of how \( W \) changes with energy
- Equilibrium: The macrostate with maximum \( W \) subject to constraints
Get this foundation right, and statistical mechanics becomes much clearer.
Recommended Reading




Frequently Asked Questions
What is the difference between a macrostate and a microstate?
A macrostate describes the overall distribution of particles (how many in each region) without specifying which particles are where. A microstate specifies exactly which particles are in which locations. Multiple microstates can correspond to the same macrostate. For example, “2 particles in box A, 2 in box B” is a macrostate; “{a,b} in box A, {c,d} in box B” is one of its microstates.
What is thermodynamic probability?
Thermodynamic probability (W or Ω) is the number of microstates corresponding to a given macrostate. Despite its name, it’s not a probability in the mathematical sense—it’s a count that can be much greater than 1. The actual probability of a macrostate equals W divided by the total number of microstates.
Why do systems tend toward higher W macrostates?
Pure probability. If all microstates are equally likely, the system spends more time in macrostates that have more microstates. A macrostate with W = 6 is six times more likely to be observed than one with W = 1. For large systems, the ratio becomes astronomically large, making high-W macrostates essentially inevitable.
How is entropy related to thermodynamic probability?
Boltzmann’s famous formula: S = k_B ln(W), where k_B is Boltzmann’s constant. Entropy is proportional to the logarithm of thermodynamic probability. High W means high entropy. This equation is engraved on Boltzmann’s tombstone in Vienna.
What does distinguishable vs. indistinguishable particles mean?
Distinguishable particles can be told apart (like labeled balls). Indistinguishable particles are identical in every way (like electrons). For distinguishable particles, swapping two particles creates a new microstate. For indistinguishable particles, it doesn’t—they’re the same configuration. This dramatically affects the counting and leads to different statistics (Maxwell-Boltzmann vs. Fermi-Dirac or Bose-Einstein).
Why is the binomial coefficient used for counting microstates?
The binomial coefficient C(n,r) counts the number of ways to choose r items from n items without regard to order. When distributing n distinguishable particles into compartment 1 (r particles) and compartment 2 (n-r particles), you’re choosing which r particles go into compartment 1. That’s exactly what C(n,r) counts.
What is the most probable macrostate?
For particles distributed between two equal compartments, the most probable macrostate has particles evenly split. If n is even, it’s (n/2, n/2). If n is odd, it’s ((n±1)/2, (n∓1)/2). This is because the binomial coefficient C(n,r) is maximized when r = n/2. For large n, this macrostate becomes overwhelmingly more probable than any other.
Can the least probable macrostate ever occur?
In principle, yes. For small systems, improbable macrostates occur regularly (4 particles all in one box happens 6.25% of the time). But for macroscopic systems with ~10²³ particles, the probability becomes so vanishingly small (~10^(-10²³)) that you’d never observe it in the lifetime of the universe. The Second Law is statistical, not absolute, but the statistics are overwhelming.
What is the fundamental postulate of statistical mechanics?
The fundamental postulate states that all accessible microstates of an isolated system are equally probable. This seemingly simple assumption is the foundation of statistical mechanics. From it, we derive that systems evolve toward macrostates with more microstates, which gives us the Second Law, equilibrium conditions, and the connection between microscopic and macroscopic physics.
How does this apply to real physical systems?
Replace “compartments” with energy levels, position cells in phase space, or quantum states. The math is the same. Gas molecules distributing in a container, energy distributing among oscillators, electrons filling atomic orbitals—all follow from counting microstates and finding the most probable macrostate. The two-compartment model is a pedagogical simplification of this universal principle.