Gas Laws Calculator (PV = nRT)

Gas Laws Calculator (PV = nRT)

Solve for missing variables in the Ideal Gas Law (PV = nRT) with R = 0.08206 L·atm / (mol·K).

Solved Ideal Gas Variable
273.14
Temperature (K)

At a Glance

Category
Chemistry
Best For
Chemistry students applying the ideal gas law
Privacy
100% in your browser: nothing you enter is uploaded
Time Required
Under a minute
Cost
Free
Updated
November 2026

Quick Overview

What This Tool Does

Rearranges PV = nRT to find the temperature of a gas from its pressure, volume and amount.

Who Should Use It

Chemistry and physics students and teachers.

When to Use It

Gas problems at known pressure, volume and amount.

Why It Is Useful

The ideal gas law relates all four properties of a gas in one equation.

Key Features & Capabilities

Temperature in kelvin

Result in the absolute temperature scale.

Standard units

Atmospheres, liters and moles.

Uses R = 0.08206

The common value of the gas constant.

How to Use This Tool

1

Enter the pressure

Type the gas pressure in atmospheres. Tip: Convert from kPa by dividing by 101.325.

2

Enter the volume

Type the volume in liters. Tip: 1000 mL equals 1 L.

3

Enter the moles

Type the amount of gas in moles. Tip: Use mass ÷ molar mass if needed.

4

Read the temperature

The temperature is shown in kelvin. Tip: Subtract 273.15 for Celsius.

Worked Real-World Example

One mole at 1 atm and 22.414 L

One mole of an ideal gas occupies 22.414 L at 1 atm.

Sample Inputs
Pressure1.0 atm
Volume22.414 L
Moles1.0 mol
Temperature273.14 K (about 0 °C)
Calculation Breakdown
Multiply pressure and volume: 1.0 × 22.414 = 22.414
Multiply moles and R: 1.0 × 0.08206 = 0.08206
Divide: 22.414 ÷ 0.08206 = 273.14 K
Convert to Celsius: 273.14 − 273.15 = about 0 °C
These are standard temperature and pressure conditions. The small difference from 273.15 K comes from the rounded gas constant.

How It Works (Math & Calculation Logic)

T = P × V ÷ (n × R) with R = 0.08206 L·atm·mol⁻¹·K⁻¹. The result is rounded to two decimals. The model treats the gas as ideal.

Formula / AlgorithmPV = nRT T = PV ÷ nR
Variable & Logic Definitions
PPressure - Gas pressure (atm)
VVolume - Gas volume (L)
nMoles - Amount of gas (mol)
RGas constant - 0.08206 (L·atm/(mol·K))
TTemperature - Absolute temperature (K)

How to Interpret Your Results

Typical Benchmarks

Real gases deviate from ideal behavior at high pressure and low temperature.

Evaluating Your Output

At STP one mole of ideal gas occupies about 22.4 L.

Recommended Next Action

Convert units before entering values.

Frequently Asked Questions

What is the ideal gas law?
PV = nRT, relating pressure, volume, amount and temperature of a gas.
What is the value of R?
0.08206 L·atm/(mol·K) is used here.
Why kelvin?
Gas laws use absolute temperature.
What is STP?
Standard temperature and pressure: 0 °C and 1 atm.
When does the law fail?
For real gases at high pressure or low temperature.

Complementary QuickForma Utilities

Science & Engineering

Molar Mass & Composition Calculator

Parse chemical formulas (e.g. H2SO4, Ca(NO3)2) to compute total molecular weight and element mass %.

Open Tool
Science & Engineering

Moles & Molarity Calculator

Calculate moles n = m / M and molar concentration M = n / V in mol/L.

Open Tool
Converters & Measurement

Significant Figures Calculator

Count significant figures in a number and apply scientific rounding rules.

Open Tool
Science & Engineering

Kinematics & SUVAT Motion Calculator

Calculate 1D motion variables using SUVAT equations (v = u + at, s = ut + 0.5 a t^2).

Open Tool
Science & Engineering

Force, Friction & Momentum Calculator

Calculate Newton's 2nd Law Force (F = ma), Momentum (p = mv), and Weight (W = mg).

Open Tool
Science & Engineering

Work, Energy & Power Calculator

Calculate Kinetic Energy (KE = 0.5 m v^2), Potential Energy (PE = mgh), Mechanical Energy, and Power.

Open Tool
Science & Engineering

Ohm's Law & Circuit Calculator

Solve voltage (V = IR), electrical current (I), resistance (R), and electrical power (P = VI).

Open Tool
Science & Engineering

Wave, Frequency & Light Calculator

Calculate wave speed (v = f * lambda), period (T = 1/f), and photon energy (E = hf).

Open Tool
Science & Engineering

Density, Mass & Volume Chemistry Solver

Solves Density = Mass/Volume with automatic unit conversions (g/cm³, kg/m³, g/mL).

Open Tool
Science & Engineering

Gibbs Free Energy Δ G = Δ H - TΔ S

Solves enthalpy, entropy, temperature, and reaction spontaneity (Δ G < 0).

Open Tool
Science & Engineering

Specific Heat Capacity Q = mcΔ T Solver

Solves heat transfer Q = m c Δ T, latent heat of fusion/vaporization (Q = m L), and final mixture temperature.

Open Tool