🫧

Ideal Gas Law Calculator

Solve PV = nRT for any variable. Also includes the combined gas law P₁V₁/T₁ = P₂V₂/T₂ for before/after comparisons.

PV = nRT
R = 8.314 J/(mol·K) = 0.08206 L·atm/(mol·K)
SOLVE FOR:
mol

About Ideal Gas Law Calculator

Scientific calculations require precision and understanding of the underlying formulas. Ideal Gas Law Calculator provides both — letting you solve pv = nrt for any variable. also includes the combined gas law p₁v₁/t₁ = p₂v₂/t₂ for before/after comparisons with instant results and educational context. Perfect for homework, lab work, or quick engineering estimates.

How to Use

1
Enter your known values Fill in the input fields with the values you have. The tool will calculate the unknowns.
2
Select units if applicable Choose the correct units for your calculation to ensure accurate results.
3
Review the solution Check the calculated result along with any formulas, steps, or diagrams shown.
4
Explore different values Change inputs to see how different values affect the outcome. Great for building scientific intuition.
🔒 Privacy note: All processing happens locally in your browser. Your data is never sent to any server.

Why Use Ideal Gas Law Calculator?

🔬
Verified Formulas Ideal Gas Law Calculator implements standard scientific formulas from physics, chemistry, and mathematics textbooks. Results you can trust for homework, research, and engineering.
📐
Step-by-Step Solutions Where applicable, see not just the answer but the calculation steps. Perfect for learning and verifying your own work.
Instant Computation Complex calculations that take minutes by hand are solved in milliseconds. Explore different scenarios and parameters quickly.
🎓
Great for Students Whether you're in high school physics or graduate-level engineering, Ideal Gas Law Calculator helps you check your work and build intuition for the underlying concepts.

Frequently Asked Questions

The ideal gas law PV = nRT relates the pressure (P), volume (V), amount (n in moles), and temperature (T in Kelvin) of an ideal gas. R = 8.314 J/(mol·K) is the universal gas constant. The law assumes gas molecules have no volume and no intermolecular forces — a good approximation at low pressures and high temperatures.
The ideal gas law becomes inaccurate at high pressures (when molecules are close together and intermolecular forces matter) and low temperatures (near the liquefaction point). Real gases are better modeled by the van der Waals equation: (P + a/V²)(V - b) = nRT, where a accounts for attractions and b for molecular volume.
STP is defined as 0°C (273.15 K) and 1 atm (101,325 Pa). At STP, one mole of an ideal gas occupies exactly 22.414 liters. IUPAC also defines SATP (Standard Ambient Temperature and Pressure) as 25°C and 1 bar, where one mole occupies 24.789 liters. STP is commonly used in stoichiometry calculations.