Gas is one of the four fundamental states of matter (solid, liquid, and plasma).
A pure gas may be made up of individual atoms (e.g. a noble gas like neon), elemental molecules made from one type of atom (e.g. oxygen), or compound molecules made from a variety of atoms (e.g. carbon dioxide). A gas mixture, such as air, contains a variety of pure gases. The vast separation of the individual gas particles distinguishes a gas from liquids and solids. This separation usually makes a colourless gas invisible to the human observer.
The gaseous state of matter occurs between the liquid and plasma states, the latter of which provides the upper-temperature boundary for gases. Bounding the lower end of the temperature scale lie degenerative quantum gases which are gaining increasing attention. High-density atomic gases super-cooled to very low temperatures are classified by their statistical behaviour as either Bose or Fermi gases. For a comprehensive listing of these exotic states of matter see the list of states of matter.
Elemental gases
The only chemical elements that are stable diatomic homonuclear molecular gases at STP are hydrogen (H2), nitrogen (N2), oxygen (O2), and two halogens: fluorine (F2) and chlorine (Cl2). When grouped together with the monatomic noble gases – helium (He), neon (Ne), argon (Ar), krypton (Kr), xenon (Xe), and radon (Rn) – these gases are referred to as "elemental gases".
Etymology
The word gas was first used by the early 17th-century Flemish chemist Jan Baptist van Helmont. He identified carbon dioxide, the first known gas other than air. Van Helmont's word appears to have been simply a phonetic transcription of the Ancient Greek word χάος Chaos – the g in Dutch being pronounced like ch in "loch" (voiceless velar fricative, /x/) – in which case Van Helmont was simply following the established alchemical usage first attested in the works of Paracelsus. According to Paracelsus's terminology, chaos meant something like "ultra-rarefied water".
An alternative story is that Van Helmont's term was derived from "gahst (or geist), which signifies a ghost or spirit". That story is given no credence by the editors of the Oxford English Dictionary. In contrast, French-American historian Jacques Barzun speculated that Van Helmont had borrowed the word from the German Gäscht, meaning the froth resulting from fermentation.
Physical characteristics
Because most gases are difficult to observe directly, they are described through the use of four physical properties or macroscopic characteristics: pressure, volume, number of particles (chemists group them by moles) and temperature. These four characteristics were repeatedly observed by scientists such as Robert Boyle, Jacques Charles, John Dalton, Joseph Gay-Lussac and Amedeo Avogadro for a variety of gases in various settings. Their detailed studies ultimately led to a mathematical relationship among these properties expressed by the ideal gas law (see simplified models below).
Gas particles are widely separated from one another and consequently, have weaker intermolecular bonds than liquids or solids. These intermolecular forces result from electrostatic interactions between gas particles. Like-charged areas of different gas particles repel, while oppositely charged regions of different gas particles attract one another; gases that contain permanently charged ions are known as plasmas. Gaseous compounds with polar covalent bonds contain permanent charge imbalances and experience relatively strong intermolecular forces, although the molecule's net charge remains neutral. Transient, randomly induced charges exist across non-polar covalent bonds of molecules, and electrostatic interactions caused by them are referred to as Van der Waals forces. The interaction of these intermolecular forces varies within a substance which determines many physical properties unique to each gas. A comparison of boiling points for compounds formed by ionic and covalent bonds leads us to this conclusion. The drifting smoke particles in the image provide some insight into low-pressure gas behaviour.
Gases have low density and viscosity than the other states of matter. Pressure and temperature influence the particles within a specific volume. This variation in particle separation and speed is referred to as compressibility. This particle separation and size influences gases' optical properties, as found in the following list of refractive indices. Finally, gas particles spread apart or diffuse to homogeneously distribute themselves throughout any container.
Macroscopic view of gases

