What Is Internal Energy in Thermodynamics?

Internal energy is the total energy contained within a thermodynamic system due to the motion and interactions of its particles. It includes everything from the jittering of molecules bouncing around to the energy locked in chemical bonds and the forces pulling atoms toward one another. You cannot measure it with a thermometer or see it directly, but every object around you, from a cup of coffee to a block of ice, possesses it. Understanding internal energy is the key to making sense of why things heat up, cool down, change phase, or release energy during chemical reactions.

What Internal Energy Actually Includes

When physicists talk about internal energy, they are lumping together every form of energy that exists inside the boundaries of a system. One useful way to break it down is into two broad categories: the kinetic energy of particles moving around inside the system, and the energy stored in other forms within the materials the system contains.1Physical Chemistry. Internal Energy Functions of Thermodynamic Systems That second bucket covers a lot of ground. It includes the energy stored in chemical bonds, the electrical attraction and repulsion between charged particles, the vibrational energy of atoms wobbling back and forth within a molecule, and nuclear energy sitting inside atomic nuclei.

Think of a sealed container of gas. The molecules are flying around at different speeds, colliding with each other and the walls. Their collective motion contributes kinetic energy. But within each molecule, the atoms are also vibrating and rotating, and the electrons holding those atoms together carry potential energy in the bonds they form. All of that counts as internal energy. What does not count is any motion of the container itself. If you toss the container across a room, the kinetic energy of the container flying through the air is not part of the internal energy. Internal energy is strictly about what is happening inside the system’s boundaries.

Internal Energy and the First Law of Thermodynamics

The first law of thermodynamics is essentially a conservation-of-energy statement dressed up for thermal systems. It says that the change in a system’s internal energy equals the heat added to it minus the work it does on its surroundings. If you heat a gas in a piston, some of that heat goes into raising the internal energy of the gas (the molecules speed up, vibrate harder), and some goes into pushing the piston outward, which counts as work done by the gas. Whatever heat you put in has to show up as one or both of those things. Energy does not appear from nowhere or vanish into nothing.

This relationship makes internal energy the central bookkeeping quantity in thermodynamics. You might not be able to know the absolute total internal energy of a system in most practical situations, but you can track how it changes. Every time you add heat, do work on the system, or let the system do work on its surroundings, the internal energy shifts by a predictable amount. That predictability is what makes engines, refrigerators, and chemical reactors designable rather than mysterious.

Why Internal Energy Is Not the Same as Heat or Temperature

This is one of the most common stumbling blocks. Surveys of engineering students consistently find widespread confusion about the differences between temperature, heat, and internal energy.2Journal of Engineering Education. Development of the Heat and Energy Concept Inventory: Preliminary Results on the Prevalence and Persistence of Engineering Students’ Misconceptions If even engineering students struggle with it, there is no shame in finding it tricky.

Temperature is a measure of the average kinetic energy of the particles in a substance. It tells you how fast the molecules are moving on average, not how much total energy the system holds. A thimble of boiling water and a bathtub of lukewarm water can have very different internal energies despite the thimble being at a higher temperature, because the bathtub has vastly more molecules.

Heat, meanwhile, is not something a system “has.” Heat is energy in transit. It is the energy that flows from a hotter object to a cooler one because of a temperature difference. Once that energy arrives inside the system, it becomes part of the internal energy. Saying “this object contains heat” is a bit like saying “this bank account contains a deposit.” The deposit was a transfer; once it landed, it is just money in the account. Heat is the transfer; once it arrives, it is just internal energy.

This distinction matters practically. When you touch a metal railing on a cold day, the railing and the surrounding air may be at the same temperature. The railing feels colder because metal conducts heat away from your hand faster, not because it has less internal energy or is at a lower temperature. Confusing heat transfer rate with internal energy or temperature leads to wrong intuitions about everyday thermal experiences.

How Internal Energy Changes During Phase Transitions

When you heat ice at zero degrees Celsius, it starts melting. But while it melts, its temperature does not rise. The heat you are adding goes entirely into breaking the bonds holding the water molecules in their rigid crystal structure. The internal energy of the system increases even though the thermometer stays flat. This is a vivid demonstration that internal energy and temperature are not interchangeable.

