Volume (thermodynamics)
{{#invoke:Hatnotehatnote}} Template:Infobox Physical quantity
{{#invoke:Sidebar collapsible  bodyclass = plainlist  titlestyle = paddingbottom:0.3em;borderbottom:1px solid #aaa;  title = Thermodynamics  imagestyle = display:block;margin:0.3em 0 0.4em;  image =  caption = The classical Carnot heat engine  listtitlestyle = background:#ddf;textalign:center;  expanded = System properties
 list1name = branches  list1title = Branches  list1 = Template:Startflatlist
 list2name = laws  list2title = Laws  list2 = Template:Startflatlist
 list3name = systems  list3title = Systems  list3 =
State 

Processes 
Cycles 
 list4name = sysprop  list4title = System properties
 list4 =
Functions of state 

Process functions 
 list5name = material  list5title = Material properties  list5 =
 list6name = equations  list6title = Equations  list6 = Template:Startflatlist
 Maxwell relations
 Onsager reciprocal relations
 Bridgman's equations
 Table of thermodynamic equations
 list7name = potentials  list7title = Potentials  list7 = Template:Startflatlist
 list8name = hist/cult  list8title = Template:Hlist  list8 =
History 

Philosophy 
Theories 

Key publications 
Timelines 
Template:Hlist 
 list9name = scientists  list9title = Scientists  list9 = Template:Startflatlist
 Bernoulli
 Carnot
 Clapeyron
 Clausius
 Carathéodory
 Duhem
 Gibbs
 von Helmholtz
 Joule
 Maxwell
 von Mayer
 Onsager
 Rankine
 Smeaton
 Stahl
 Thompson
 Thomson
 Waterston
 below = Book:Thermodynamics
}} 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.
Overview
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 constantvolume, 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 constantproperty process. For instance, for very large values of approaching infinity, the process becomes constantvolume.
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 vaporcompression refrigeration cycle, for example, follows a sequence where the refrigerant fluid transitions between the liquid and vapor states of matter.
Typical units for volume are (cubic meters), (liters), and (cubic feet).
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 constantvolume process, all the heat affects the internal energy of the system (i.e., there is no pVwork, 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 constantvolume case and a different heat capacity value is required.
Specific volume
{{#invoke:see alsoseealso}} Specific volume () is the volume occupied by a unit of mass of a material.^{[1]} 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
The volume of gas increases proportionally to absolute temperature and decreases inversely proportionally to pressure, approximately according to the ideal gas law:
where:
 p is the pressure
 V is the volume
 n is the amount of substance of gas (moles)
 R is the gas constant, 8.314 J·K^{−1}mol^{−1}
 T is the absolute temperature
To simplify, a volume of gas may be expressed as the volume it would have in standard conditions for temperature and pressure, which are 0 °C and 100 kPa.^{[2]}
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: V_{d} (volume dry). This fraction more accurately follows the ideal gas law. On the contrary V_{s} (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:
 p_{w} 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, p_{w} = 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, p_{w} = 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 conditions for temperature and pressureStandard temperature (0 °C or 273 K) and pressure (Template:Convert or Template:Convert)]], dry (no humidity)
Conversion factors
The following conversion factors can be used to convert between expressions for volume of a gas:^{[3]}
To convert from  To  Multiply by 

ATPS  STPD  [(P_{A} – P_{water S}) / P_{S}] * [T_{S} / T_{A}] 
BTPS  [(P_{A} – P_{water S})/(P_{A} – P_{water B})] * [T_{B}/T_{A}] online calculator  
ATPD  (P_{A} – P_{water S})/P_{A}  
ATPD  STPD  (P_{A}/P_{S}) * (T_{S} / T_{A}) 
BTPS  [P_{A}/(P_{A} – P_{water B}) * (T_{B} / T_{A})  
ATPS  P_{A}/(P_{A} – P_{water S})  
BTPS  STPD  [(P_{A} – P_{water B}) / P_{S}] * [T_{S} / T_{B}] 
ATPS  [(P_{A} – P_{water B})/(P_{A} – P_{water S})] * [T_{A}/T_{B}]  
ATPD  [(P_{A} – P_{water B})/P_{A}] * ["T"_{A}/T_{B}]  
STPD  BTPS  [P_{S} / (P_{A}  P_{water B})] * [T_{B} / T_{S}] 
ATPS  [P_{S} / (P_{A}  P_{water S})] * [T_{A} / T_{S}]  
ATPD  [P_{S} / P_{A}] * [T_{A} / T_{S}]  
Legend:

Partial volume
{{#invoke:see alsoseealso}} 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:^{[4]}

 V_{x} is the partial volume of any individual gas component (X)
 V_{tot} is the total volume in gas mixture
 P_{x} is the partial pressure of gas X
 P_{tot} is the total pressure in gas mixture
 n_{x} is the amount of substance of a gas (X)
 n_{tot} is the total amount of substance in gas mixture