Register in 30 seconds, save hours

Please log in or sign up to use this feature.

Calculate values based on the ideal gas law

Ideal Gas Law Calculator (PV = nRT)

Values

Calculate

Select which value you would like to calculate

(P) Pressure

(V) Volume

(n) Moles

(T) Temperature

Results

PV=nRT Ideal Gas Law Calculator

Use this PV=nRT calculator to quickly solve for pressure, volume, moles, or temperature using the ideal gas law. Enter the three known values, choose the appropriate unit for each value, and the calculator instantly determines the unknown variable. Pressure can be displayed in atmospheres (atm) or mmHg/torr, volume can be entered in liters (L) or milliliters (mL), and temperature can be entered in Celsius (°C), Kelvin (K), or Fahrenheit (°F). The calculator handles the necessary unit conversions automatically, making it useful for chemistry homework, gas law problems, laboratory calculations, and studying the ideal gas law.

Read more

How to use the PV=nRT calculator:

  1. Select the variable you want to calculate: Pressure, Volume, Moles, or Temperature.
  2. Enter the three known values in their corresponding input fields.
  3. Use the unit toggle next to each value to select the appropriate unit.
  4. The calculator instantly calculates the missing value.
  5. Answers are provided in all units automatically.

What Is the Ideal Gas Law?

The ideal gas law describes the relationship between the pressure, volume, amount, and temperature of an ideal gas. The formula is:

PV = nRT

In this equation, P represents pressure, V represents volume, n represents the number of moles of gas, R is the ideal gas constant, and T represents absolute temperature.

Solving for Each Variable

The PV=nRT equation can be rearranged to solve for any one of its four main variables:

  • Pressure: P = nRT / V
  • Volume: V = nRT / P
  • Moles: n = PV / RT
  • Temperature: T = PV / nR

Units and Conversions

This calculator supports several common units used in ideal gas law problems. Pressure can be entered or displayed as atm or mmHg/torr. Volume can be entered in L or mL. Temperature can be entered in °C, K, or °F. When necessary, the calculator converts the values internally so the appropriate form of the gas constant can be used. Additionally, answers are displayed in multiple units as well.

When working with the ideal gas law, remember that calculations involving temperature require an absolute temperature scale. If you enter Celsius or Fahrenheit, the calculator converts it to Kelvin before performing the calculation.

Ideal Gas Constant

The value of R depends on the units being used. A common chemistry form is R = 0.082057 L·atm/(mol·K) when pressure is measured in atmospheres and volume is measured in liters. Using consistent units is essential for obtaining the correct result.

FAQ

What does a PV=nRT calculator calculate?

A PV=nRT calculator uses the ideal gas law to solve for pressure, volume, moles, or temperature when the other three values are known.

What is the formula for the ideal gas law?

The ideal gas law formula is PV = nRT, where P is pressure, V is volume, n is moles, R is the ideal gas constant, and T is temperature in Kelvin.

Can I enter temperature in Celsius or Fahrenheit?

Yes. You can select Celsius, Kelvin, or Fahrenheit using the temperature unit toggle. The calculator converts the temperature to Kelvin as needed for the ideal gas law calculation.

Can I use mL instead of L for volume?

Yes. Select mL from the volume unit toggle. The calculator handles the conversion between milliliters and liters automatically.

Can pressure be calculated in both atm and mmHg?

Yes. When calculating pressure, the result is shown in both atm and mmHg/torr, allowing you to use the unit most appropriate for your problem.

What units should I use for the ideal gas law?

The units must be consistent with the value of the ideal gas constant being used. A common combination is liters for volume, atmospheres for pressure, moles for amount of gas, and Kelvin for temperature.