When observing a gas, specifying a frame of reference or length scale is typical. A larger length scale corresponds to a macroscopic or global point of view of the gas. This region (referred to as a volume) must be sufficient to contain an extensive sampling of gas particles. The resulting statistical analysis of this sample size produces the "average" behaviour (i.e. velocity, temperature or pressure) of all the gas particles within the region. In contrast, a smaller length scale corresponds to a microscopic or particle point of view.
Macroscopically, the gas characteristics measured are either in terms of the gas particles themselves (velocity, pressure, or temperature) or their surroundings (volume). For example, Robert Boyle studied pneumatic chemistry for a small portion of his career. One of his experiments related to the macroscopic properties of the pressure and volume of a gas. His experiment used a J-tube manometer which looks like a test tube in the shape of the letter J. Boyle trapped an inert gas in the closed end of the test tube with a column of mercury, thereby making the number of particles and the temperature constant. He observed that when the pressure was increased in the gas, adding more mercury to the column decreased the trapped gas volume (this is known as an inverse relationship). Furthermore, when Boyle multiplied the pressure and volume of each observation, the product was constant. This relationship held for every gas that Boyle observed leading to the law (PV=k), named to honour his work in this field.
There are many mathematical tools available for analyzing gas properties. As gases are subjected to extreme conditions, these tools become more complex, from the Euler equations for inviscid flow to the Navier–Stokes equations that fully account for viscous effects. These equations are adapted to the conditions of the gas system in question. Boyle's lab equipment allowed the use of algebra to obtain his analytical results. His results were possible because he was studying gases in relatively low-pressure situations where they behaved in an "ideal" manner. These ideal relationships apply to safety calculations for a variety of flight conditions on the materials in use. The high technology equipment in use today was designed to help us safely explore the more exotic operating environments where the gases no longer behave in an "ideal" manner. This advanced math, including statistics and multivariable calculus, makes possible the solution to such complex dynamic situations as space vehicle reentry. An example is the analysis of the space shuttle reentry pictured to ensure the material properties under this loading condition are appropriate. In this flight regime, the gas is no longer behaving ideally.
Pressure
The symbol used to represent pressure in equations is "p" or "P" with SI units of pascals.
When describing a container of gas, the term pressure (or absolute pressure) refers to the average force per unit area that the gas exerts on the surface of the container. Within this volume, it is sometimes easier to visualize the gas particles moving in straight lines until they collide with the container (see the diagram at top of the article). The force imparted by a gas particle into the container during this collision is the change in momentum of the particle.[15] During a collision only the standard component of velocity changes. A particle travelling parallel to the wall does not change its momentum. Therefore, the average force on a surface must be the average linear momentum change from all these gas particle collisions.
Pressure is the sum of all the standard components of force exerted by the particles impacting the container's walls divided by the wall's surface area.
Temperature
The symbol used to represent temperature in equations is T with SI units of kelvins.
The speed of a gas particle is proportional to its absolute temperature. The volume of the balloon in the video shrinks when the trapped gas particles slow down with the addition of extremely cold nitrogen. The temperature of any physical system is related to the motions of the particles (molecules and atoms) which make up the [gas] system.[16] In statistical mechanics, the temperature is the measure of the average kinetic energy stored in a molecule (also known as thermal energy). The methods of storing this energy are dictated by the degree of freedom of the molecule (energy modes). Thermal (kinetic) energy added to a gas or liquid (an endothermic process) produces translational, rotational, and vibrational motion. In contrast, a solid can only increase its internal energy by exciting additional vibrational modes, as the crystal lattice structure prevents translational and rotational motion. These heated gas molecules have a more excellent speed range (wider distribution of speeds) with a higher average or mean speed. The variance of this distribution is due to the speeds of individual particles constantly varying due to repeated collisions with other particles. The speed range can be described by the Maxwell–Boltzmann distribution. This distribution implies ideal gases near thermodynamic equilibrium for the system of particles being considered.
Specific volume
The symbol used to represent specific volume in equations is "v" with SI units of cubic meters per kilogram.
The symbol used to represent volume in equations is "V" with SI units of cubic meters.
When performing a thermodynamic analysis, it is typical to speak of intensive and extensive properties. Properties which depend on the amount of gas (either by mass or volume) are called extensive properties, while properties that do not depend on the amount of gas are called intensive properties. Specific volume is an example of an intensive property because it is the ratio of volume occupied by a unit of mass of a gas that is identical throughout a system at equilibrium.[17] 1000 atoms a gas occupy the same space as any other 1000 atoms for any given temperature and pressure. This concept is easier to visualize for solids such as iron which are incompressible compared to gases. However, volume itself --- not specific --- is an extensive property.
Density
The symbol used to represent density in equations is ρ (rho) with SI units of kilograms per cubic meter. This term is the reciprocal of specific volume.
Since gas molecules can move freely within a container, their mass is normally characterized by density. Density is the amount of mass per unit volume of a substance, or the inverse of specific volume. For gases, the density can vary over a wide range because the particles are free to move closer together when constrained by pressure or volume. This variation of density is referred to as compressibility. Like pressure and temperature, density is a state variable of a gas and the change in density during any process is governed by the laws of thermodynamics. For a static gas, the density is the same throughout the entire container. Density is therefore a scalar quantity. It can be shown by kinetic theory that the density is inversely proportional to the size of the container in which a fixed mass of gas is confined. In this case of a fixed mass, the density decreases as the volume increases.
Microscopic view of gases

If one could observe a gas under a powerful microscope, one would see a collection of particles without any definite shape or volume in more or less random motion. These gas particles only change direction when they collide with another particle or the container's sides. This microscopic view of gas is well-described by statistical mechanics, but it can be described by many different theories. The kinetic theory of gases, which assumes that these collisions are perfectly elastic, does not account for intermolecular forces of attraction and repulsion.
Kinetic theory of gases
Kinetic theory provides insight into the macroscopic properties of gases by considering their molecular composition and motion. Starting with the definitions of momentum and kinetic energy,[18] one can use the conservation of momentum and geometric relationships of a cube to relate macroscopic system properties of temperature and pressure to the microscopic property of kinetic energy per molecule. The theory provides averaged values for these two properties.
The kinetic theory of gases can help explain how the system (the collection of gas particles being considered) responds to changes in temperature, with a corresponding change in kinetic energy.
For example: Imagine you have a sealed container of a fixed size (a constant volume), containing a fixed number of gas particles; starting from absolute zero (the theoretical temperature at which atoms or molecules have no thermal energy, i.e. are not moving or vibrating), you begin to add energy to the system by heating the container, so that energy transfers to the particles inside. Once their internal energy is above zero-point energy, meaning their kinetic energy (also known as thermal energy) is non-zero, the gas particles will begin to move around the container. As the box is further heated (as more energy is added), the individual particles increase their average speed as the system's total internal energy increases. The higher average speed of all the particles leads to a greater rate at which collisions happen (i.e. more significant number of collisions per unit of time) between particles and the container, as well as between the particles themselves.
The macroscopic, measurable quantity of pressure is the direct result of these microscopic particle collisions with the surface, over which individual molecules exert a small force, each contributing to the total force applied within a specific area. (Read "Pressure" in the above section "Macroscopic view of gases".)
Likewise, the macroscopically measurable temperature quantity quantifies the overall amount of motion or kinetic energy that the particles exhibit. (Read "Temperature" in the above section "Macroscopic view of gases".)
Thermal motion and statistical mechanics
In the kinetic theory of gases, kinetic energy is assumed to purely consist of linear translations according to a speed distribution of particles in the system. However, in real gases and other real substances, the motions which define the kinetic energy of a system (which collectively determine the temperature), are much more complex than simple linear translation due to the more complex structure of molecules, compared to single atoms which act similarly to point-masses. In real thermodynamic systems, quantum phenomena play a large role in determining thermal motions. The random, thermal motions (kinetic energy) in molecules is a combination of a finite set of possible motions including translation, rotation, and vibration. This finite range of possible motions, along with the finite set of molecules in the system, leads to a finite number of microstates within the system; we call the set of all microstates an ensemble. Specific to atomic or molecular systems, we could potentially have three different kinds of ensemble, depending on the situation: microcanonical ensemble, canonical ensemble, or grand canonical ensemble. Specific combinations of microstates within an ensemble are how we truly define macrostate of the system (temperature, pressure, energy, etc.). In order to do that, we must first count all microstates though use of a partition function. The use of statistical mechanics and the partition function is an important tool throughout all of physical chemistry, because it is the key to connection between the microscopic states of a system and the macroscopic variables which we can measure, such as temperature, pressure, heat capacity, internal energy, enthalpy, and entropy, just to name a few. (Read: Partition function Meaning and significance)
Using the partition function to find the energy of a molecule, or system of molecules, can sometimes be approximated by the Equipartition theorem, which greatly-simplifies calculation. However, this method assumes all molecular degrees of freedom are equally populated, and therefore equally utilized for storing energy within the molecule. It would imply that internal energy changes linearly with temperature, which is not the case. This ignores the fact that heat capacity changes with temperature, due to certain degrees of freedom being unreachable (a.k.a. "frozen out") at lower temperatures. As internal energy of molecules increases, so does the ability to store energy within additional degrees of freedom. As more degrees of freedom become available to hold energy, this causes the molar heat capacity of the substance to increase.[19]

