In thermodynamics, the volume of a system is an important extensive parameter for describing its thermodynamic state. The specific volume, an intensive property, is the system's volume per unit of mass. Volume is a function of state and is interdependent with other thermodynamic properties such as pressure and temperature. For example, volume is related to the pressure and temperature of an ideal gas by the ideal gas law.
The physical volume of a system may or may not coincide with a control volume used to analyze the system.
The volume of a thermodynamic system typically refers to the volume of the working fluid, such as, for example, the fluid within a piston. Changes to this volume may be made through an application of work, or may be used to produce work. An isochoric process however operates at a constant-volume, thus no work can be produced. Many other thermodynamic processes will result in a change in volume. A polytropic process, in particular, causes changes to the system so that the quantity is constant (where is pressure, is volume, and is the polytropic index, a constant). Note that for specific polytropic indexes a polytropic process will be equivalent to a constant-property process. For instance, for very large values of approaching infinity, the process becomes constant-volume.
Gases are compressible, thus their volumes (and specific volumes) may be subject to change during thermodynamic processes. Liquids, however, are nearly incompressible, thus their volumes can be often taken as constant. In general, compressibility is defined as the relative volume change of a fluid or solid as a response to a pressure, and may be determined for substances in any phase. Similarly, thermal expansion is the tendency of matter to change in volume in response to a change in temperature.
Many thermodynamic cycles are made up of varying processes, some which maintain a constant volume and some which do not. A vapor-compression refrigeration cycle, for example, follows a sequence where the refrigerant fluid transitions between the liquid and vapor states of matter.
Heat and work 
Mechanical work performed on a working fluid causes a change in the mechanical constraints of the system; in other words, for work to occur, the volume must be altered. Hence volume is an important parameter in characterizing many thermodynamic processes where an exchange of energy in the form of work is involved.
Volume is one of a pair of conjugate variables, the other being pressure. As with all conjugate pairs, the product is a form of energy. The product is the energy lost to a system due to mechanical work. This product is one term which makes up enthalpy :
where is the internal energy of the system.
The second law of thermodynamics describes constraints on the amount of useful work which can be extracted from a thermodynamic system. In thermodynamic systems where the temperature and volume are held constant, the measure of "useful" work attainable is the Helmholtz free energy; and in systems where the volume is not held constant, the measure of useful work attainable is the Gibbs free energy.
Similarly, the appropriate value of heat capacity to use in a given process depends on whether the process produces a change in volume. The heat capacity is a function of the amount of heat added to a system. In the case of a constant-volume process, all the heat affects the internal energy of the system (i.e., there is no pV-work, and all the heat affects the temperature). However in a process without a constant volume, the heat addition affects both the internal energy and the work (i.e., the enthalpy); thus the temperature changes by a different amount than in the constant-volume case and a different heat capacity value is required.
Specific volume 
Specific volume () is the volume occupied by a unit of mass of a material. In many cases the specific volume is a useful quantity to determine because, as an intensive property, it can be used to determine the complete state of a system in conjunction with another independent intensive variable. The specific volume also allows systems to be studied without reference to an exact operating volume, which may not be known (nor significant) at some stages of analysis.
The specific volume of a substance is equal to the reciprocal of its mass density. Specific volume may be expressed in , , , or .
where, is the volume, is the mass and is the density of the material.
For an ideal gas,
where, is the specific gas constant, is the temperature and is the pressure of the gas.
Specific volume may also refer to molar volume.
Gas volume 
Dependence on pressure and temperature 
Humidity exclusion 
In contrast to other gas components, water content in air, or humidity, to a higher degree depends on vaporization and condensation from or into water, which, in turn, mainly depends on temperature. Therefore, when applying more pressure to a gas saturated with water, all components will initially decrease in volume approximately according to the ideal gas law. However, some of the water will condense until returning to almost the same humidity as before, giving the resulting total volume deviating from what the ideal gas law predicted. Conversely, decreasing temperature would also make some water condense, again making the final volume deviating from predicted by the ideal gas law.
Therefore, gas volume may alternatively be expressed excluding the humidity content: Vd (volume dry). This fraction more accurately follows the ideal gas law. On the contrary Vs (volume saturated) is the volume a gas mixture would have if humidity was added to it until saturation (or 100% relative humidity).
General conversion 
To compare gas volume between two conditions of different temperature or pressure (1 and 2), assuming nR are the same, the following equation uses humidity exclusion in addition to the ideal gas law:
Where, in addition to terms used in the ideal gas law:
- pw is the partial pressure of gaseous water during condition 1 and 2, respectively
For example, calculating how much 1 liter of air (a) at 0°C, 100 kPa, pw = 0 kPa (known as STPD, see below) would fill when breathed into the lungs where it is mixed with water vapor (l), where it quickly becomes 37 °C, 100 kPa, pw = 6.2 kPa (BTPS):
Common conditions 
Some common expressions of gas volume with defined or variable temperature, pressure and humidity inclusion are:
- ATPS: Ambient temperature (variable) and pressure (variable), saturated (humidity depends on temperature)
- ATPD: Ambient temperature (variable) and pressure (variable), dry (no humidity)
- BTPS: Body Temperature (37 °C or 310 K) and pressure (generally same as ambient), saturated (47 mmHg or 6.2 kPa)
- STPD: Standard temperature (0 °C or 273 K) and pressure (760 mmHg (101.33 kPa) or 100 kPa (750.06 mmHg)), dry (no humidity)
Conversion factors 
|To convert from||To||Multiply by|
|ATPS||STPD||[(PA – Pwater S) / PS] * [TS / TA]|
|BTPS||[(PA – Pwater S)/(PA – Pwater B)] * [TB/TA] online calculator|
|ATPD||(PA – Pwater S)/PA|
|ATPD||STPD||(PA/PS) * (TS / TA)|
|BTPS||[PA/(PA – Pwater B) * (TB / TA)|
|ATPS||PA/(PA – Pwater S)|
|Unless else specified in table, then reference is:|
Partial volume 
The partial volume of a particular gas is the volume which the gas would have if it alone occupied the volume, with unchanged pressure and temperature, and is useful in gas mixtures, e.g. air, to focus on one particular gas component, e.g. oxygen.
It can be approximated both from partial pressure and molar fraction:
See also 
- Cengel, Yunus A.; Boles, Michael A. (2002). Thermodynamics: an engineering approach. Boston: McGraw-Hill. p. 11. ISBN 0-07-238332-1.
- A. D. McNaught, A. Wilkinson (1997). Compendium of Chemical Terminology, The Gold Book (2nd ed.). Blackwell Science. ISBN 0-86542-684-8.
- Page 113 in: Exercise Physiology: Basis of Human Movement in Health and Disease By Stanley P Brown, Wayne C Miller, Jane M Eason Edition: illustrated Published by Lippincott Williams & Wilkins, 2006 ISBN 0-7817-7730-5, 978-0-7817-7730-8 672 pages
- Page 200 in: Medical biophysics. Flemming Cornelius. 6th Edition, 2008.