This calculator solves the combined gas law, which links the pressure, volume and temperature of a fixed amount of gas as it changes from one state to another. The combined gas law states that pressure times volume divided by temperature stays constant, so the initial pressure times volume over temperature equals the final pressure times volume over temperature. It elegantly rolls together the three classic gas laws: Boyle's law, that pressure and volume are inversely related at constant temperature; Charles's law, that volume is proportional to temperature at constant pressure; and Gay-Lussac's law, relating pressure and temperature. Because it connects a before and after state, it is exactly what you need for the common problem of a gas being compressed, heated or cooled and asking what happens to the remaining quantity. This tool solves for whichever variable you choose. You enter the initial pressure, volume and temperature, the two known values of the final state, and select which final quantity you want to find, and the calculator works it out. It also shows the value of pressure times volume over temperature for both states, which should match, confirming the law holds. Temperature must be in absolute units, kelvin, because the law depends on absolute temperature; using degrees Celsius gives wrong answers, a very common mistake. The results update as you type. Use it for chemistry and physics homework, for gas problems in engineering, or to predict how a gas responds to changing conditions. Pressure and volume can be in any consistent units, since they appear on both sides, as long as you keep them the same throughout. The calculation is rounded for display.
P1V1/T1 = P2V2/T2. Temperature MUST be in kelvin. Pressure and volume can be any units if consistent on both sides. When solving for V2 or P2, T2 is read from its field.
The combined gas law keeps pressure times volume divided by temperature constant. Rearranged, the final temperature is the final pressure times final volume times initial temperature, divided by the initial pressure times initial volume. Solving for final volume or pressure rearranges the same equation. Temperature must be absolute, in kelvin.
A gas starts at 1 atmosphere, 2 litres and 300 kelvin. It is compressed to 2 atmospheres while the volume stays at 2 litres. Solving for the final temperature: 2 times 2 times 300, divided by 1 times 2, equals 600 kelvin. The quantity pressure times volume over temperature is 0.00667 in both states, confirming the result.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.