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.

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

  1. Select which variable you want to solve for: Pressure (P), Volume (V), Moles (n), or Temperature (T).
  2. Enter values for the other three variables in any supported unit.
  3. Click Calculate — the tool applies PV = nRT with the universal gas constant R = 8.314 J/(mol·K).
  4. The solved value is displayed along with a full summary table of all four variables.
  5. A step-by-step solution shows the rearranged formula and substituted values.
  6. Click Reset to clear all fields and start a new calculation.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-28 · Reviewed by Nham Vu