Loading…

The Ideal Gas Equation

General Chemistry • Gases

View all topics

Ideal Gas Equation (select \(R\) units)

The ideal gas equation is \(PV = nRT\). Use this calculator to solve for any one of \(P,\ V,\ n,\) or \(T\). Choose a value of the gas constant \(R\); the required pressure/volume units will automatically match the units of \(R\). Optionally, supply mass and molar mass to compute \(n\) via \(n=m/M\).

Using \(R=8.314462618\ \mathrm{Pa\,m^3\,mol^{-1}\,K^{-1}}\): requires \(P\) in Pa and \(V\) in m³.

Temperature is treated on the absolute scale (Kelvin).

Optional mass route: if both fields below are provided and \(n\) is blank, the calculator uses \(n=m/M\).

All computations use the selected \(R\) units exactly (no hidden conversions for \(P\) or \(V\)). LaTeX steps below show the algebra and substitutions.

Ready

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the ideal gas law equation used by this calculator?

It uses PV = nRT, where P is pressure, V is volume, n is amount in moles, T is absolute temperature in kelvin, and R is the gas constant in compatible units.

Why do I have to choose a specific R value and matching units?

Each R form is tied to particular pressure and volume units (for example kPa and L, or Pa and m^3). Using matching units avoids hidden conversions and keeps the unit cancellation consistent.

Can I use Celsius or Fahrenheit directly in PV = nRT?

No. Temperature must be on the absolute scale, so the calculator converts C or F to K before computing; using C or F directly in the formula gives incorrect results.

How does the calculator find moles from mass and molar mass?

If n is blank and both m and M are provided, it computes n = m/M, then substitutes that n into PV = nRT to solve for the selected unknown.