Distillation Calculator

Distillation Calculator — calculate distillation using standard chemistry formulas. Worked example with units.

A gas law calculator applies the ideal gas law and its component laws (Boyle's, Charles's, Gay-Lussac's, Avogadro's, and the combined gas law) to relate the pressure, volume, temperature, and moles of a gas. The ideal gas law (PV = nRT) is a fundamental model of gas behaviour that works well at moderate pressures and temperatures, with deviations occurring for real gases at high pressures or near the liquefaction point.

Used in chemistry and physics courses, engineering calculations for compressed gas systems, HVAC, pneumatic systems, atmospheric science, and any application involving gas behaviour under changing conditions.

  1. Select the law to apply: Boyle's (P and V at constant T), Charles's (V and T at constant P), Gay-Lussac's (P and T at constant V), or the Ideal Gas Law (all four variables).
  2. Enter known values with their units — the calculator handles unit conversion between atm, kPa, bar; litres, mL, m³; Celsius (converted to Kelvin), Fahrenheit, Kelvin.
  3. The calculator solves for the unknown variable.
  4. For real gas corrections, the van der Waals equation modifies the ideal gas law with substance-specific a and b constants.

Gas law formulas

Ideal Gas Law: PV = nRT, where R = 8.314 J/(mol·K) = 0.08206 L·atm/(mol·K)

Boyle's Law (constant T, n): P₁V₁ = P₂V₂

Charles's Law (constant P, n): V₁/T₁ = V₂/T₂ (T in Kelvin)

Gay-Lussac's Law (constant V, n): P₁/T₁ = P₂/T₂

Combined Gas Law: P₁V₁/T₁ = P₂V₂/T₂

van der Waals: (P + a(n/V)²)(V − nb) = nRT

Interpreting gas law results

Standard conditions reference

STP (Standard Temperature and Pressure): 0°C (273.15 K) and 1 atm — 1 mole of ideal gas occupies 22.414 L. SATP (Standard Ambient): 25°C (298.15 K) and 1 bar — 1 mole occupies 24.789 L. NTP (Normal Temperature and Pressure, US engineering): 20°C and 1 atm — 1 mole occupies 24.055 L. Always convert Celsius to Kelvin before applying gas laws: K = °C + 273.15.

Chemistry tips and best practices

Common mistakes to avoid

Gas law calculations are based on the ideal gas approximation. For engineering design of pressure vessels, gas pipelines, HVAC systems, and compressed gas equipment, consult a licensed mechanical or chemical engineer and follow applicable codes (ASME, ISO, OSHA).

Related Calculators