HomeCalculatorsPhysicsIdeal Gas Law Calculator
Physics calculator

Ideal Gas Law Calculator

Solve the ideal gas law for P, V, n, or T with SI units. Runs locally in your browser.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Engineering assurance
Input interpretation
Enter values to calculate.
Result
Assurance
Engineering
Declared partition coverage
PASS · 2/2 declared partitions (ideal-gas, invalid-domain) · Matrix
Known limitations
  • Ideal gas; CODATA R default
  • Core CVP does not include live graph, viewport, or pointer interaction.
Model
Ideal gas solve for P|V|n|T.
Scope
Ideal gas; SI R
Verification
Engine tested · Source checked · v1.0.0 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Engineering assurance· View Manifest · CVP overview · Specification
Versions
Calculation 1.0.0 · CVP protocol 1.0.0-proposed
CVP identity
1/1 property · digest 509cb6233acc
Legacy regression
3/3 tests · Production surface contract 3/3
Reference
O1 model · O2 expected_values · O2 numerical_behavior
Interfaces
PASS · UI (SSR) / REST / MCP — ui-ssr is query-result HTML, not a live browser session.
Supplemental domain review
Internal · Pass
Named expert review
Not performed
CVP suite
1/1 golden · 1/1 CVP boundary · 1/1 invalid · 1/1 property · 1/1 cross-interface · 1/1 CVP contract · Manifest
Sources
  • SI CODATA gas constant — Ideal gas law
  • Intro thermodynamics / kinetic theory texts — Ideal gas law
Sources
Evidence
1 legacy golden · 1 legacy boundary · legacy regression suite · 1/1 oracle-backed golden · 1/1 invalid · Artifact integrity PASS · CalculatorX electrical review
This calculator CURRENT · Public schema 1.0.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓
Semantic contract
PASS
Full verification

Manifest identity, reference classes, interfaces, suite, and production records.

Formulas

Core equations used by this calculator.

Ideal gasPV = nRT
iSI only (Pa, m³, mol, K). Not van der Waals.

How to use

1

Choose which variable to solve

Solve for P, V, n, or T from PV = nRT.

2

Enter the three known quantities

Use absolute temperature (K) and consistent SI pressure/volume units.

3

Read the unknown

R is the molar gas constant used by this tool’s unit set.

Example calculations

Common configurations with formula and result.

ϟ

1 mol · 273.15 K · 0.022414 m³

≈1 atm

P=nRT/V
≈101.3 kPa

Ideal Gas Law calculator specification

Version 1.0.0 · Engine tested · Supplemental domain review · Internal · 2026-08-09

Calculation status

Review policy · Evidence · Reviewed by CalculatorX electrical review

Definition
PV = nRT with R = 8.314462618 J/(mol·K). Choose which quantity to solve for.
What it calculates
Ideal gas solve for P|V|n|T.
Inputs
  • mode
  • P,V,n,T as needed
Outputs
  • solved quantity + state
Formula
PV=nRT
Assumptions
  • Ideal gas; SI R
Units
  • Pa, m³, mol, K
Boundary conditions
  • P,V,n,T ≤0 → VALUE_MUST_BE_POSITIVE
Example
n=1 T=273.15 V=0.022414 → ~1 atm
Validation cases

1 published on this page · 3/3 tests · Production surface contract 3/3 · View evidence

  • P n=1 T=273.15 V=0.022414 → P≈101325 Pa
Sources
  • SI CODATA gas constant — Ideal gas law
    Supports: PV=nRT
  • Intro thermodynamics / kinetic theory texts — Ideal gas law
    Supports: PV = nRT
Last reviewed
2026-08-09
Reviewed by
CalculatorX electrical review
Calculation version
1.0.0

Background

Interpretation and common distinctions.

Solve the ideal gas law.

Supported and not supported

Supported — Four solve modes · API physics.thermo.ideal_gas

Not supported — Real-gas EOS, mixtures, humidity

Agent / API notes

Capability id: physics.thermo.ideal_gas · tool id: ideal-gas · pin 1.0.0.

Other calculators in this family: Celsius↔Kelvin, PSI↔Bar .

}

Frequently asked questions

Key distinctions behind the calculation.

Which R?

Default is SI molar gas constant 8.314462618 J/(mol·K). Override with input R if needed.