The same thing happens during boiling, condensation, and other phase changes. The energy absorbed or released during these transitions, often called latent heat, shows up as a change in the potential-energy component of internal energy rather than the kinetic component. The molecules are not moving faster (which is why the temperature holds steady); instead, they are rearranging their spatial relationships to one another.

Phase transitions can be quite dramatic in terms of internal energy shifts. Studies of materials under extreme conditions, such as phosphorus at high temperature and pressure, have characterized first-order phase transitions between a dense molecular fluid and a polymeric liquid by measuring the latent heat and internal energy change across the transition.3Physical Review Letters. Nature of the first-order phase transition in fluid phosphorus at high temperature and pressure These are not gentle shifts. The internal energy can jump sharply at a phase boundary, which is exactly what “first-order transition” means in practical terms: there is a sudden rearrangement, and the system absorbs or releases a chunk of energy all at once.

Ideal Gases Versus Real Substances

In introductory courses, you often hear that the internal energy of an ideal gas depends only on temperature. That is a useful simplification, and for many dilute gases at moderate conditions, it works well. The molecules in an ideal gas are imagined as tiny billiard balls with no attractive or repulsive forces between them. All their internal energy is kinetic, so if the temperature does not change, the internal energy does not change, regardless of pressure or volume.

Real substances are messier. Molecules attract each other at moderate distances and repel each other at very short distances. These intermolecular forces mean that the internal energy of a real gas depends not just on temperature but also on how closely packed the molecules are, which is to say, on volume and pressure too. Compressing a real gas changes its internal energy even at constant temperature, because you are forcing molecules into ranges where their mutual interactions matter more.

One striking consequence involves what happens around the critical point, the specific temperature and pressure above which a substance can no longer exist as a distinct liquid or gas. Research on real-gas thermodynamics has shown that internal energy can be assigned a meaningful zero at the critical point. Above it, molecules move freely and their energy is positive. Below it, the substance separates into liquid and vapor phases: the vapor phase has positive energy driven by particle motion, while the liquid phase has negative energy dominated by intermolecular attraction pulling molecules together.4Physica B: Condensed Matter. Applied thermodynamics of the real gas with respect to the thermodynamic zeros of the entropy and internal energy The fact that internal energy can be negative might seem strange, but it simply reflects the convention: if you define zero at the critical point, then a state where molecules are bound together by attraction sits below that reference.

How Scientists Measure Changes in Internal Energy

You cannot stick a probe into a substance and read out its total internal energy the way you read a temperature. What you can measure are changes in internal energy, and the workhorse tool for doing so is the calorimeter. The basic idea is straightforward: carry out a process inside an insulated container, measure how much the temperature of the surroundings changes, and calculate how much energy was released or absorbed.

A bomb calorimeter is the most direct route to internal energy changes, as opposed to enthalpy changes, because the reaction takes place at constant volume. In a rigid sealed vessel, no expansion work is done, so all the energy released by a reaction shows up as heat, and that heat equals the change in internal energy. This technique is widely used for everything from characterizing fuels to studying biological molecules. For instance, bomb calorimetry has been used in educational settings to build calibration curves linking the internal energy of combustion to the ethanol content in different gasoline blends.5Journal of Chemical Education. Determining the Ethanol Content in Gasoline using Bomb Calorimetry By measuring how much energy each blend releases when burned, you can work backward to figure out how much ethanol was mixed in, a practical application of a concept that might otherwise seem abstract.

Open-air calorimeters, where a process happens at constant pressure instead of constant volume, measure enthalpy change rather than internal energy change directly. The two quantities are closely related. For reactions involving only solids and liquids, the difference between them is usually tiny. For reactions involving gases, where the volume can shift substantially, the distinction matters more. This is why chemists tend to work in enthalpy while physicists and engineers working with closed rigid systems lean more on internal energy.

Internal Energy Versus Enthalpy

If you have encountered thermodynamics in a chemistry class, you probably saw enthalpy far more often than internal energy. Enthalpy is defined as internal energy plus the product of pressure and volume. It might sound like an arbitrary combination, but it turns out to be the natural quantity to track when a process occurs at constant pressure, which describes most bench-top chemistry and biological processes. When a reaction happens in an open flask on your lab bench, the atmosphere provides constant pressure, and the enthalpy change tells you how much heat flows in or out.

Internal energy, by contrast, is the natural quantity for constant-volume processes. If the system cannot expand or contract, there is no pressure-volume work, and the change in internal energy equals the heat transferred. Each quantity is the more convenient one in its own setting. Neither is more “fundamental” than the other in a philosophical sense, but internal energy is the quantity that appears directly in the first law, which gives it a certain conceptual priority.

For processes where the volume change is small, enthalpy and internal energy changes are nearly identical, and you can treat them interchangeably without much error. That is the case for most reactions in solution or involving solids. When gases are produced or consumed, though, the pressure-volume term can be significant, and conflating the two leads to mistakes. A combustion reaction that produces a large volume of gas, for example, will have a noticeably different enthalpy change than internal energy change because some of the released energy goes into pushing the atmosphere out of the way.

A State Function, Not a Path Function

One of the most useful features of internal energy is that it is a state function. That means its value depends only on the current condition of the system, not on how the system got there. If you have a gas at a certain temperature, pressure, and volume, its internal energy is fixed regardless of whether you heated it gently, compressed it rapidly, or let it expand and then recompressed it. The path does not matter; only the starting and ending states do.

Heat and work, by contrast, are path functions. The amount of heat you need to add to get from state A to state B depends on how you carry out the process. You could take a long winding route or a short one, and the heat transferred along the way would differ. But the change in internal energy between A and B is always the same. This is why internal energy is so powerful for analysis: you can pick whatever path is mathematically convenient to calculate the change, and you will get the right answer regardless.

This property also explains why you can talk about “the internal energy” of a system in a given state, but you cannot talk about “the heat” of a system. Heat and work are things that happen during transitions. Internal energy is something a system possesses.

Internal Energy at Astrophysical Extremes

The concept of internal energy does not stop being useful when you leave the chemistry lab. In astrophysics, internal energy plays a critical role in understanding how stars live and die. A white dwarf, for example, is the dense remnant core left behind after a sun-like star exhausts its nuclear fuel. Its internal energy is dominated by a sea of electrons packed so tightly that quantum mechanical effects take over. These electrons resist further compression not because of thermal motion (the star has cooled considerably) but because of a quantum rule that forbids identical electrons from occupying the same state. This degeneracy pressure stabilizes the white dwarf against gravitational collapse, preventing it from shrinking further once it reaches a degenerate state.6arXiv. Equation of State of White Dwarfs and Mass-Radius Estimation in the Newtonian Limit

In this regime, the internal energy of the electron gas is not primarily thermal. Even at absolute zero, the electrons would still possess enormous kinetic energy simply because quantum mechanics forces them into progressively higher energy states as lower ones fill up. This is a striking departure from the everyday picture of internal energy, where heating something up is what increases particle motion. In a white dwarf, the internal energy remains vast even as the star cools, because the dominant contribution is quantum mechanical rather than thermal.

Neutron stars push the idea even further. Their interiors are so dense that protons and electrons merge into neutrons, and the internal energy is governed by nuclear forces and neutron degeneracy pressure. The concept of internal energy still applies, but the kinds of energy being summed up look nothing like the molecular vibrations and chemical bonds you encounter at everyday scales. The framework holds; only the ingredients change.

Why You Cannot Know the Absolute Total

A subtlety that trips people up is that thermodynamics rarely tells you the absolute internal energy of a system. It tells you how internal energy changes. The total internal energy would, in principle, include the rest-mass energy of every atom (via Einstein’s mass-energy equivalence), the binding energy of every nucleus, the energy of every electron orbital, and the thermal and configurational contributions on top of all that. In practice, most of those contributions do not change during the processes you care about, so they cancel out when you look at differences.

This is why thermodynamic tables list things like “standard internal energy of formation” relative to a reference state, not absolute numbers. You pick a convenient zero and measure everything relative to it. For real gases, one natural choice is to set internal energy to zero at the critical point, as described in research on real-gas thermodynamics.4Physica B: Condensed Matter. Applied thermodynamics of the real gas with respect to the thermodynamic zeros of the entropy and internal energy For ideal gases, it is common to set the reference at a standard temperature. The choice of zero is a convention, not a physical fact, much like choosing sea level as the zero for elevation. The mountains and valleys are real; where you put the zero line is up to you.

This reference-point freedom is part of what makes internal energy a state function rather than something with a single “true” value. Different fields and different textbooks choose different conventions, which can cause confusion when you move between chemistry, physics, and engineering literature. The physics is the same underneath; only the bookkeeping differs.