The speed–density pressure triangle is the relationship among air pressure, air density, and temperature in the ideal-gas model. This calculator uses absolute pressure and temperature to find air density, or uses density with either pressure or temperature to solve for the remaining quantity.
Formula
The calculator applies the ideal-gas density equation, rearranged according to the selected unknown:
ρ = pM / (RT), p = ρRT / M, or T = pM / (ρR).
- ρ is air density in kilograms per cubic metre (kg/m³).
- p is absolute pressure in pascals (Pa). The calculator accepts kilopascals (kPa) and converts to Pa by multiplying by 1,000.
- T is absolute temperature in kelvins (K). The calculator accepts degrees Celsius and converts by adding 273.15.
- M is the molar mass of dry air, taken here as 0.0289652 kg/mol.
- R is the molar gas constant, 8.31446261815324 J/(mol·K).
The phrase “pressure triangle” is a memory aid for the relationship among pressure, density, and temperature; it is not a separate physical law. The ideal-gas equation is the underlying model. In the calculator, the dropdown selects which quantity to calculate. The other two values must be supplied, even though all three appear in the equation.
Worked Example
Using the defaults, select Density. The inputs are p = 101.325 kPa and t = 20 °C. Convert the units first:
T = 20 + 273.15 = 293.15 K
p = 101.325 × 1,000 = 101,325 Pa
Then apply ρ = pM/(RT):
ρ = (101,325 Pa × 0.0289652 kg/mol) / (8.31446261815324 J/(mol·K) × 293.15 K)
ρ ≈ 1.2041 kg/m³
The displayed result is 1.2041 kg/m³ to four decimal places. Small differences in the last digit can arise if a different conventional value for dry-air molar mass is used.
Assumptions
- Air behaves as an ideal gas under the stated conditions.
- The gas is treated as dry air with a fixed molar mass of 0.0289652 kg/mol.
- Pressure is absolute, not gauge pressure.
- Temperature is uniform and is converted to kelvins for the equation.
What the Speed–Density Relationship Means
In the ideal-gas model, pressure rises when a fixed amount of gas is confined to a smaller volume, while density describes how much mass occupies each unit of volume. Temperature measures the gas’s thermal state; at fixed pressure, warmer gas has lower density, while at fixed density, warmer gas corresponds to higher pressure.
These dependencies explain the triangle mnemonic. If pressure and temperature are known, density follows from ρ = pM/(RT). For instance, at unchanged pressure, increasing absolute temperature increases the denominator and therefore reduces calculated density. If density and temperature are known instead, p = ρRT/M gives the pressure. The rearranged temperature equation is T = pM/(ρR).
“Speed density” can also refer to an engine air-estimation method. In that context, engine speed, intake-manifold pressure, intake temperature, engine displacement, and volumetric efficiency are used to estimate the mass of air entering the engine. That is a related application, not the same calculation as this pressure–density–temperature calculator: engine speed is not an input here, and the simple gas equation does not by itself calculate engine airflow or fuel requirements.
Pressure, Gauge Readings, and Air Density
One of the most important practical distinctions is absolute versus gauge pressure. Absolute pressure is measured relative to a vacuum; gauge pressure is measured relative to surrounding atmospheric pressure. The ideal-gas equation requires absolute pressure. At sea level, a gauge reading of zero corresponds approximately to atmospheric pressure, not zero absolute pressure. Using a gauge value directly can therefore produce a meaningless density result.
To convert a gauge reading, add the local atmospheric pressure, expressed in the same units. Atmospheric pressure varies with altitude and weather, so the standard atmosphere value of 101.325 kPa is only a reference. If a local absolute-pressure measurement is available, use it directly.
Air density also depends on humidity and composition. Water vapour changes the mixture’s average molar mass, so humid air does not exactly match the fixed dry-air assumption in this calculator. For many introductory estimates, dry air is a reasonable model; precision work may need humidity and local atmospheric conditions included.
When This Calculation Is Useful—and Its Limits
The relationship is useful for checking how atmospheric conditions affect a gas sample, comparing air density across temperatures or pressures, and learning how the ideal-gas law is rearranged. It can also support preliminary engineering estimates where dry air behaves sufficiently close to an ideal gas.
It is not a complete model for every gas or condition. Real gases deviate from ideal behaviour, especially at high pressures or near condensation. The calculator also does not account for altitude-dependent atmospheric profiles, changing humidity, mixtures other than dry air, or temperature gradients. For those applications, use measured properties or an appropriate real-gas and mixture model.
Finally, the equation describes a thermodynamic state; it does not calculate flow speed. Flow speed requires additional information such as geometry, pressure differences, losses, or a measured flow rate. A pressure–density–temperature triangle should not be mistaken for a flow equation.
Common Mistakes
- Entering gauge pressure as absolute: convert gauge pressure by adding local atmospheric pressure first.
- Mixing units: this calculator accepts kPa and °C, but the formula uses Pa and K. The conversions are built into its expressions.
- Using Celsius directly: gas-law equations require absolute temperature. At 0 °C, the gas is at 273.15 K, not 0 K.
- Assuming speed means velocity: the “speed density” engine method has extra inputs and calculations; this calculator finds only a pressure, density, or temperature relationship.
- Reporting excessive precision: the displayed digits do not make the dry-air and ideal-gas assumptions exact. Round results to match the quality of the input data.
Frequently Asked Questions
What is the formula for the pressure–density–temperature triangle?
The ideal-gas relationship is ρ = pM/(RT). Rearranging gives p = ρRT/M and T = pM/(ρR).
Does the calculator use absolute or gauge pressure?
It requires absolute pressure. If your reading is gauge pressure, add local atmospheric pressure before entering it.
Why must temperature be in kelvins?
The gas-law relationship uses temperature measured from absolute zero. Convert Celsius to kelvins by adding 273.15.
Is this the same as speed-density engine tuning?
No. Engine speed-density systems estimate intake-air mass using engine speed and other engine-specific factors. This calculator only relates pressure, density, and temperature for dry air.
Does humidity change the answer?
Yes. Humidity changes air’s mixture properties. This calculator assumes dry air with a fixed molar mass, so it does not make a humidity correction.
Related
Formula used
in p | Absolute pressure | kPa | 101.325 | 0.001 in t | Temperature | °C | 20 | -273.15 in d | Air density | kg/m³ | 1.2041 | 0 sel solve | Solve for | Density=1, Pressure=2, Temperature=3 out x | Requested value | kg/m³ or kPa or °C | (solve - 1) * 101.325 * 0.0289652 / (8.31446261815324 * (t + 273.15)) + (solve - 2) * d * 8.31446261815324 * (t + 273.15) / (0.0289652 * 1000) + (solve - 3) * (p * 1000 * 0.0289652 / (d * 8.31446261815324) - 273.15) | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Heat Gain and Loss Calculator for Calorimetry4,184.00 J
- Heat Output Calculator kW: Estimate Thermal Power1.395 kW
- Heat Calculation: Formula, Example, and Limits41,840 J
- Heat Energy Released Formula and Worked Example23,012 J
- Heat Transfer Equation for q: Formula and Examples41,840 J
- Heat Rate Formula: Calculate Energy per Unit Time166.67 W