Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Ideal Gas Law Calculator

solve PV = nRT

  • Free
  • Runs in your browser
  • No account needed

Calculate pressure, volume, moles or temperature from PV = nRT instantly in your browser. Example: at 1.00 atm and 273.15 K, one mole occupies 22.414 L under those conditions. Results show the missing value and temperature in kelvin.

Answer
22.414 L
Temperature in kelvin
273.15 K
Check
PV = nRT holds with R = 8.314 J/(mol K) = 0.08206 L atm/(mol K)

Real gases differ from ideal behaviour at high pressure and low temperature.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Ideal Gas Law Calculator

This tool solves PV = nRT for any one unknown: pressure, volume, amount (mol) or temperature. You type values and units, and the page updates results instantly as you type. It converts all inputs to SI units (Pa, m3, K), uses the CODATA molar gas constant, and converts the answer back into the units you chose. The tool runs in your browser, so calculations complete on your device and no sign-in is required. You can copy results, view the worked steps, and share a link that reopens with your inputs. Teachers, students, lab technicians and engineers use it for homework checks, quick estimates and classroom demos. The page also reminds you that real gases deviate from ideal behaviour at high pressure and low temperature.

How to use it

  1. 1Select which variable to find: Pressure (P), Volume (V), Amount (n) or Temperature (T).
  2. 2Enter the other three values and choose their units (pressure, volume, temperature).
  3. 3Watch the result update instantly and view the temperature converted to kelvin.
  4. 4Copy the numeric result or share a link that reopens with your inputs.
Advertisement

Worked example

Find Pressure. Inputs: Volume = 22.414 L; Amount = 1.000 mol; Temperature = 0 °C. Result: Pressure = 1.000 atm (101.325 kPa); Temperature in kelvin = 273.15 K. Check: PV = nRT.

The formula

Ideal gas law: PV = nRT, with R = 8.314462618 J/(mol K) (0.082057 L atm/(mol K))All values are converted to SI units first (Pa, cubic metres, K), solved, and converted back: 1 atm = 101,325 Pa, 1 bar = 100,000 Pa, 1 mmHg = 133.322 Pa, 1 psi = 6,894.76 Pa; K = °C + 273.15At 0 °C and 1 atm one mole of an ideal gas fills 22.414 LCaveat shown on the page: Real gases differ from ideal behaviour at high pressure and low temperatureResults update instantly as the visitor types; there is no calculate buttonVisitors can copy the result and share a link that reopens with their numbers

Source: NIST / CODATA molar gas constantIUPAC Gold Book: ideal gas law and STP guidance. Last checked 6 November 2026.

What it is good for

  • Solve for P, V, n or T without changing pages.
  • Unit-aware conversions to SI and back for clear answers.
  • Instant updates as you type and shareable links with your inputs.
  • Does not include real-gas corrections or multi-component mixture handling.
  • No direct mass-to-moles conversion using molar mass or density mode on this page.
Advertisement

Questions people ask

Which units does the calculator accept for pressure and volume?

You can enter pressure in atm, kPa, Pa, bar, mmHg (torr) or psi. Volume accepts litres (L), millilitres (mL) or cubic metres (m3). The tool converts them to SI for the math.

What gas constant R value does this tool use?

The calculator uses the CODATA molar gas constant R = 8.314462618 J/(mol K). It also shows the equivalent 0.082057 L·atm/(mol·K) when needed.

Do I use absolute or gauge pressure?

You must use absolute pressure for PV = nRT. If you have gauge pressure, add atmospheric pressure before entering the value.

What temperature units can I enter and how are they handled?

You can enter temperature in °C, K or °F. The tool converts your entry to kelvin internally using K = °C + 273.15 and uses kelvin for all calculations.

When will the ideal gas law give inaccurate answers?

Expect deviations at high pressures and temperatures near condensation. In those cases use a real-gas equation of state such as van der Waals or consult experimental data.

Can I get a link that reopens my numbers?

Yes. The page can create a shareable link that restores your inputs and results when opened in a browser.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement