How it’s calculated
For a fixed amount of gas, pressure × volume ÷ absolute temperature stays constant. That lets you predict the new state of a gas after a change without knowing how many moles you have. Temperatures must be in kelvin; this calculator converts °C and °F for you.
The older gas laws are special cases: Boyle’s law (T constant, P₁V₁ = P₂V₂), Charles’s law (P constant, V₁/T₁ = V₂/T₂) and Gay-Lussac’s law (V constant, P₁/T₁ = P₂/T₂).
Example: 10 L of gas at 1 atm and 25 °C (298.15 K) is compressed to 2 atm and heated to 100 °C (373.15 K). V₂ = 1 × 10 × 373.15 ÷ (298.15 × 2) = 6.26 L.
Frequently asked questions
Why must I use kelvin?
The gas laws depend on absolute temperature. At 0 °C a gas does not have zero volume. The calculator converts °C and °F to kelvin before solving.
Can I mix pressure units?
Yes. Each field has its own unit picker and everything is converted to pascals internally. Just use absolute (not gauge) pressure.
Does it work if gas leaks out or is added?
No. The law assumes the amount of gas is fixed. If moles change, use the ideal gas law (PV = nRT).
What if one value stays the same?
Enter the same value for both. The calculator then tells you which classic law (Boyle, Charles or Gay-Lussac) you are using.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator