Thermodynamic Property Calculator — Steam Tables, Refrigerant Properties, Gas and Fluid Thermophysical Data
How KasperCalc Thermodynamics Works
KasperCalc computes thermodynamic properties using a precomputed, structured T/P grid derived from CoolProp 7.2.0 equations of state. Each fluid is solved across a dense mesh — log-spaced in pressure, linearly-spaced in temperature, with adaptive refinement near critical points, saturation curves, and phase boundaries.
Results are stored as compressed lookup tables and served directly in the browser — no server calls, no runtime equation solving, and no internet connection required after the initial page load. The calculator interpolates between precomputed grid points to return property values at arbitrary T and P.
For fluids with a two-phase region, the saturation curve is stored separately at 500 temperature points from Ttriple to Tcrit, with full liquid and vapor properties at each point. Bulk grid properties inside the two-phase dome are stored as NaN; phase behavior is resolved from the saturation table instead.
- Density — ρ (kg/m³)
- Isobaric specific heat — cp (J/kg·K)
- Isochoric specific heat — cv (J/kg·K)
- Specific enthalpy — h (J/kg)
- Specific entropy — s (J/kg·K)
- Specific internal energy — u (J/kg)
- Dynamic viscosity — μ (Pa·s)
- Thermal conductivity — λ (W/m·K)
- Prandtl number — Pr (dimensionless)
- Kinematic viscosity — ν = μ/ρ (m²/s)
- Thermal diffusivity — α = λ/(ρcp) (m²/s)
- Specific volume — v = 1/ρ (m³/kg)
| Flag | Phase Region |
|---|---|
| 0 | Liquid (subcooled) |
| 1 | Gas / Supercritical vapor |
| 2 | Two-phase — bulk NaN; sat. liq/vap stored separately |
| 3 | Supercritical liquid |
| 4 | Supercritical gas |
| 255 | Failed / out-of-range (NaN) |
Comparing Property Sources: NIST · CoolProp · KasperCalc
Experimental Authority
Authoritative thermophysical and thermochemical database backed by evaluated experimental data. The primary reference standard for validation and benchmark comparisons.
- ✓ Highest experimental accuracy
- ✓ Peer-reviewed, documented lineage
- ✓ Trusted reference standard
- ✗ Clunky UI
- ✗ Paid service advertisement
- ✗ Not designed for engineers
Fast Browser Lookup
Lightweight, precomputed property database optimized for browser lookup, embedded tools, and offline use. Approximates CoolProp via a structured, pre-solved T/P grid.
- ✓ Instant browser-native lookup
- ✓ Works fully offline
- ✓ SI and US customary units
- ✓ Deterministic performance
- ✗ Grid-interpolated (approx.)
- ✗ Reduced precision near Tcrit
High-Fidelity Physics Engine
Open-source thermophysical library solving equations of state (EOS) on demand. Supports 400+ fluids, refrigerants, incompressible mixtures, and full phase behavior via iterative numerical solvers.
- ✓ High-fidelity, all phases
- ✓ Critical & two-phase region
- ✓ 400+ fluids & mixtures
- ✗ Requires Python / C++
- ✗ Computational overhead
- ✗ Not browser-native
Grid & Data Strategy — Mesh, Resolution & Storage
500 linearly-spaced points from Tmin to Tmax, plus 50 adaptive points clustered within ±20% of Tcrit. Total: up to ~530 unique T-points per fluid.
200 log-spaced points from Ptriple (or 101,325 Pa) to Pmax, plus 50 linear points within ±20% of Pcrit, plus a guaranteed 101,325 Pa (1 atm) point. Total: up to ~240 unique P-points per fluid.
The pressure axis is divided into bands of 20 pressure points each to enable partial-file loading. Each band is stored as a separate .bin and .json file. A fluid with 240 pressure points has ~12 bands.
500 temperature points from Ttriple to Tcrit. Both saturated liquid (Q=0) and saturated vapor (Q=1) properties stored at each point: density, cp, enthalpy, entropy, viscosity, and conductivity.
INCOMP fluids (always single-phase liquid) use the same T/P grid structure but are evaluated via PropsSI with the full fluid string (e.g. INCOMP::MEG[0.3]). No saturation curve. cv is stored as NaN. Phase flag is always 0 (liquid).
| File | Contents | Format |
|---|---|---|
meta.json | Fluid metadata, T/P axes info, band list, critical & triple points | JSON (UTF-8) |
meta.bin | Same as meta.json (UTF-8 encoded) | Raw bytes |
grid_band_NNN_*.bin | Grid property data: T, P, rho, cp, cv, h, s, u, visc, cond, Pr, phase flag | Float32 × 11 + uint8 |
saturation.bin | Saturation curve: T, P, liq/vap density, cp, h, s, visc, cond + phase flag | Float32 × 14 + uint8 |
All grid and saturation values are stored as 32-bit IEEE 754 floats (~7 significant decimal digits). This is sufficient for engineering calculations but introduces small rounding errors relative to CoolProp double-precision output.
Failed or undefined properties (two-phase bulk, out-of-range, INCOMP cv) are stored as IEEE 754 NaN in binary files and as JSON null in text files.
Available Fluids: All 400+ CoolProp Fluids
Water
Heavy Water (D₂O) HeavyWater
Air
Nitrogen (N₂) Nitrogen
Oxygen (O₂) Oxygen
Hydrogen (H₂) Hydrogen
Parahydrogen ParaHydrogen
Deuterium (D₂) Deuterium
Helium (He) Helium
Neon (Ne) Neon
Argon (Ar) Argon
Krypton (Kr) Krypton
Xenon (Xe) Xenon
Fluorine (F₂) Fluorine
Ammonia
Carbon Dioxide (CO₂) CarbonDioxide
Carbon Monoxide (CO) CarbonMonoxide
Carbonyl Sulfide (COS) CarbonylSulfide
Hydrogen Chloride (HCl) HydrogenChloride
Hydrogen Sulfide (H₂S) HydrogenSulfide
Nitrous Oxide (N₂O) NitrousOxide
Sulfur Dioxide (SO₂) SulfurDioxide
Sulfur Hexafluoride (SF₆) SulfurHexafluoride
Methane
Ethane (C₂H₆) Ethane
Propane (C₃H₈) Propane
n-Butane n-Butane
Isobutane IsoButane
n-Pentane n-Pentane
Isopentane Isopentane
Neopentane Neopentane
n-Hexane n-Hexane
n-Heptane n-Heptane
n-Octane n-Octane
n-Nonane n-Nonane
n-Decane n-Decane
CycloPropane
Cyclopentane Cyclopentane
Cyclohexane CycloHexane
Benzene (C₆H₆) Benzene
Toluene (C₇H₈) Toluene
Ethylbenzene EthylBenzene
m-Xylene m-Xylene
o-Xylene o-Xylene
p-Xylene p-Xylene
Ethylene
Propylene (C₃H₆) Propylene
1-Butene 1Butene
cis-2-Butene cis-2-Butene
trans-2-Butene trans-2-Butene
Isobutene IsoButene
Propyne Propyne
Propadiene Propadiene
Methanol
Ethanol (C₂H₅OH) Ethanol
Acetone (C₃H₆O) Acetone
Dimethyl Ether DimethylEther
Diethyl Ether DiethylEther
Dimethyl Carbonate DimethylCarbonate
Methyl Formate MethylFormate
MM
MDM (octamethyltrisiloxane) MDM
MD2M (decamethyltetrasiloxane) MD2M
MD3M MD3M
MD4M MD4M
D4 (cyclo-octamethyltetrasiloxane) D4
D5 (cyclo-decamethylpentasiloxane) D5
D6 (cyclo-dodecamethylhexasiloxane) D6
MethylLinoleate
Methyl Linolenate MethylLinolenate
Methyl Oleate MethylOleate
Methyl Palmitate MethylPalmitate
Methyl Stearate MethylStearate
R11
R-12 (CCl₂F₂) R12
R-13 (CClF₃) R13
R-14 (CF₄) R14
R-21 (CHCl₂F) R21
R-22 (CHClF₂) R22
R-23 (CHF₃) R23
R-113 (C₂Cl₃F₃) R113
R-114 (C₂Cl₂F₄) R114
R-115 (C₂ClF₅) R115
R-123 R123
R-124 R124
R-141b R141b
R-142b R142b
R-152a R152A
R-161 R161
RC-318 (cyclo-C₄F₈) RC318
R32
R-41 (CH₃F) R41
R-116 (C₂F₆) R116
R-125 (CHF₂CF₃) R125
R-134a (CH₂FCF₃) R134a
R-143a (CH₃CF₃) R143a
R-218 (C₃F₈) R218
R-227ea (CF₃CHFCF₃) R227EA
R-236ea R236EA
R-236fa R236FA
R-245ca R245ca
R-245fa R245fa
R-365mfc R365MFC
R1234yf
R-1234ze(E) (trans) R1234ze(E)
R-1234ze(Z) (cis) R1234ze(Z)
R-1243zf R1243zf
R-1233zd(E) R1233zd(E)
R-1336mzz(E) R1336mzz(E)
R-1336mzz(Z) R1336mzz(Z)
R-1123 (CF₂=CHF) R1123
R-13I1 (CF₃I) R13I1
R404A
R-407C (R32/R125/R134a) R407C
R-410A (R32/R125) R410A
R-507A (R125/R143a) R507A
Single-phase liquid fluids evaluated via the INCOMP backend. No saturation curve. cv = NaN. Phase is always 0 (liquid). These include aviation heat transfer fluids, silicone oils, Therminol series, and industrial brines.
Mixture fluids accessed as INCOMP::BaseFluid[massFraction], e.g. INCOMP::MEG[0.3] for 30% Mono-Ethylene Glycol. Concentrations outside the valid range return NaN (phase=255).
MEG
MEG2 — EG / Water (alt formulation) MEG2
MPG — Mono-Propylene Glycol / Water MPG
AEG — Ethylene Glycol / Water (automotive) AEG
APG — Propylene Glycol / Water (aircraft) APG
MEA / MEA2 — Mono-Ethanolamine / Water MEA
MCA / MCA2 — Calcium Chloride / Water MCA
MAM / MAM2 — Ammonium Chloride / Water MAM
MGL — Glycerol / Water MGL
MGP — Glycerol / Propylene Glycol MGP
MK / MKA / MKF — Potassium Acetate/Formate / Water MK
GKN / AKF — Potassium Acetate / Water GKN
AN — Ammonium Nitrate / Water AN
AL — Lithium Chloride / Water AL
LiBr — Lithium Bromide / Water LiBr
MLO — LiBr / Organic Solvent MLO
MMG — Magnesium Chloride / Water MMG
MNaK — NaCl+KCl / Water MNaK
MSZ — Sodium Chloride / Water (brine) MSZ
MVG — Vinyl Glycol / Water MVG
MWM — EG / Water (high-temp) MWM
MXP — PG / Water (extended) MXP
MRC — Refrigerant mixture MRC
MMA — Methyl Acetate / Methanol MMA
PK2 / PKL — Potassium Carbonate/Lactate PK2
ZAC / ZFC / ZLC — Zinc Acetate/Formate/Lactate ZAC
ZM / ZMC — Zinc mixtures ZM
Key Thermodynamic Formulas & Relationships
Unit System Presets
| Property | SI Strict | SI Engineering | US Customary | US Process-HVAC | Textbook SI | Textbook US |
|---|---|---|---|---|---|---|
| Temperature | K | °C | °F | °F | °C | °F |
| Pressure | Pa | kPa | psia | psia | kPa | psia |
| Density | kg/m³ | kg/m³ | lbm/ft³ | lbm/ft³ | kg/m³ | lbm/ft³ |
| Spec. Volume | m³/kg | m³/kg | ft³/lbm | ft³/lbm | m³/kg | ft³/lbm |
| cp / cv | J/(kg·K) | kJ/(kg·K) | BTU/(lbm·°R) | BTU/(lbm·°F) | kJ/(kg·K) | BTU/(lbm·°R) |
| Enthalpy (h) | J/kg | kJ/kg | BTU/lbm | BTU/lbm | kJ/kg | BTU/lbm |
| Entropy (s) | J/(kg·K) | kJ/(kg·K) | BTU/(lbm·°R) | BTU/(lbm·°R) | kJ/(kg·K) | BTU/(lbm·°R) |
| Int. Energy (u) | J/kg | kJ/kg | BTU/lbm | BTU/lbm | kJ/kg | BTU/lbm |
| Dyn. Viscosity | Pa·s | mPa·s | lbm/(ft·s) | cP | Pa·s | cP |
| Conductivity | W/(m·K) | W/(m·K) | BTU/(hr·ft·°F) | BTU/(hr·ft·°F) | W/(m·K) | BTU/(hr·ft·°F) |
| Prandtl | dimensionless | |||||