Brownian motion
Brownian motion is the mathematical model used to describe the random movement of particles suspended in a fluid. The gas particle animation, using pink and green particles, illustrates how this behaviour results in the spreading out of gases (entropy). These events are also described by particle theory.
Since it is at the limit of (or beyond) current technology to observe individual gas particles (atoms or molecules), only theoretical calculations give suggestions about how they move, but their motion is different from Brownian motion because Brownian motion involves a smooth drag due to the frictional force of many gas molecules, punctuated by violent collisions of an individual (or several) gas molecule(s) with the particle. The particle (generally consisting of millions or billions of atoms) thus moves in a jagged course, yet not so jagged as would be expected if an individual gas molecule were examined.
Intermolecular forces - the primary difference between Real and Ideal gases
Forces between two or more molecules or atoms, attractive or repulsive, are intermolecular forces. Intermolecular forces are experienced by molecules when they are within physical proximity of one another. These forces are very important for adequately modelling molecular systems, as to accurately predict the microscopic behaviour of molecules in any system, and therefore, are necessary for accurately predicting the physical properties of gases (and liquids) across wide variations in physical conditions.
Arising from the study of physical chemistry, one of the most prominent intermolecular forces throughout physics are van der Waals forces. Van der Waals forces play a key role in determining nearly all physical properties of fluids such as viscosity, flow rate, and gas dynamics (see physical characteristics section). The van der Waals interactions between gas molecules are why modelling a "real gas" is more mathematically tricky than an "ideal gas". Ignoring these proximity-dependent forces allows a natural gas to be treated like an ideal gas, which dramatically simplifies the calculation.

