---
title: "The Molecular Partition Function"
description: "Summing the Boltzmann factors over every level of a molecule gives one number that counts how many levels are effectively in use. From that number the bulk properties of the sample can be calculated."
canonical: https://lightmysky.com/learn/science/the-molecular-partition-function-mt_-TPTlb7zQ2
source: https://lightmysky.com/learn/science/the-molecular-partition-function-mt_-TPTlb7zQ2.md
retrieved: 2026-09-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# The Molecular Partition Function

Summing the Boltzmann factors over every level of a molecule gives one number that counts how many levels are effectively in use. From that number the bulk properties of the sample can be calculated.

Subject: Science · Area: Chemistry · Ages 20 to 21
Page: https://lightmysky.com/learn/science/the-molecular-partition-function-mt_-TPTlb7zQ2

## Ready when they can

- Writes the partition function as a sum over levels and evaluates it for a two-level system
- Sums the vibrational series as a geometric series and states the closed form
- Explains what the limiting values at low and high temperature mean physically
- Separates the total into translational, rotational, vibrational and electronic factors and says why the separation is allowed

## Lesson: Counting states to get chemistry

Summing the Boltzmann factors over every level of a molecule gives one number that counts how many levels are effectively in use. Each level adds its degeneracy times e to minus its energy over kT, so accessible states add a lot and remote states add almost nothing. Levels that are low and numerous pull the sum up, and a large sum marks a strongly favored state.

**Example.** With the ground level set to zero energy, a two-level system gives q equal to 1 plus e to minus gap over kT: the ground term of one plus one excited term. If the excited factor is 0.3, q is 1.3. A vibrational ladder of equally spaced levels forms a geometric series, giving q equal to 1 over 1 minus the factor: with a factor of 0.5, q is 2.

Near zero temperature only the ground level counts, so q sinks toward 1, while high temperature lets countless levels contribute. The total separates into translational, rotational, vibrational, and electronic factors multiplied together, which is allowed because those motions are nearly independent. The partition function is the normalising sum of the winning energy sharing, so averages match its values.

**Tip.** To reach bulk properties, take the logarithm of q and multiply by thermal energy: the free energy drops out. One formula gathers every level, and thermodynamics follows by differentiation, which is why the sum is the bridge between molecules and moles.

**Recap.** The partition function sums weighted levels into one count of states in use, and its logarithm opens the door to bulk thermodynamics.

## Practice

8 questions on this page, each with its working shown.

## Needs first

- [The Boltzmann Distribution over Molecular Levels](https://lightmysky.com/learn/science/the-boltzmann-distribution-over-molecular-levels-mt_-DHIox6GBm)
- [Geometric Series and the Sum to Infinity](https://lightmysky.com/learn/mathematics/geometric-series-and-the-sum-to-infinity-mt_HHxFOv6vXS)

## Opens up

- [Molecular Dynamics and Free Energy from Sampling](https://lightmysky.com/learn/science/molecular-dynamics-and-free-energy-from-sampling-mt_ajdYrZOzEd)
- [Entropy from Counting: The Molecular Meaning of the Third Law](https://lightmysky.com/learn/science/entropy-from-counting-the-molecular-meaning-of-the-third-law-mt_ihl5fEjoLL)
- [Transition State Theory and the Eyring Equation](https://lightmysky.com/learn/science/transition-state-theory-and-the-eyring-equation-mt_JVjDMcXds1)
