A state function is any property of a system whose value depends only on the system’s current condition, not on how it got there. Temperature, pressure, volume, internal energy, and enthalpy are all state functions. If you know the present state of a system, you know the value of every state function, regardless of the system’s history. This idea is one of the most powerful concepts in thermodynamics because it lets you take shortcuts in calculations that would otherwise be impossibly complex.
The Altitude Analogy
The easiest way to grasp a state function is to think about altitude. If you stand on the summit of Mt. Kilimanjaro, you are at 5,895 meters. It does not matter whether you hiked a direct route, took a winding trail twice as long, or parachuted in from a helicopter. Your altitude is exactly the same. The distance you walked, on the other hand, depends entirely on which route you chose.
Altitude is the state function here. Distance traveled is not. In thermodynamics, the same logic applies: some properties care only about where you are, while others care about how you got there.
State Functions vs. Path Functions
The counterpart to a state function is a path function. Heat and work are the two most important path functions in thermodynamics. The amount of heat that flows into a system and the amount of work it performs both depend on the specific process the system undergoes. Two different processes can take a gas from the same starting temperature and pressure to the same final temperature and pressure, yet involve very different amounts of heat and work along the way.
Here is a quick way to tell them apart: if the property’s change can be calculated using only the initial and final values, it is a state function. If you need to know every step in between, it is a path function.
- State functions: temperature, pressure, volume, internal energy (U), enthalpy (H), entropy (S), Gibbs free energy (G)
- Path functions: heat (q), work (w)
Why Internal Energy Is a State Function
The first law of thermodynamics says that the change in a system’s internal energy equals the heat added minus the work done by the system. In shorthand: ΔU = q − w. This creates a situation that surprises many students. Heat and work are both path-dependent, yet their difference, the change in internal energy, is path-independent. No matter what combination of heating, cooling, compression, or expansion you use, if you start and end at the same state, the net change in internal energy is always the same.
Think of it like a bank account. You can deposit cash, transfer funds electronically, or receive a wire from overseas. The specific transactions (the “path”) vary, but your account balance (the “state”) is simply a number determined by where things stand right now.
Common State Functions in Chemistry
Several thermodynamic quantities are defined as state functions, and each plays a distinct role.
Internal energy (U) represents the total energy contained in a system, including molecular motion and chemical bonds. Enthalpy (H) is defined as internal energy plus the product of pressure and volume (H = U + pV). It is especially useful for reactions at constant pressure, which covers most laboratory chemistry. Entropy (S) measures the dispersal of energy within a system. Gibbs free energy (G), defined as H − TS, tells you whether a process will happen spontaneously at constant temperature and pressure. All of these depend only on the system’s current temperature, pressure, and composition.
Simpler properties count too. Temperature, pressure, volume, density, and mass are all state functions. These can be classified further as intensive (independent of the amount of material, like temperature and pressure) or extensive (dependent on amount, like volume and mass). Both types qualify as state functions.
Hess’s Law: State Functions in Action
The practical payoff of enthalpy being a state function shows up in Hess’s Law. This principle states that the total enthalpy change for a reaction is the same regardless of whether it happens in one step or in a series of intermediate steps. You can break a complicated reaction into simpler ones, look up the enthalpy change for each, and add them together. The sum gives you the enthalpy change for the overall reaction.
This works precisely because enthalpy is path-independent. If it were not a state function, you could not add up the steps and trust the total. Hess’s Law is one of the most used tools in chemistry for calculating heat changes in reactions that are difficult or dangerous to measure directly.
Thermodynamic Cycles and Zero Change
Another direct consequence of path independence is what happens in a cyclic process. If a system starts in some state, goes through a series of changes, and returns to its original state, the net change in any state function is zero. The system’s internal energy, enthalpy, and entropy all return to their original values.
This is not true for path functions. A system can absorb heat and perform work during a cycle (that is exactly how engines operate), so the net heat and net work for a cycle are generally not zero. But every state function resets to its starting value because it depends only on where the system is, and the system ended up right where it began.
The State Postulate
For a simple system that exchanges only heat and pressure-volume work with its surroundings, specifying just two independent intensive properties (say, temperature and pressure) completely fixes the system’s equilibrium state. This is known as the state postulate. Once those two properties are set, every other state function, including internal energy, enthalpy, entropy, and volume, has a single definite value. You do not need to know the system’s history. Two numbers pin down everything.
This is why state functions are so central to thermodynamics. They reduce enormously complex processes to simple bookkeeping. You only need to know the starting point and the ending point, and the change in any state function follows automatically.

