Chemical and process engineering formulas
The formulas behind the 12 process and chemical calculators, on one page you can print or save as a PDF. Each block lists its variables and standard; the heading opens the calculator, with its assumptions and a worked example.
Blending ratio calculator (two liquids to a target property)
Fraction of liquid A for a linear property, on its blending basis:
f_A = (P_target − P_B) / (P_A − P_B)
Refutas viscosity blending number, blended by mass fraction:
VBN = 14.534 × ln(ln(ν + 0.8)) + 10.975
w_A = (VBN_target − VBN_B) / (VBN_A − VBN_B)
ν = exp(exp((VBN − 10.975) / 14.534)) − 0.8
Mass and volume fractions, with additive volumes:
φ_A = (w_A / ρ_A) / (w_A / ρ_A + w_B / ρ_B)
ρ_blend = φ_A ρ_A + φ_B ρ_B
- P — property value; f_A — fraction of A by mass or by volume
- ν — kinematic viscosity in cSt, all at the same temperature
- w — mass fraction; φ — volume fraction; ρ — density
Chemical dosing calculator (feed rate, pump setting, chlorine dose)
Active chemical and product feed:
active [g/h] = Q [m³/h] × dose [mg/L]
product mass = active / w
product volume = product mass / ρ_product = active / c
US pounds formula:
lb/day = flow [MGD] × dose [mg/L] × 8.34
Chlorine:
dose = demand + residual
- Q — water flow; dose — active chemical per litre of water, mg/L = g/m³
- w — product strength as a mass fraction (% w/w / 100)
- c — product strength as mass per volume: % w/v × 10 = g/L, and % w/v = % w/w × SG
- ρ_product — product density; SG — its specific gravity
- 8.34 — pounds per US gallon of water, which turns MGD × mg/L into lb/day
Density calculator (mass, volume and density)
Density and its two rearrangements:
ρ = m / V
m = ρ × V
V = m / ρ
Specific gravity against water at 4 °C:
SG = ρ / 999.972 kg/m³
- ρ — density, kg/m³ (1 g/cm³ = 1 000 kg/m³, 1 lb/ft³ = 16.018 kg/m³)
- m — mass, kg
- V — volume, m³ (1 m³ = 1 000 L = 264.17 US gal)
Dilution calculator (C1V1 = C2V2 and serial dilution)
Dilution formula and its rearrangements:
C1 V1 = C2 V2
V1 = C2 V2 / C1, C2 = C1 V1 / V2
Dilution factor, diluent and ratio:
DF = C1 / C2 = V2 / V1
diluent = V2 − V1
ratio = 1 : (DF − 1) stock : diluent
Serial dilution of n equal steps of factor f:
DF_total = f^n
C_k = C1 / f^k
diluent per tube = (f − 1) × v_transfer
- C1, V1 — concentration and volume of the stock
- C2, V2 — concentration and final volume of the diluted solution
- f — factor per step; n — number of steps; v_transfer — volume moved from tube to tube
Distillation stages calculator (Fenske–Underwood–Gilliland)
Minimum stages at total reflux (Fenske):
N_min = ln[(x_D / (1 − x_D)) × ((1 − x_B) / x_B)] / ln α
Minimum reflux (Underwood), θ between 1 and α:
α z / (α − θ) + (1 − z) / (1 − θ) = 1 − q
R_min + 1 = α x_D / (α − θ) + (1 − x_D) / (1 − θ)
Stages at reflux R (Gilliland correlation, Molokanov form):
X = (R − R_min) / (R + 1), Y = (N − N_min) / (N + 1)
Y = 1 − exp[(1 + 54.4 X) / (11 + 117.2 X) × (X − 1) / √X]
N = (N_min + Y) / (1 − Y)
Feed stage (Kirkbride):
N_R / N_S = [((1 − z) / z) × (x_B / (1 − x_D))² × B / D]^0.206
- α — relative volatility of the light component to the heavy one
- z, x_D, x_B — light-component mole fractions in the feed, distillate and bottoms
- q — liquid fraction of the feed: 1 saturated liquid, 0 saturated vapour
- R — reflux ratio L/D; N — theoretical stages including the reboiler
- N_R, N_S — stages above and below the feed; B/D = (x_D − z) / (z − x_B)
Gas compressibility factor Z calculator (natural gas and pure gases)
Natural gas: Sutton (1985) pseudo-critical properties from the specific gravity γ:
Tpc = 169.2 + 349.5 γ − 74.0 γ² °R
ppc = 756.8 − 131.0 γ − 3.6 γ² psia
Wichert–Aziz correction for acid gas, with A = y_H₂S + y_CO₂ and B = y_H₂S:
ε = 120 (A^0.9 − A^1.6) + 15 (B^0.5 − B^4) °R
T′pc = Tpc − ε, p′pc = ppc T′pc / (Tpc + B (1 − B) ε)
Dranchuk–Abou-Kassem, solved for Z at Tpr = T / Tpc and ppr = p / ppc:
Z = 1 + (A1 + A2/Tpr + A3/Tpr³ + A4/Tpr⁴ + A5/Tpr⁵) ρr + (A6 + A7/Tpr + A8/Tpr²) ρr²
− A9 (A7/Tpr + A8/Tpr²) ρr⁵ + A10 (1 + A11 ρr²) (ρr² / Tpr³) exp(−A11 ρr²)
ρr = 0.27 ppr / (Z Tpr)
Pure gas, Pitzer correlation with the Abbott coefficients:
Z = 1 + (B⁰ + ω B¹) Pr / Tr
B⁰ = 0.083 − 0.422 / Tr^1.6, B¹ = 0.139 − 0.172 / Tr^4.2
Density and formation volume factor:
ρ = P M / (Z R T), Bg = (p_sc / T_sc) × Z T / p
- A1 to A11 — 0.3265, −1.0700, −0.5339, 0.01569, −0.05165, 0.5475, −0.7361, 0.1844, 0.1056, 0.6134, 0.7210
- ω — acentric factor; Tr, Pr — reduced temperature and pressure of the pure gas
- M — molar mass, 28.964 γ for natural gas; p_sc, T_sc — 14.696 psia and 60 °F
Mass balance calculator: mixing streams (flow, concentration, temperature)
Total and component balances at steady state:
ṁ_mix = ṁ1 + ṁ2 + ṁ3
x_mix = (ṁ1 x1 + ṁ2 x2 + ṁ3 x3) / ṁ_mix
Energy balance with no heat of mixing:
T_mix = (ṁ1 c_p1 T1 + ṁ2 c_p2 T2 + ṁ3 c_p3 T3) / (ṁ1 c_p1 + ṁ2 c_p2 + ṁ3 c_p3)
Flow of stream 2 to reach a target:
ṁ2 = ṁ1 (x1 − x_t) / (x_t − x2)
ṁ2 = ṁ1 c_p1 (T1 − T_t) / (c_p2 (T_t − T2))
- ṁ — mass flow of each stream; x — mass fraction of the component, % w/w / 100
- T — temperature; c_p — specific heat; x_t, T_t — target concentration and temperature
Mass flow rate calculator (kg/h, m³/h, velocity, Nm³/h, SCFM)
Continuity in a round pipe:
ṁ = ρ × Q = ρ × v × A, A = π D² / 4
Gas density and standard flow:
ρ = P M / (Z R T)
Q_std = ṁ / ρ_std = Q × (P / P_std) × (T_std / T) / Z
- ṁ — mass flow; Q — actual volume flow; v — mean velocity; D — inside diameter
- ρ — density at flowing conditions; ρ_std — density at the reference state (Z = 1 there)
- P, T — absolute pressure and temperature; M — molar mass; R = 8.314 J/(mol·K)
- Z — compressibility factor at flowing conditions, 1 for an ideal gas
Reference states: Nm³ at 0 °C and 101.325 kPa, Sm³ at 15 °C and 101.325 kPa, SCF at 60 °F and 14.696 psia, compressed air at 20 °C and 100 kPa.
Molarity calculator (moles, mass, volume, normality)
Molarity, moles and mass:
n = m / M
c = n / V
m = c × V × M
Normality, molality and mass fraction:
N = c × z
b = n / (ρ V − m)
w = m / (ρ V)
- c — molarity, mol/L; n — moles of solute; V — volume of solution, L
- m — mass of solute, g; M — molar mass, g/mol
- z — equivalents per mole: 1 for HCl and NaOH, 2 for H₂SO₄, 3 for H₃PO₄
- b — molality, mol per kg of solvent; ρ — solution density; w — mass fraction
PPM concentration converter (mg/L, % w/w, ppmv, mg/m³, mol/L)
Liquid or solid, mass basis:
c [g/L] = w × ρ [kg/m³]
ppm = w × 10⁶, ppb = w × 10⁹, % w/w = w × 100
molarity [mol/L] = c [g/L] / M
Gas, volume basis (ideal gas):
c [mg/m³] = x × M × P / (R T) × 1 000
at 25 °C and 1 atm: mg/m³ = ppmv × M / 24.45
ppm by mass in air = x M / (x M + (1 − x) M_air) × 10⁶
- w — mass fraction of the substance; c — mass concentration; ρ — density of the whole solution
- x — mole fraction, equal to the volume fraction for ideal gases
- M — molar mass of the substance, g/mol; M_air = 28.964 g/mol
- R = 8.314 J/(mol·K); T — absolute temperature; P — absolute pressure
Specific gravity calculator (SG, API gravity, Baumé)
Liquids, against water at the chosen reference:
SG = ρ / ρ_water ρ_water = 999.016 kg/m³ at 60 °F, 999.972 kg/m³ at 4 °C
API gravity and Baumé degrees, on SG at 60/60 °F:
°API = 141.5 / SG − 131.5
°Bé (heavier than water) = 145 − 145 / SG
°Bé (lighter than water) = 140 / SG − 130
Gases, against dry air at the same temperature and pressure:
SG_gas = M / 28.964
ρ_gas = P M / (R T)
- ρ — density; SG — specific gravity, no units
- M — molar mass, g/mol; R = 8.314 J/(mol·K)
- P — absolute pressure; T — absolute temperature
Vapour pressure calculator (Antoine equation)
Antoine equation, with the NIST convention of P in bar and T in kelvin:
log10(P / bar) = A − B / (T / K + C)
Boiling point at a pressure, from the same constants:
T = B / (A − log10 P) − C
- P — vapour pressure, bar (1 bar = 100 kPa = 14.504 psi)
- T — temperature, K (°C + 273.15)
- A, B, C — Antoine constants of the liquid, valid over a stated temperature range
Water above 100 °C uses the Dortmund Data Bank constants A = 8.14019, B = 1810.94, C = 244.485 for P in mmHg and T in °C. The calculator converts them to bar and kelvin.
Results are estimates. They do not replace the governing code, class or flag requirements, or a check by a competent person.