Ideal Gas Law Calculator

Pick what you want to solve forPressure, Volume, Temperature, or Moles — then fill in the remaining known values with your preferred units, and this Ideal Gas Law Calculator returns the calculated value alongside the formula used and the Gas Constant (R) for full transparency.

mol

Results

Calculated Value

--

Unit

--

Formula Used

--

Gas Constant (R)

--

Frequently Asked Questions

What is the ideal gas law equation?

The ideal gas law equation is PV = nRT, where P is pressure, V is volume, n is the number of moles, R is the gas constant (8.314 J/mol·K), and T is temperature in Kelvin.

What is an ideal gas?

An ideal gas is a theoretical gas composed of randomly moving point particles that don't interact except through elastic collisions. Real gases approximate ideal behavior at high temperatures and low pressures.

When can I use the ideal gas law?

The ideal gas law works best for gases at high temperatures and low pressures. It's less accurate for gases near their condensation point or at very high pressures where intermolecular forces become significant.

What is the value of the gas constant R?

The universal gas constant R = 8.314 J/(mol·K) or 0.08206 L·atm/(mol·K). The value depends on the units used for pressure, volume, and temperature in your calculation.

How do I calculate the temperature of a gas given moles, volume and pressure?

To find temperature, rearrange PV = nRT to T = PV/(nR). Convert pressure to Pa, volume to m³, and the result will be in Kelvin. Then convert to your desired temperature unit if needed.

What is the pressure of 0.1 moles of gas at 50°C in a cubic meter?

Using PV = nRT: P = nRT/V = (0.1 mol)(8.314 J/mol·K)(323.15 K)/(1 m³) = 268.6 Pa or about 0.00265 atm.

What units can I use for each variable?

Pressure: atm, Pa, kPa, bar, torr, mmHg. Volume: L, mL, m³, cm³, dm³. Temperature: K, °C, °F, °R. Moles are always in mol. The calculator automatically converts between units.

Why do I need to specify which variable to solve for?

The ideal gas law equation has four variables (P, V, n, T). To solve for one unknown variable, you must provide the other three known values. This calculator solves for whichever variable you select.

More Chemistry Tools