Energy Balance Calculator
Open system steady-state energy balance (SFEE): Q − Ws = ΔH + ΔKE + ΔPE with IAPWS-IF97 water and steam enthalpies
Inlet Stream
Outlet Stream
Known Values
Energy Balance Results
Energy Balance Term Breakdown
Tip: hover to read values, click to pin a point for export
Theory
Open System (SFEE): Q − Ws = ṁ_out·h_out − ṁ_in·h_in + ΔKE + ΔPE
Q is heat added to the system; Ws is shaft work done by the system (positive for a turbine, negative for a pump or compressor).
ΔKE = ½ṁ_out·v_out² − ½ṁ_in·v_in² (kW)
ΔPE = ṁ_out·g·z_out − ṁ_in·g·z_in (kW)
Water and steam enthalpies come from IAPWS-IF97 at the entered pressure and temperature (or quality); other fluids use h = cp·T with h = 0 at 0 °C.
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Energy Balance Calculator. Follow the units and input format printed next to each field. Where a unit selector is available, choose the units that match your data.
Review your inputs
Double-check that all values are correct and match the units or format shown for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Energy Balance Calculator computes the output in your browser and displays the results, with units clearly labeled, as soon as they are ready — no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Steady-Flow Energy Equation (SFEE)
Q − W_s = ΔH + ΔKE + ΔPE, where ΔH = ṁ_out · h_out − ṁ_in · h_in; the tool solves either Q = W_s + ΔH + ΔKE + ΔPE or W_s = Q − ΔH − ΔKE − ΔPE
Variables: Q = net rate of heat transfer, positive INTO the control volume (kW); W_s = shaft power, positive for work done BY the fluid on its surroundings, so a turbine is positive and a pump or compressor is negative (kW) — the input field ("+ = out of system") and the result caption ("Work output (turbine)" for a positive value) use the same convention. ṁ_in, ṁ_out = inlet and outlet mass flow rate (kg/s); these are entered independently, so mass conservation ṁ_in = ṁ_out is not enforced and an unbalanced pair yields a meaningless ΔH. h_in, h_out = specific enthalpy of the inlet and outlet stream (kJ/kg); ΔH = rate of enthalpy change across the control volume (kW); ΔKE = rate of kinetic energy change (kW); ΔPE = rate of potential energy change (kW). Source: Cengel & Boles, Thermodynamics: An Engineering Approach, 8th ed., Ch. 5 (Mass and Energy Analysis of Control Volumes — steady-flow energy balance)
Kinetic and Potential Energy Rate Terms
ΔKE = (½ · ṁ_out · v_out² − ½ · ṁ_in · v_in²) / 1000 | ΔPE = (ṁ_out · g · z_out − ṁ_in · g · z_in) / 1000
Variables: ΔKE = rate of kinetic energy change (kW); ΔPE = rate of potential energy change (kW); ṁ_in, ṁ_out = inlet and outlet mass flow rate (kg/s); v_in, v_out = stream velocity (m/s); z_in, z_out = stream elevation above a common arbitrary datum (m); g = gravitational acceleration, fixed internally at 9.81 m/s² and not user-editable. Each numerator evaluates in watts, since (kg/s) · (m/s)² = kg·m²/s³ = W and (kg/s) · (m/s²) · (m) = W, so the factor 1/1000 converts both to kW to match ΔH. Source: Cengel & Boles, Thermodynamics: An Engineering Approach, 8th ed., Ch. 5 (energy transport by mass — kinetic and potential energy of a flowing fluid)
Stream Enthalpy for Water and Steam (IAPWS-IF97)
Liquid or superheated: h = h(T, P) from the IAPWS-IF97 equation of the region the state lies in. | Saturated mixture: h = h_f(P) + x · (h_g(P) − h_f(P)). | Saturated vapour: h = h_g(P).
Variables: h = specific enthalpy of the stream (kJ/kg) on the IAPWS reference state (internal energy and entropy of saturated liquid are zero at the triple point, so h_f(0.01 °C) = 0.000612 kJ/kg); T = stream temperature (°C); P = absolute stream pressure (kPa); x = vapour quality (dimensionless, 0 to 1); h_f, h_g = saturated-liquid and saturated-vapour enthalpy at P (kJ/kg). The phase menu is checked against the state: a "Liquid" stream whose T and P make it vapour, or a "Superheated" stream whose T and P make it liquid, is rejected with an explanation instead of being evaluated with the wrong phase. For the saturated phases the temperature field is not used; T is the saturation temperature at P. Range: 0–800 °C up to 100 MPa and 800–2000 °C up to 50 MPa, pressures from 0.611213 kPa. Source: IAPWS R7-97(2012), Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
Constant-Specific-Heat Stream Enthalpy (fluids other than water and steam)
h = c_p · T
Variables: h = specific enthalpy (kJ/kg), referenced to h = 0 at T = 0 °C; T = stream temperature (°C); c_p = constant specific heat taken from the built-in table (kJ/(kg·K)) — air 1.006, nitrogen 1.04, oxygen 0.919, methane 2.22, ethanol (liquid) 2.44, benzene (liquid) 1.72, toluene (liquid) 1.69, CO₂ 0.844. This branch applies only to the fluids listed above: selecting "Water / steam (IAPWS-IF97)" uses the IAPWS equations instead of this constant-c_p table. Only the eight named non-water fluids have constant-c_p entries. Source: Cengel & Boles, Thermodynamics: An Engineering Approach, 8th ed., Ch. 4 (specific heats: Δh = c_p·ΔT for ideal gases, Δh ≈ c·ΔT for incompressible liquids); values comparable to Table A-2 for the gases and Table A-3 for the liquids
When to Use This Calculator
- •Use the Energy Balance Calculator to check your hand calculations on homework or exam problems — comparing its result with your own working helps identify arithmetic errors before they propagate.
- •Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
- •Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
- •Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
- •Use it in the field when a quick estimate is needed and a full engineering software package is not available.
About This Calculator
The Energy Balance Calculator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Open system steady-state energy balance (SFEE): Q − Ws = ΔH + ΔKE + ΔPE with IAPWS-IF97 water and steam enthalpies All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Follow the units printed beside each field. Where a unit selector is provided, the selected unit is converted internally. Results are computed in your browser without sending data to a server, which keeps your inputs private. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.
The Theory Behind It
For this one-inlet, one-outlet calculator, the steady-flow energy rate equation is Q − W_s = (ṁ_out·h_out − ṁ_in·h_in) + ΔKE + ΔPE. Heat Q is positive into the control volume; shaft work W_s is positive out of it. The tool accepts inlet and outlet mass flows independently, so enter equal flows for a steady device without accumulation. It evaluates water and steam enthalpy with IAPWS-IF97, whose internal energy and entropy of saturated liquid at the triple point are zero. For the eight other fluids it uses a constant heat capacity with h = c_p·T and h = 0 at 0 °C. Compare inlet and outlet enthalpies within the same fluid and reference convention. Reaction heat, multiple streams and a final-temperature solve are outside this calculator's model.
Real-World Applications
- •Process heater or cooler duty: with inlet and outlet temperatures, pressures and flow fixed, the calculator returns the heat Q to add or remove (reaction heat is not modeled; add it to Q yourself).
- •Heat exchanger duty: Q = ṁ·cp·ΔT for each side, used to size heat exchangers and specify cooling water or steam requirements.
- •Turbine and compressor sizing: compute shaft work from enthalpy change and mass flow rate; size drive motor or generator accordingly.
- •Plant-wide steam balance: track steam generation in boilers, use in process heating, condensation, and return as condensate; identify net steam demand.
- •Boiler and steam-generator duty: feedwater in as compressed liquid and steam out as superheated vapor at the same pressure gives the heat input Q = ṁ(h_out − h_in) from IAPWS-IF97 enthalpies.
Frequently Asked Questions
What is the steady-flow energy equation?
For the rates this tool reports, Q − W_s = ṁ_out·h_out − ṁ_in·h_in + ΔKE + ΔPE. Q is heat added to the control volume and W_s is shaft work done by it; both are in kW. If inlet and outlet mass flows are equal and changes in kinetic and potential energy are negligible, Q − W_s = ṁ·(h_out − h_in).
Why use enthalpy instead of internal energy?
For open systems with flowing streams, the flow work p·v is automatically included in enthalpy (h = u + pv). This makes the energy balance simpler to write and avoids tracking the flow-work term separately. Internal energy (u) is used for closed systems where mass doesn't cross the boundary.
How do I include reaction heat?
This calculator does not model reaction heat. Account for it separately before entering the net heat-transfer rate Q, using a consistent enthalpy reference for the reacting streams.
When can I neglect kinetic and potential energy?
KE change is usually negligible for flow velocities below 100 m/s. For process streams in pipes at 1-10 m/s, KE is much smaller than enthalpy changes from heating/cooling. PE change is negligible for elevation changes less than 100 m. Exceptions: high-speed nozzles and diffusers (KE matters), tall distillation columns or tall reactors (PE can matter), pump calculations where static head is important.
What's the adiabatic flame temperature?
The maximum theoretical temperature reached if all combustion heat goes into heating the products (no heat loss, no radiation): Q = 0. Solve Δh_reactants→products = −ΔH_rxn for the temperature. Real flame temperatures are lower due to heat loss and dissociation at high temperatures. For methane in stoichiometric air: adiabatic flame temperature ≈ 2050°C; with excess air, lower.
Related Calculators
Bubble & Dew Point Calculator
Bubble and dew point temperatures for multi-component mixtures using Raoult's Law and Antoine equation with built-in constants for 10 common chemicals
Distillation Calculator (McCabe-Thiele)
McCabe-Thiele graphical method for binary distillation: theoretical stages, feed stage, minimum reflux ratio, operating lines, and x-y VLE diagram
Mass Balance Calculator
Steady-state material balance for 2–5 stream processes with up to 5 components: solve unknown flow rates from overall and component balances
Reaction Kinetics Calculator
Arrhenius equation: compute rate constant k from A and Ea, or determine Ea and A from k at two temperatures. Arrhenius plot and 1st order conversion vs time
Reactor Sizing Calculator (CSTR vs PFR)
CSTR and PFR sizing for 1st and 2nd order reactions: required volume, Levenspiel plot with shaded areas, and volume ratio comparison
Packed Bed Pressure Drop Calculator
Ergun equation for pressure drop through packed beds: viscous and inertial contributions, Reynolds number, friction factor, and ΔP vs velocity chart
References & Further Reading
Standards & Organizations
- IAPWS R7-97(2012): Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and SteamIAPWS
Water and steam enthalpies.
Add the live Energy Balance Calculator to your site. Free to embed, with a link back to MegaCalc.