On this page
Thermodynamics tracks energy as it moves as heat and work. These ten formulas cover the questions that come up most in mechanical design: how much heat a part needs, how much work a gas does, and how efficient a cycle can be. Temperatures in gas and efficiency formulas are always absolute (kelvin): T(K) = T(°C) + 273.15.
Values for air used below
R = 287 J/kg·K, c_p = 1005 J/kg·K, c_v = 718 J/kg·K, γ = c_p/c_v = 1.4. Water: c = 4.18 kJ/kg·K.
1. Ideal gas law
| Symbol | Meaning | SI unit |
|---|---|---|
| Absolute pressure | Pa | |
| Volume | m³ | |
| Mass of gas | kg | |
| Specific gas constant (287 J/kg·K for air) | J/kg·K | |
| Absolute temperature | K |
Assumptions: the gas behaves ideally, which holds well for air at ordinary pressures and temperatures and poorly near condensation. Use absolute pressure, not gauge pressure.
Worked example
A 50 litre tank holds air at 800 kPa absolute and 27 °C. Find the mass of air.
2. First law for a closed system
| Symbol | Meaning | SI unit |
|---|---|---|
| Heat added to the system | J | |
| Work done by the system | J | |
| Change in internal energy | J |
Assumptions: a fixed mass with no flow in or out, and kinetic and potential energy changes ignored. Sign convention: heat in is positive, work out is positive.
Worked example
Gas in a cylinder receives 50 kJ of heat and pushes the piston out, doing 20 kJ of work.
3. Sensible heat
| Symbol | Meaning | SI unit |
|---|---|---|
| Heat added or removed | J | |
| Mass | kg | |
| Specific heat capacity | J/kg·K | |
| Temperature change (K and °C steps are the same) | K |
Assumptions: no change of phase, and constant specific heat over the range. Melting or boiling needs latent heat, , on top.
Worked example
How long does a 2 kW heater take to warm 2 kg of water from 20 °C to 80 °C, ignoring losses?
4. Work at constant pressure
| Symbol | Meaning | SI unit |
|---|---|---|
| Boundary work done by the gas | J | |
| Constant pressure | Pa | |
| Initial and final volume | m³ |
Assumptions: a slow (quasi-static) process at constant pressure, for example a gas under a free piston with a fixed weight.
Worked example
Gas expands at a constant 200 kPa from 0.1 m³ to 0.3 m³.
5. Isothermal work
| Symbol | Meaning | SI unit |
|---|---|---|
| Work done by the gas | J | |
| Constant absolute temperature | K | |
| Initial and final volume | m³ |
Assumptions: an ideal gas at constant temperature, which needs slow compression with heat flowing out (or slow expansion with heat flowing in). Since , the heat equals the work.
Worked example
0.1 kg of air at 300 K is slowly compressed from 0.08 m³ to 0.02 m³ at constant temperature.
6. Reversible adiabatic process
| Symbol | Meaning | SI unit |
|---|---|---|
| Ratio of specific heats, (1.4 for air) | none | |
| Initial and final absolute pressure | Pa | |
| Initial and final absolute temperature | K | |
| Work done by the gas | J |
Assumptions: no heat transfer and no friction (isentropic), ideal gas with constant specific heats. Fast compression in an engine or compressor is close to this. For a real process with some heat transfer, replace with a polytropic index .
Worked example
Air at 100 kPa and 300 K is compressed adiabatically to 1 MPa. Find the final temperature and the work per kilogram.
7. Steady flow energy equation
| Symbol | Meaning | SI unit |
|---|---|---|
| Heat transfer rate into the device | W | |
| Shaft power out of the device | W | |
| Mass flow rate | kg/s | |
| Specific enthalpy ( for an ideal gas) | J/kg | |
| Flow velocity | m/s | |
| Height | m |
Assumptions: steady flow, one inlet and one outlet. It covers turbines, compressors, pumps, nozzles, diffusers and heat exchangers; drop the terms that are small for each device.
Worked example
Air enters an insulated nozzle at 400 K with negligible velocity and leaves at 350 K. Find the exit velocity. There is no heat, no shaft work and no height change, so:
8. Carnot efficiency
| Symbol | Meaning | SI unit |
|---|---|---|
| Thermal efficiency, work out / heat in | none | |
| Absolute temperature of the hot source | K | |
| Absolute temperature of the cold sink | K |
Assumptions: a fully reversible engine. No real engine reaches it; it is the upper limit for any engine working between those two temperatures.
Worked example
What is the best possible efficiency of an engine taking heat at 800 K and rejecting it at 300 K?
9. Coefficient of performance
| Symbol | Meaning | SI unit |
|---|---|---|
| Heat removed from the cold space | J (or W) | |
| Heat delivered to the warm space | J (or W) | |
| Work (or power) input | J (or W) |
Assumptions: steady operation, with . The Carnot limit is .
Worked example
A cold room unit removes 3 kW of heat and its compressor draws 1 kW.
10. Entropy change
| Symbol | Meaning | SI unit |
|---|---|---|
| Change in entropy | J/K | |
| , | Specific heat | J/kg·K |
| Absolute temperatures | K |
Assumptions: constant specific heats. The second law says the total entropy of a system and its surroundings can only rise, which is why every real process has losses.
Worked example
Find the entropy change when 1 kg of water is heated from 20 °C to 80 °C.
Key points
- Always use absolute temperature (K) and absolute pressure in gas laws and efficiency formulas.
- Write the first law with a clear sign convention before putting numbers in.
- On a p–V diagram, the area under the process line is the work.
- The Carnot efficiency is a ceiling, not a target: real engines reach a fraction of it.