Ideal Gas Law Calculator (PV = nRT)
Solve the ideal gas law PV = nRT for pressure, volume, moles or temperature.
About the Ideal Gas Law Calculator (PV = nRT)
The ideal gas law relates the pressure, volume, amount and temperature of a gas. Provide any three quantities and the calculator solves for the fourth using PV = nRT.
$$ PV = nRT $$
Use SI units: pressure in pascals (Pa), volume in cubic metres (m³), amount in moles (mol) and temperature in kelvin (K). R = 8.314 J/(mol·K). Leave exactly one field blank.
How to use this calculator
- Enter the three known values for pressure \(P\), volume \(V\), moles \(n\), and temperature \(T\).
- Choose which variable you want to solve for, pressure, volume, moles, or temperature.
- Make sure your units match the gas constant \(R\) you are using, because the calculator depends on consistent units.
- Click calculate to get the missing value and check the worked steps for the rearranged formula.
The formula explained
The formula \(PV = nRT\) computes the relationship between a gas's pressure, volume, amount in moles, and absolute temperature. You rearrange it to solve for the missing variable, for example \(P = \frac{nRT}{V}\) or \(T = \frac{PV}{nR}\).
- P = pressure of the gas
- V = volume of the gas
- n = amount of gas in moles
- R = ideal gas constant
- T = absolute temperature in kelvin
Step by step method
- Start with \(PV = nRT\).
- Move the known factors to one side to isolate the unknown, for example divide by \(V\) to solve for \(P\).
- Substitute the values and compute using consistent units.
- Check that temperature is in kelvin and that your pressure and volume units match the value of \(R\).
Worked example
Problem. A gas has volume \(V = 10.0\,\text{L}\), amount \(n = 0.50\,\text{mol}\), and temperature \(T = 300\,\text{K}\). Find the pressure \(P\) using \(R = 0.0821\,\text{L}\cdot\text{atm}/(\text{mol}\cdot\text{K})\).
- Use \(P = \frac{nRT}{V}\).
- Substitute the values, \(P = \frac{(0.50)(0.0821)(300)}{10.0}\).
- Compute \(P = 1.23\,\text{atm}\).
Answer. \(P = 1.23\,\text{atm}\)
Tips and common mistakes
- Use kelvin for temperature, not Celsius, because the ideal gas law requires absolute temperature.
- Choose a gas constant \(R\) that matches your units, for example \(0.0821\,\text{L}\cdot\text{atm}/(\text{mol}\cdot\text{K})\) or \(8.314\,\text{J}/(\text{mol}\cdot\text{K})\).
Frequently asked questions
What is R?+
The universal gas constant, 8.314 J/(mol·K) in SI units.
Must temperature be in kelvin?+
Yes, always use absolute temperature (K = °C + 273.15). Using Celsius gives wrong results.
What does "ideal" assume?+
That gas molecules have negligible volume and no intermolecular forces, a good approximation at low pressure and high temperature.
More Physics Tools
Explore related calculators in this category
AC to DC Converter Calculator
Convert AC voltage to DC voltage for different rectifier configurations. Free online calculator with instant, step-by-step results.
Acceleration Calculator
Calculate acceleration from velocity change and time.
Amount of Substance Calculator
Calculate number of moles from mass and molar mass.
Angular Acceleration Calculator
Calculate angular acceleration from change in angular velocity.
You Might Also Like
Popular tools from other categories
Dilution Calculator
Calculate dilution using C₁V₁ = C₂V₂.
Ideal Gas Law Calculator (PV = nRT)
ideal gas law calculator. Solve for pressure, volume, temperature, or moles using PV = nRT.
Molality Calculator
Calculate the molality of a solution.
Molarity Calculator
Calculate the molarity of a solution.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.