Rankine cycle calculator
Enter the boiler pressure, turbine inlet temperature and condenser pressure and get every state point (T, h, s, dryness fraction), the pump and turbine work, heat added and rejected, thermal efficiency, steam rate and a T-s diagram. Add turbine and pump efficiencies and reheat. Free, no sign-up, runs in your browser.
IAPWS-IF97 steam properties (same as steam tables and XSteam) · checked against CoolProp · Updated 16 Nov 2026
Turbine inlet at or below the saturation temperature = saturated steam (x = 1). Condenser exit is saturated liquid. Limits: boiler up to 165 bar, steam up to 800 °C (IF97 Regions 1, 2 and 4). 1 bar = 100 kPa = 0.1 MPa.
| State | P (bar) | T (°C) | h (kJ/kg) | s (kJ/kg·K) | x |
|---|
What is the Rankine cycle?
The Rankine cycle is the ideal cycle of a steam power plant. A pump raises condensed water to boiler pressure (1→2), the boiler heats it to superheated steam (2→3), the steam expands through a turbine to make work (3→4), and a condenser turns the exhaust back into liquid (4→1). Coal, nuclear, solar-thermal and biomass plants all run on it.
Unlike the Carnot cycle, the Rankine cycle condenses the steam completely before pumping, so the pump handles liquid and needs very little work, and the steam is superheated so the turbine runs on mostly dry steam. Those two practical choices are why every steam plant uses it, and also why its efficiency stays well below Carnot's.
How do you calculate Rankine cycle efficiency?
Find the enthalpy at the four state points from steam tables, then divide the net work by the heat added in the boiler:
State 1 is saturated liquid at the condenser pressure. State 3 comes straight from the boiler pressure and turbine inlet temperature. State 4 needs the turbine's entropy: an ideal turbine keeps entropy constant, a real one ends at a higher enthalpy set by its isentropic efficiency ηt:
The pump works on liquid that barely compresses, so its work is close to v·ΔP:
This calculator does not use the v·ΔP shortcut: it compresses the water isentropically in the IF97 liquid equations. The shortcut is 0.21% off at 100 bar, far below the rounding in a hand calculation.
Worked example 1: the MATLAB course's Rankine cycle simulator case
Skill-Lync's MATLAB for Mechanical Engineers course has learners build a Rankine cycle simulator with the free XSteam steam tables; as of 16 Nov 2026, 1,026 student reports have been submitted for it. Its case: turbine inlet 30 bar and 400 °C, condenser 0.05 bar, ideal pump and turbine. The state points:
| State | P (bar) | T (°C) | h (kJ/kg) | s (kJ/kg·K) | x |
|---|---|---|---|---|---|
| 1: Pump inlet (condenser exit) | 0.05 | 32.9 | 137.77 | 0.4763 | 0.0000 |
| 2: Pump exit (boiler inlet) | 30 | 32.9 | 140.77 | 0.4763 | liquid |
| 3: Turbine inlet | 30 | 400.0 | 3231.57 | 6.9233 | superheated |
| 4: Turbine exit (condenser inlet) | 0.05 | 32.9 | 2110.71 | 6.9233 | 0.8143 |
The turbine gives 1120.9 kJ/kg and the pump takes back only 3.01 kJ/kg, a back work ratio of 0.27%. Each kWh of net work needs 3.22 kg of steam. The exhaust is 18.6% water, wetter than turbine designers like: steam turbines are usually kept to roughly 10-12% moisture or less at the last stage, because droplets erode the blades.
Worked example 2: how much do turbine and pump losses cost?
At 100 bar, 500 °C and 0.1 bar the ideal cycle reaches 40.2% with 1275.3 kJ/kg of net work. Give the turbine an isentropic efficiency of 85% and the pump 80%, and the same steam conditions give 34.1% and 1080.0 kJ/kg: 6.1 percentage points lost, almost all of it in the turbine. The turbine exhaust gets drier as a side effect (x = 0.874 instead of 0.793), because the lost work stays in the steam as heat.
How do you increase the efficiency of a Rankine cycle?
Raise the average temperature at which heat goes in, or lower the temperature at which it comes out. Each change below starts from the ideal 100 bar, 500 °C, 0.1 bar cycle:
| Change | η | Δ, points | Exit x |
|---|---|---|---|
| Base: 100 bar, 500 °C, 0.1 bar | 40.2% | – | 0.793 |
| Lower condenser pressure: 0.05 bar instead of 0.1 | 41.9% | +1.75 | 0.773 |
| More superheat: 600 °C instead of 500 | 41.7% | +1.54 | 0.834 |
| Higher boiler pressure: 150 bar instead of 100 | 41.4% | +1.25 | 0.760 |
| Reheat: at 20 bar back to 500 °C | 41.7% | +1.49 | 0.905 |
| No superheat: saturated steam at 100 bar | 37.2% | −2.97 | 0.662 |
Lowering the condenser pressure and raising the boiler pressure both lift efficiency but make the exhaust wetter. More superheat helps on both counts but is capped by what boiler and turbine steels can take. Reheat is how real plants get high pressure and dry exhaust together. The other standard step, regeneration with feedwater heaters, is not in this calculator yet.
Worked example 3: a reheat cycle for a 210 MW unit
Assumed figures, typical of a subcritical coal unit: 150 bar and 540 °C at the HP turbine, reheat at 40 bar back to 540 °C, condenser 0.1 bar, turbines at 87% and the feed pump at 85% isentropic efficiency, 210 MW net:
| State | P (bar) | T (°C) | h (kJ/kg) | s (kJ/kg·K) | x |
|---|---|---|---|---|---|
| 1: Pump inlet (condenser exit) | 0.1 | 45.8 | 191.81 | 0.6492 | 0.0000 |
| 2: Pump exit (boiler inlet) | 150 | 46.9 | 209.57 | 0.6575 | liquid |
| 3: HP turbine inlet | 150 | 540.0 | 3423.22 | 6.4897 | superheated |
| 4: HP turbine exit (to reheater) | 40 | 347.0 | 3085.90 | 6.5723 | superheated |
| 5: LP turbine inlet (after reheat) | 40 | 540.0 | 3537.34 | 7.2073 | superheated |
| 6: LP turbine exit (condenser inlet) | 0.1 | 45.8 | 2446.55 | 7.7183 | 0.9426 |
Net work is 1410.4 kJ/kg on 3665.1 kJ/kg of heat, an efficiency of 38.5% and a cycle heat rate of 9,355 kJ/kWh. The exhaust is 0.943 dry. The steam flow for 210 MW:
A real plant's heat rate is higher than this cycle figure: the boiler loses heat up the stack, and the station's own fans and pumps use part of the output. Feedwater heaters, which every large unit has, push the cycle figure the other way.
Why is the Rankine efficiency lower than the Carnot efficiency?
A Carnot cycle between the same hottest and coldest temperatures would take in all its heat at Tmax. The Rankine cycle warms its feedwater from about 33 °C and boils it at the saturation temperature (234 °C at 30 bar), so most heat goes in far below 400 °C. For the course case Carnot gives 54.5% and Rankine 36.2%. Reheat, more superheat and feedwater heaters all raise the average temperature of heat addition and close part of that gap.
What this calculator does not cover
- Regeneration. Open and closed feedwater heaters are not modelled yet.
- Supercritical and near-critical cycles. Boiler pressure is limited to 165 bar, where IF97 Region 3 begins; supercritical units run at 240 bar and above.
- Pressure and heat losses in pipes, the boiler and the condenser; subcooled condensate; turbine leakage and exhaust losses.
- Other working fluids. Organic Rankine cycles (R245fa, pentane and others) need those fluids' properties.
Build this yourself: Skill-Lync's courses take you from steam-table hand calculations to your own Rankine cycle simulator and on to combustion and CFD.
- Foundations of Thermodynamics and its Industrial Applications (ideal, reheat and regenerative Rankine cycles, actual and combined cycles)
- MATLAB for Mechanical Engineers (4 weeks; the Rankine cycle simulator is one of its projects)
- Computational Combustion using Python and Cantera
Frequently asked questions
What is the formula for Rankine cycle efficiency?
Thermal efficiency is net work over heat added: η = [(h3 − h4) − (h2 − h1)] / (h3 − h2), with 1 the pump inlet, 2 the boiler inlet, 3 the turbine inlet and 4 the turbine exit. For 30 bar, 400 °C and 0.05 bar with ideal machines it is 36.2%.
What is a typical Rankine cycle efficiency?
A simple ideal cycle at textbook conditions gives about 30-42%: 36.2% at 30 bar/400 °C and 40.2% at 100 bar/500 °C (0.05-0.1 bar condenser). Turbine and pump losses take several points off (34.1% at 85%/80% efficiency); reheat and feedwater heating add some back.
Why is the pump work so small in a Rankine cycle?
The pump moves liquid water, whose specific volume is about 1,000 times smaller than steam's, so v·ΔP is tiny. In the 30 bar case the pump takes 3.01 kJ/kg against 1121 kJ/kg from the turbine, a back work ratio of 0.27%. In a gas turbine the compressor works on gas, not liquid, and takes a far larger share of the turbine's output.
How do you find the dryness fraction at the turbine exit?
For isentropic expansion the entropy stays the same: x = (s3 − sf) / (sg − sf), using sf and sg at the condenser pressure. With a turbine efficiency below 100%, find the actual exit enthalpy h4 = h3 − ηt(h3 − h4s) and then x = (h4 − hf) / hfg.
Why is reheat used in a Rankine cycle?
Mainly to keep the steam dry at the turbine exit. Raising boiler pressure lifts efficiency but makes the exhaust wetter (x = 0.760 at 150 bar and 500 °C), and water droplets erode the last blades. Reheating at 20 bar to 500 °C raises x from 0.793 to 0.905 and efficiency by +1.49 points.
Can I check my MATLAB XSteam Rankine cycle project with this?
Yes. XSteam uses the same IAPWS-IF97 equations, so your state points should agree to the decimals shown. Skill-Lync's MATLAB course case (30 bar, 400 °C, 0.05 bar) gives h1 = 137.77, h2 = 140.77, h3 = 3231.57, h4 = 2110.71 kJ/kg and 36.2% efficiency.
How accurate are the steam properties?
They are the IAPWS-IF97 industrial formulation used by steam tables and XSteam. Skill-Lync checked the code against the release's verification values (9 significant figures) and every cycle against CoolProp's IAPWS-95 water: efficiencies agree to within 0.0018 percentage points on 120 random cycles.
Related on Skill-Lync
- MATLAB project ideas, including the Rankine cycle simulator and how to extend it
- Student project: Rankine cycle simulator in MATLAB
- Student project: another Rankine cycle simulator
- Introduction to turbomachinery: gas turbine engines
- Buck and boost converter calculator
- All free engineering tools
Sources
- IAPWS R7-97(2012), Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam (Regions 1, 2 and 4 equations and their verification values; coefficients as tabulated in the open-source iapws package).
- I. H. Bell, J. Wronski, S. Quoilin and V. Lemort, "Pure and Pseudo-pure Fluid Thermophysical Property Evaluation and the Open-Source Thermophysical Property Library CoolProp", Ind. Eng. Chem. Res. 53 (2014) 2498-2508 (IAPWS-95 water used for the cross-check).
- Y. A. Çengel and M. A. Boles, Thermodynamics: An Engineering Approach, chapter on vapour and combined power cycles (ideal, actual, reheat and regenerative Rankine cycles).
- M. Holmgren, XSteam, IAPWS-IF97 steam tables for MATLAB (the library the course project uses).
- Worked examples and all their numbers: Skill-Lync, checked by scripts/verify/rankine.py and cross-checked against this page's calculator code at build time.