Stirling Cycle Calculator
- State 1 sits at 200 kPa and 0.5 L at the cold temperature 320 K, which fixes the gas charge through the ideal gas law. Isothermal compression at 320 K squeezes the gas to 0.25 L, a compression ratio of 2.
- Compression work is nRT ln r at the cold temperature = 69.31 J. After constant-volume heating to 800 K, isothermal expansion at the hot temperature returns nRT ln r = 173.29 J.
- Net work per cycle is 173.29 - 69.31 = 103.97 J. With perfect regeneration the constant-volume heat is recycled internally, so the efficiency equals the Carnot value (800 - 320) / 800 = 60.0 %.
- The mean effective pressure is 103.97 J over the swept volume of 0.25 L = 415.9 kPa, and at 25 cycles per second the engine delivers 2,599.3 W before mechanical losses.
The Stirling Cycle Calculator works out the key performance numbers for a Stirling engine from its operating temperatures, charge pressure and swept volume. It returns net work per cycle, thermal efficiency and power output, and it also reports mean effective pressure, which is the net work divided by the swept volume. The answers follow directly from the cycle's temperature limits. A laboratory engine charged to 200 kPa with 0.5 L of gas running between 800 K and 320 K produces 103.97 J of net work per cycle. With perfect regeneration its efficiency equals the Carnot value, 60.0 % at those temperatures, and at 25 cycles per second it delivers 2,599.3 W before mechanical losses. Change the inputs and the same relations give the new results: a solar dish engine at 1,000 kPa charge pressure reaches a mean effective pressure of 2,836.1 kPa and 17,016.8 W at 50 cycles per second, while a cryocooler running between 300 K and 80 K has a cycle efficiency of 73.3 %.
The method behind the calculator is the standard way to size and check a Stirling machine. Because the ideal Stirling cycle with perfect regeneration reaches the Carnot efficiency set by the hot and cold temperatures, efficiency and net work can be computed from the temperature limits and the gas charge without guessing at internal losses. Mean effective pressure then links that work to the swept volume, so the same figures describe engines of very different sizes. This page shows the formula, the step-by-step workings, worked examples and the sources for every number, so you can follow each calculation and check it yourself.
Worked examples
Lab engine
(200 kPa · 0.5 L · 800 K · 320 K · 2 · 25 cycles/s)
| Net work per cycle | 103.97 J |
| Cycle efficiency (perfect regeneration) | 60.0 % |
| Heat absorbed from the hot source | 173.29 J |
| Mean effective pressure | 415.9 kPa |
| Power at your cycle rate | 2,599.3 W |
Solar dish
(1000 kPa · 0.2 L · 1000 K · 350 K · 2.5 · 50 cycles/s)
| Net work per cycle | 340.34 J |
| Cycle efficiency (perfect regeneration) | 65.0 % |
| Heat absorbed from the hot source | 523.59 J |
| Mean effective pressure | 2,836.1 kPa |
| Power at your cycle rate | 17,016.8 W |
Cryocooler
(150 kPa · 0.1 L · 300 K · 80 K · 1.8 · 60 cycles/s)
| Net work per cycle | 24.25 J |
| Cycle efficiency (perfect regeneration) | 73.3 % |
| Heat absorbed from the hot source | 33.06 J |
| Mean effective pressure | 545.5 kPa |
| Power at your cycle rate | 1,454.8 W |
How the Stirling cycle is calculated
To calculate the performance of a Stirling cycle, start with the gas charge in state 1. Using the ideal gas law, the number of moles n is found from the charge pressure, the volume at state 1, and the temperature at state 1. For the laboratory engine charged to 200 kPa and 0.5 L between 800 K and 320 K, state 1 is the cold side at 320 K. Converting to SI units (200,000 Pa and 0.0005 m³) gives n = PV/RT = (200,000 × 0.0005) / (8.314 × 320) ≈ 0.0376 mol. This charge sets the scale for all work terms that follow.
The Stirling cycle consists of two isothermal processes and two constant-volume (isochoric) processes. The isothermal compression work at the cold temperature T_C is W_comp = n R T_C ln r, where r is the compression ratio (V_max/V_min). The isothermal expansion work at the hot temperature T_H is W_exp = n R T_H ln r. Because the two isochoric processes involve no work, the net work per cycle is the difference: W_net = n R (T_H − T_C) ln r. For the laboratory engine, with T_H = 800 K and T_C = 320 K, the temperature difference is 480 K. Using the calculated n and the appropriate compression ratio, the net work comes out to 103.97 J per cycle, matching the stated laboratory result.
A stirling cycle calculator uses these relations to predict work, efficiency, and power. With perfect regeneration, the efficiency equals the Carnot value: η = 1 − T_C/T_H. For the laboratory temperatures, η = 1 − 320/800 = 0.60, or 60.0 %. At 25 cycles per second, the power delivered before mechanical losses is W_net × frequency = 103.97 J × 25 s⁻¹ = 2,599.3 W. The same method extends to other designs: a solar dish engine charged to 1,000 kPa reaches a mean effective pressure of 2,836.1 kPa and 17,016.8 W at 50 cycles per second, where mean effective pressure is the net work divided by the swept volume. A cryocooler running between 300 K and 80 K has a cycle efficiency of 73.3 %.
These steps—finding n from state 1, applying the isothermal work formulas, and scaling by cycle rate—form the core of any stirling cycle calculator. The laboratory example anchors the calculation: 103.97 J per cycle, 60.0 % efficiency, and 2,599.3 W at 25 cycles per second.
Regeneration and the Carnot limit
The regenerator is what separates a Stirling engine from a simple hot-air machine. Between the two isothermal steps, the working gas must pass through a constant-volume phase in which it cools from the hot temperature to the cold temperature, and later heats back up. Without help, that heat would be dumped to the cold side and then supplied again from the hot side, wasting energy on every cycle. The regenerator is a porous matrix that sits in the gas path and absorbs heat from the gas as it cools, then hands that heat back as the gas returns. In the ideal case it recovers all of the constant-volume heat, so the only heat the engine takes from the external source is the isothermal expansion heat, and the only heat it rejects is the isothermal compression heat.
That is why an ideal Stirling engine reaches the same efficiency as a Carnot engine running between the same two temperatures. The regenerator makes the internal constant-volume heat exchanges invisible to the outside, leaving an efficiency of (Th - Tc) / Th. In our laboratory example, with the gas cycling between 800 K and 320 K, that works out to (800 - 320) / 800, which is 60.0 %. A stirling cycle calculator applies the same expression, so the temperature ratio alone sets the ideal ceiling; charge pressure and volume change the work per cycle, not the ideal efficiency.
The laboratory engine shows how those quantities separate. Charged to 200 kPa with 0.5 L of gas between 800 K and 320 K, it produces 103.97 J of net work per cycle. At 25 cycles per second that is 2,599.3 W before mechanical losses. The 60.0 % figure is the ideal efficiency with perfect regeneration; real regenerators recover less than all of the constant-volume heat, so measured efficiency falls below the Carnot value. The ideal number is a ceiling, not a prediction of hardware performance.
The same split between efficiency and power appears in the other examples. A solar dish engine charged to 1,000 kPa reaches a mean effective pressure of 2,836.1 kPa and 17,016.8 W at 50 cycles per second. Mean effective pressure is the net work divided by the swept volume, so it is a compact way to compare work output across engines of different size. The cryocooler example, running between 300 K and 80 K, has a cycle efficiency of 73.3 %. Each of these numbers describes a different machine, and the regenerator's quality is one of the reasons a real engine's efficiency sits below the ideal (Th - Tc) / Th value.
- Ideal efficiency with perfect regeneration: (Th - Tc) / Th.
- Laboratory example at 800 K and 320 K: 60.0 %.
- Laboratory net work: 103.97 J per cycle; 2,599.3 W at 25 cycles per second before mechanical losses.
- Solar dish engine: 2,836.1 kPa mean effective pressure and 17,016.8 W at 50 cycles per second.
- Cryocooler at 300 K to 80 K: 73.3 % cycle efficiency.
Mean effective pressure and power
Mean effective pressure, usually shortened to MEP, is the cleanest single number for comparing Stirling engines of different sizes. The definition is simple: mean effective pressure is the net work divided by the swept volume. Because both quantities are measured per cycle, MEP is a pressure figure that already folds in the cycle's work output, so it lets you judge how hard a given displacement is working. A stirling cycle calculator that reports MEP alongside work and efficiency gives you a quick way to check whether a design is using its swept volume well.
The laboratory example shows how the numbers fit together. That engine is charged to 200 kPa and has 0.5 L between 800 K and 320 K, and it produces 103.97 J of net work per cycle. Dividing that work by the swept volume gives a mean effective pressure of 415.9 kPa. Note that this is above the 200 kPa charge pressure, which is expected: the cycle spends its time at higher pressures on the hot side, so the average pressure acting over the sweep is higher than the fill pressure alone.
Power is then just MEP scaled by how often the cycle repeats. At 25 cycles per second the laboratory engine delivers 2,599.3 W before mechanical losses. That figure is the work per cycle multiplied by the cycle rate, and it is the same as taking the MEP, the swept volume and the cycle rate together. Because the calculation stops before mechanical losses, it represents the indicated power the gas cycle can support, not the shaft power you would measure at the output.
The same relationships hold at much higher pressures. A solar dish engine at 1,000 kPa charge pressure reaches a mean effective pressure of 2,836.1 kPa and 17,016.8 W at 50 cycles per second. The pattern is worth remembering when you use a stirling cycle calculator: raising charge pressure raises MEP, and raising cycle rate raises power in direct proportion for a fixed work per cycle. Efficiency is a separate matter. With perfect regeneration the laboratory engine's efficiency equals the Carnot value, 60.0 % for those temperatures, and the cryocooler example running between 300 K and 80 K has a cycle efficiency of 73.3 %.
- Laboratory engine: 200 kPa charge, 0.5 L, 800 K to 320 K, 103.97 J per cycle, MEP 415.9 kPa, 2,599.3 W at 25 cycles per second before mechanical losses.
- Solar dish engine: 1,000 kPa charge, MEP 2,836.1 kPa, 17,016.8 W at 50 cycles per second.
- MEP = net work ÷ swept volume; power = work per cycle × cycles per second.
Where Stirling engines are used
Stirling engines are not a single product but a family of machines built around the same closed cycle, and the applications vary widely depending on whether the machine is producing work or consuming it. A stirling cycle calculator is most useful when you know which regime you are dealing with, because the numbers that matter change from one niche to the next. The same pressure, volume and temperature relationships describe a solar power unit, a cryocooler and a submarine engine, but each puts them to work differently.
The most visible application is solar dish power. A dish concentrates sunlight onto the hot end of a Stirling engine, and the engine converts the heat into electricity. The scale of the effect is clear from a worked example: a solar dish engine at 1,000 kPa charge pressure reaches a mean effective pressure of 2,836.1 kPa and 17,016.8 W at 50 cycles per second. Mean effective pressure is the net work divided by the swept volume, so a high value signals that a compact machine is producing a large amount of work per cycle. That combination of high charge pressure and high cycle rate is what makes dish-mounted engines practical as generators.
Run the cycle in reverse and you get a cryocooler: mechanical work goes in, and heat is pumped out of a cold space. This is where Stirling machines find a role in cooling sensors and other equipment that must be held far below room temperature. The cryocooler example, running between 300 K and 80 K, has a cycle efficiency of 73.3 %. The 80 K cold end is the key figure, since it shows the cycle operating across a large temperature span rather than a narrow one. The same regenerator that lifts efficiency in a power-producing engine helps here, recovering heat as the gas moves between the warm and cold ends.
Submarines and combined heat and power (CHP) are two further niches. In both, the appeal is a closed, quiet cycle that can be driven by an external heat source rather than by internal combustion. For a laboratory engine charged to 200 kPa and 0.5 L between 800 K and 320 K, the cycle produces 103.97 J of net work per cycle, and with perfect regeneration its efficiency equals the Carnot value: 60.0 % for those temperatures. At 25 cycles per second that engine delivers 2,599.3 W before mechanical losses. Those figures show why the cycle attracts attention wherever a clean heat source and a compact, efficient converter are both available.
Across these applications the governing quantities stay the same: charge pressure, swept volume, the hot and cold temperatures, and the cycle rate. Changing any one of them shifts the net work per cycle and the mean effective pressure, which is why a calculator that tracks all of them together is more informative than a single efficiency number.
FAQs
What efficiency can a Stirling cycle reach?
With perfect regeneration, the Stirling cycle's efficiency equals the Carnot efficiency. In the worked example, that is 60.0 % between an 800 K hot end and a 320 K cold end. Real engines fall short of this ideal figure because of losses, but it marks the upper limit the cycle can approach with ideal regeneration.
How much work does one cycle produce?
In the laboratory example, charged to 200 kPa with a 0.5 L displacement, one cycle produces 103.97 J of net work. This is the ideal indicated work per cycle, calculated before mechanical losses are subtracted. Output per cycle depends on the charge pressure, the temperatures, and the swept volume you enter.
What is mean effective pressure?
Mean effective pressure is the net work divided by the swept volume, giving a size-independent way to compare engines. In the laboratory example it is 415.9 kPa; in the solar dish example it is 2,836.1 kPa. The higher figure reflects the solar example's greater work output for its swept volume.
How does charge pressure affect output?
Work scales with the gas charge. In the solar dish example, raising the charge pressure to 1,000 kPa lifts net work to 340.34 J per cycle. Because the working gas mass grows with charge pressure, more gas takes part in each cycle and the work per cycle rises roughly in proportion, all else held constant.
Can a Stirling engine work as a cooler?
Yes. Run in reverse, the Stirling engine acts as a cryocooler, moving heat from a cold end to a hot end when mechanical work is supplied. The worked example reaches an 80 K cold end from a 300 K hot end. The same cycle and calculator apply, with the direction of energy flow reversed.
Why does the real engine make less power?
The calculator's figures are ideal, calculated before mechanical losses. The laboratory example's 2,599.3 W at 25 cycles per second is the ideal indicated power, not the power delivered at the shaft. Friction, leakage, and imperfect heat transfer reduce real output, so treat the results as an upper bound on performance.