The intermolecular attractions and repulsions between two gas molecules depend on the distance between them. The combined attractions and repulsions are well-modelled by the Lennard-Jones potential, which is one of the most extensively studied interatomic potentials describing molecular systems' potential energy. The Lennard-Jones potential between molecules can be broken down into two separate components: a long-distance attraction due to the London dispersion force, and a short-range repulsion due to electron-electron exchange interaction (which is related to the Pauli exclusion principle).
When two molecules are relatively distant (meaning they have high potential energy), they experience a weak attracting force, causing them to move toward each other, lowering their potential energy. However, if the molecules are too far away, they would not experience the attractive force of any significance. Additionally, if the molecules get too close then they will collide and experience a very high repulsive force (modelled by Hard spheres) which is a much stronger force than the attractions, so any attraction due to proximity is disregarded.
As two molecules approach each other from a distance that is neither far nor close, their attraction increases as the magnitude of their potential energy increases (becoming more negative) and lowers their total internal energy. The attraction causing the molecules to get closer can only happen if they remain in proximity for the time it takes to move closer physically. Therefore, the attractive forces are most potent when the molecules move at low speeds. This means that the attraction between molecules is significant when gas temperatures are low. However, if you were to isothermally compress this cold gas into a small volume, forcing the molecules into close proximity and raising the pressure, the repulsions will begin to dominate over the attractions, as the rate at which collisions are happening will increase significantly. Therefore, attraction is the dominant intermolecular interaction at low temperatures and low pressures.
If two molecules are moving at high speeds, in arbitrary directions, along non-intersecting paths, then they will not spend enough time in proximity to be affected by the attractive London-dispersion force. If the two molecules collide, they are moving too fast, and their kinetic energy will be much greater than any attractive potential energy, so they will only experience repulsion upon colliding. Thus, attractions between molecules can be neglected at high temperatures due to high speeds. At high temperatures and high pressures, repulsion is the dominant intermolecular interaction.
Accounting for the above-stated effects which cause these attractions and repulsions, real gases delineate from the ideal gas model by the following generalization:
- At low temperatures, and low pressures, the volume occupied by a real gas, is less than the volume predicted by the ideal gas law.
- At high temperatures, and high pressures, the volume occupied by a real gas, is greater than the volume predicted by the ideal gas law.
Mathematical models
An equation of state (for gases) is a mathematical model used to roughly describe or predict the state properties of a gas. At present, no single-state equation accurately predicts the properties of all gases under all conditions. Therefore, a number of much more accurate equations of state have been developed for gases in specific temperature and pressure ranges. The "gas models" that are most widely discussed are "perfect gas", "ideal gas" and "real gas". Each of these models has its own set of assumptions to facilitate the analysis of a given thermodynamic system.[22] Each successive model expands the temperature range of coverage to which it applies.
Ideal and perfect gas
The equation of state for an ideal or perfect gas is the ideal gas law and reads
where P is the pressure, V is the volume, n is amount of gas (in mol units), R is the universal gas constant, 8.314 J/(mol K), and T is the temperature. Written this way, it is sometimes called the "chemist's version", since it emphasizes the number of molecules n. It can also be written as
where is the specific gas constant for a particular gas, in units J/(kg K), and ρ = m/V is density. This notation is the "gas dynamicist's" version, which is more practical in modelling gas flows involving acceleration without chemical reactions.
The ideal gas law does not make an assumption about the specific heat of a gas. In the most general case, the specific heat is a function of temperature and pressure. If the pressure dependence is neglected (and possibly the temperature dependence) in a particular application, sometimes the gas is said to be a perfect gas, although the exact assumptions may vary depending on the author and/or field of science.
The ideal gas law applies without restrictions on the specific heat for an ideal gas. An ideal gas is a simplified "real gas" with the assumption that the compressibility factor Z is set to 1 meaning that this pneumatic ratio remains constant. A compressibility factor of one also requires the four state variables to follow the ideal gas law.
This approximation is more suitable for applications in engineering although simpler models can produce a "ball-park" range of where the real solution should lie. An example where the "ideal gas approximation" would be suitable would be inside a combustion chamber of a jet engine.[23] It may also be helpful to keep the elementary reactions and chemical dissociations for calculating emissions.
Real gas

Each of the assumptions listed below adds to the complexity of the problem's solution. As the density of a gas increases with rising pressure, the intermolecular forces play a more substantial role in gas behaviour, resulting in the ideal gas law no longer providing "reasonable" results. At the upper end of the engine temperature ranges (e.g. combustor sections – 1300 K), the complex fuel particles absorb internal energy using rotations and vibrations that cause their specific heats to vary from those of diatomic molecules and noble gases. At more than double that temperature, electronic excitation and dissociation of the gas particles begin to occur causing the pressure to adjust to a more significant number of particles (transition from gas to plasma).[24] Finally, all thermodynamic processes were presumed to describe uniform gases whose velocities varied according to a fixed distribution. Using a non-equilibrium situation implies the flow field must be characterized in some manner to enable a solution. One of the first attempts to expand the boundaries of the ideal gas law was to include coverage for different thermodynamic processes by adjusting the equation to read pVn = constant and then varying the n through different values such as the specific heat ratio, γ.
Real gas effects include those adjustments made to account for a more excellent range of gas behaviour:
- Compressibility effects (Z allowed to vary from 1.0)
- Variable heat capacity (specific heat varies with temperature)
- Van der Waals forces (related to compressibility, can substitute other equations of state)
- Non-equilibrium thermodynamic effects
- Issues with molecular dissociation and elementary reactions with variable composition.
For most applications, such a detailed analysis is excessive. Examples where real gas effects would have a significant impact, would be on the Space Shuttle re-entry where extremely high temperatures and pressures were present or the gases produced during geological events as in the image of the 1990 eruption of Mount Redoubt.
Permanent gas
Permanent gas is a term used for a gas which has a critical temperature below the range of average human-habitable temperatures and therefore cannot be liquefied by pressure within this range. Historically such gases were thought to be impossible to liquefy and would permanently remain in the gaseous state. The term is relevant to ambient temperature storage and transport of gases at high pressure.