Ideal Gas Calculator
Enter any three of P, V, n, and T and instantly solve for the missing variable using the ideal gas law PV = nRT.
Ideal Gas Law Inputs
Enter three known values and select which variable to solve for.
P × V = n × R × T
R = 8.314 J mol-1 K-1
mol
Select a variable to solve for, fill in the other three, then click Calculate.
Solved Variable
All Values Summary
| Variable | Description | Value |
|---|
Step-by-Step Solution
Summary
Enter any three of P, V, n, and T and instantly solve for the missing variable using the ideal gas law PV = nRT.
How it works
- Select which variable you want to solve for: Pressure (P), Volume (V), Moles (n), or Temperature (T).
- Enter values for the other three variables in any supported unit.
- Click Calculate — the tool applies PV = nRT with the universal gas constant R = 8.314 J/(mol·K).
- The solved value is displayed along with a full summary table of all four variables.
- A step-by-step solution shows the rearranged formula and substituted values.
- Click Reset to clear all fields and start a new calculation.
Use cases
- Calculate the pressure of a gas in a sealed container given its volume, moles, and temperature.
- Determine how many moles of gas are present from measured pressure, volume, and temperature.
- Find the temperature needed to achieve a target pressure at a known volume and mole count.
- Solve chemistry homework and exam problems involving the ideal gas law.
- Verify laboratory measurements by cross-checking PVT relationships.
- Convert between pressure, volume, and temperature units while solving gas law equations.
- Model gas behavior in engineering and thermodynamics applications.
- Prepare for AP Chemistry, university general chemistry, or standardized science exams.
Frequently Asked Questions
Related tools
Last updated: 2026-05-28 ·
Reviewed by Nham Vu