Intermediate

Ideal Gas Temperature Calculator — Solve PV = nRT for T

Solve the ideal gas law PV = nRT for temperature: enter pressure (kPa), volume (L), and the number of moles to get the gas temperature in Kelvin, Celsius, and Fahrenheit.

kPa

1 atm = 101.325 kPa

L

mol

Temperature
272.99K

Absolute temperature of the ideal gas (PV = nRT solved for T)

Kelvin
272.99 K
Celsius
-0.16 °C
Fahrenheit
31.72 °F
Gas constant R
8.314 J/(mol·K)
Gas particles — their average kinetic energy is proportional to temperature
Step by step
  1. 1

    Numerator P × V

    101.325 × 22.4 = 2,269.68
    P in kPa and V in L: the kPa × L = J cancellation means the result is in joules.
  2. 2

    Denominator n × R

    1 × 8.314 = 8.314
  3. 3

    Temperature T = PV / (nR)

    2,269.68 ÷ 8.314 = 272.99
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

T = PV/(nR) where R = 8.314 J/(mol·K). Enter pressure in kPa, volume in L, and moles to get temperature in Kelvin (then Celsius and Fahrenheit). The default STP inputs (101.325 kPa, 22.4 L, 1 mol) return 273 K (0 °C). The ideal gas model is accurate at low-to-moderate pressures well above the condensation point.

Formula
T = PV / (nR) — R = 8.314 J/(mol·K)
How this is calculated

The ideal gas law PV = nRT ties together the four macroscopic state variables of a gas: absolute pressure P (Pa), volume V (m³), amount of substance n (mol), and absolute temperature T (K). The universal gas constant R = 8.314 J mol⁻¹ K⁻¹ is the proportionality factor. Rearranging for temperature gives T = PV/(nR).

This calculator accepts pressure in kilopascals and volume in litres — laboratory-friendly units. Because 1 kPa × 1 L = 1 Pa × 1000 × 1 m³/1000 = 1 Pa m³ = 1 J, the prefixes cancel and the formula T = P_kPa × V_L / (n × 8.314) gives the correct answer in Kelvin directly. The default inputs (P = 101.325 kPa, V = 22.4 L, n = 1 mol) reproduce the STP condition of ≈ 273 K (0 °C), confirming the calculation.

The ideal gas model treats molecules as point masses with no intermolecular forces — an excellent approximation at low pressures and temperatures well above the boiling point of the gas. Near liquefaction or at high pressures (several MPa), use a real-gas equation of state (van der Waals, Peng-Robinson) for accurate results.

Frequently asked questions

The ideal gas law is derived from the kinetic theory of gases, in which pressure is proportional to the average kinetic energy of molecules. That energy is proportional to absolute temperature (Kelvin), which is zero at absolute zero. Using Celsius or Fahrenheit — which have arbitrary zero points — would give physically wrong results.

The defaults (101.325 kPa, 22.4 L, 1 mol) are Standard Temperature and Pressure (STP), defined as 0 °C (273.15 K) and 1 atm. The molar volume of an ideal gas at STP is 22.414 L/mol, so the calculator returns ≈ 273 K — confirming the formula.

Yes, with modest error. At conditions near room temperature and atmospheric pressure, real gases behave very close to ideal: errors are typically below 1%. At high pressures or low temperatures (near condensation), significant deviations occur and a more detailed equation of state should be used.

Also known as

ideal gas temperature calculator
pv nrt solve temperature
gas law temperature calculator
temperature from pressure volume moles
kinetic theory temperature
ideal gas law t calculator

APA

TG we-Calculate Editorial Team. (2026). Ideal Gas Temperature Calculator — Solve PV = nRT for T [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/ideal-gas-temperature-calculator

Chicago

TG we-Calculate Editorial Team. "Ideal Gas Temperature Calculator — Solve PV = nRT for T." TG we-Calculate. 2026. https://we-calculate.com/calculator/ideal-gas-temperature-calculator.

IEEE

TG we-Calculate Editorial Team, "Ideal Gas Temperature Calculator — Solve PV = nRT for T," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/ideal-gas-temperature-calculator

BibTeX

@misc{wecalculate_ideal_gas_temperature_calculator, title = {Ideal Gas Temperature Calculator — Solve PV = nRT for T}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/ideal-gas-temperature-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?