Chemistry

Gas Density Calculator

ρ = PM/RT. Free online Gas Density Calculator. Calculate gas density online — fast, accurate, mobile-friendly, no signup needed.

ρ = P·M / (R·T).
Density (g/L)
1.249867

Derivation

  1. ├── 01GivenP = 1, M = 28, T = 273
  2. ├── 02Formulae.P × e.M / (.08206 × e.T)
  3. ├── 03Substitutee.1 × e.28 / (.08206 × e.273)
  4. └── 04Compute Density (g/L)1.249867
Did you know?

Every calculator here runs 100% in your browser — nothing is sent to a server or stored in a database.

§01What is

Understanding the Gas Density Calculator

The Gas Density Calculator computes Density (g/L) from 3 inputs: pressure (atm), molar mass, temp (k). ρ = PM/RT.

Chemistry turns grams and moles into reactions. Getting the stoichiometry, dilutions, or concentrations right is the difference between a lab result you can trust and one you can’t reproduce. The Gas Density Calculator sits in that toolkit — it ρ = PM/RT. Enter your numbers above and the result updates instantly; every step of the math is shown in the Derivation panel so you can see exactly how the answer was reached.

§02The Formula

How it’s calculated

e.P × e.M / (.08206 × e.T)

Where

P
Pressure (atm)
M
Molar mass
T
Temp (K)
§03Practical Example

Step-by-step walkthrough

Scenario

Apply the formula to a realistic set of inputs: Pressure (atm) = 1, Molar mass = 28, Temp (K) = 273.

  1. 01Start by noting the input — Pressure (atm): 1.
  2. 02Start by noting the input — Molar mass: 28.
  3. 03Start by noting the input — Temp (K): 273.
  4. 04Substitute these values into the formula: e.P × e.M / (.08206 × e.T)
  5. 05Compute Density (g/L): the calculator returns 1.24987.
  6. 06Cross-check the answer by opening the Derivation panel above — every line of math is shown so you can follow the computation end-to-end.
§04Variants

Common Gas Density Problems

The formula gets rearranged depending on which variable you need. Here are the patterns you’ll run into in the real world — find the one that matches your problem and follow the worked steps.

01 · PATTERN

Pressure (atm) halved

P = 0.5 (from 1)

Keep every other input at its default and halve the pressure (atm). See how density (g/l) responds.

  1. 01New Pressure (atm): 0.5
  2. 02Baseline Density (g/L): 1.24987
  3. 03New Density (g/L): 0.624934
  4. 04Density (g/L) decreases by 50% → use this sensitivity to plan for real-world variation.
02 · PATTERN

Pressure (atm) doubled

P = 2 (from 1)

Keep every other input at its default and double the pressure (atm). See how density (g/l) responds.

  1. 01New Pressure (atm): 2
  2. 02Baseline Density (g/L): 1.24987
  3. 03New Density (g/L): 2.49973
  4. 04Density (g/L) increases by 100% → use this sensitivity to plan for real-world variation.
03 · PATTERN

Molar mass halved

M = 14 (from 28)

Keep every other input at its default and halve the molar mass. See how density (g/l) responds.

  1. 01New Molar mass: 14
  2. 02Baseline Density (g/L): 1.24987
  3. 03New Density (g/L): 0.624934
  4. 04Density (g/L) decreases by 50% → use this sensitivity to plan for real-world variation.
04 · PATTERN

Molar mass doubled

M = 56 (from 28)

Keep every other input at its default and double the molar mass. See how density (g/l) responds.

  1. 01New Molar mass: 56
  2. 02Baseline Density (g/L): 1.24987
  3. 03New Density (g/L): 2.49973
  4. 04Density (g/L) increases by 100% → use this sensitivity to plan for real-world variation.
§05FAQ

Frequently asked questions

Yes. The calculator implements the standard formula as documented and returns exact floating-point results. No approximations are used unless noted in the formula.
Your feedback

How useful was this calculator?

Your ratings stay in your browser — they help us learn which tools people actually rely on.

Rate it
Was this helpful?