Carnot Cycle

The Carnot cycle is the perfect heat engine that no real machine can beat. A gas is taken around four reversible steps between a hot reservoir and a cold one — expanding while it draws heat in, being squeezed while it dumps heat out — and the loop it traces on a PV diagram encloses the net work. Because it is perfectly reversible, its efficiency hits the absolute ceiling, η = 1 − T꜀/Tʜ, set only by the two temperatures. Slide the hot and cold temperatures apart and watch the efficiency climb, the loop swell and the work grow. It all runs on your device.

You are in the Physics lab.

Widen the gap between the hot and cold temperatures and watch efficiency climb
Thermal efficiency62.5%
Work per cycle W—
Heat in Q_H—
Heat out Q_C—
Temperature ratio T_C / T_H—
Fridge COP (reversed cycle)—
Energy flow — the heat in Q_H splits into work W (green) plus waste heat Q_C (blue)
Only the two temperatures decide the ceiling. Run a gas around a perfectly reversible loop between a hot reservoir at Tʜ and a cold one at T꜀, and the fraction of the absorbed heat you can turn into work is fixed at η = 1 − T꜀/Tʜ — nothing about the gas, the size or the speed changes it. The work per cycle is the area of the loop, the difference Qʜ − Q꜀ between the heat drawn from the hot side and the heat dumped to the cold side. Push the reservoirs further apart and the loop, the work and the efficiency all grow.

Reading the simulation

What the coloured loop, the shaded area and the energy-flow bar are telling you.

1

The four processes on the loop

The moving dot traces the cycle in order: ① isothermal expansion along the red curve while the gas touches the hot reservoir at T_H; ② adiabatic expansion along the grey curve, insulated, cooling to T_C; ③ isothermal compression along the blue curve against the cold reservoir; and ④ adiabatic compression, insulated again, warming back to T_H. The piston inset shows the gas volume rising and falling and turns red, blue or grey to show which reservoir — if any — it is touching right now.

2

The loop's area is the net work

The shaded region enclosed by the loop is the net work W done per cycle. Expansion (the top of the loop) does work on the surroundings; compression (the bottom) takes work back; the area between them is what is left over. Widen the loop with the Expansion ratio slider or the Wide expansion preset and the shaded area — and the work — grows, even though the efficiency does not change.

3

Efficiency splits the energy bar

The lower bar is the heat Q_H drawn from the hot reservoir, split into the useful work W (green) and the waste heat Q_C (blue) dumped to the cold side, so Q_H = W + Q_C exactly. The green fraction is the efficiency, η = 1 − T_C/T_H. Pull the temperatures apart and the green slice grows toward the ceiling; push them together, as in the refrigerator-range preset, and most of the heat passes straight through as waste.

How It Works

Four reversible steps, a loop whose area is the work, and an efficiency set only by temperature.

1

Two expansions, two compressions

Starting hot, the gas expands at constant temperature T_H while touching the hot reservoir, drawing in heat Q_H. Insulated, it expands further and cools to T_C. Touching the cold reservoir it is compressed at constant T_C, dumping heat Q_C. Insulated again, it is compressed back to the start and reheats to T_H. The red and blue curves on the diagram are the two isotherms; the grey ones are the insulated adiabatic steps.

2

The loop's area is the work

Each trip around the closed loop returns the gas to exactly where it began, so all the energy that went in as heat comes out as work or waste heat: Q_H = W + Q_C. The net work per cycle is the area enclosed by the loop on the PV diagram — shaded here — equal to Q_H − Q_C = (T_H − T_C)·ln r, where r is the expansion ratio. A wider loop means more work.

3

The efficiency ceiling

Divide the work by the heat you paid for and, for a reversible Carnot engine, it comes out as exactly η = 1 − T_C/T_H — the highest any engine can reach between those two temperatures. It hits 100 percent only if the cold reservoir is at absolute zero. Run the same cycle backwards and it becomes a refrigerator with coefficient of performance T_C/(T_H − T_C). Real engines have friction and finite-speed heat flow, so they always sit below the Carnot line; Carnot tells you where the line is.

What is the Carnot cycle?
The Carnot cycle is an idealised, perfectly reversible sequence of four steps that a heat engine can run between a hot reservoir and a cold one: isothermal expansion at the hot temperature, adiabatic expansion, isothermal compression at the cold temperature, and adiabatic compression back to the start. On a pressure-volume diagram it forms a closed loop whose enclosed area is the net work done per cycle. It is a theoretical benchmark, not a real machine, and no engine working between the same two temperatures can be more efficient.
What is the Carnot efficiency?
The Carnot efficiency is η = 1 − T꜀/Tʜ, where Tʜ and T꜀ are the absolute (kelvin) temperatures of the hot and cold reservoirs. It depends only on those two temperatures, not on the gas or the details of the engine. A bigger temperature gap gives a higher efficiency, but it can never reach 100 percent unless the cold reservoir is at absolute zero. Change the temperatures in this simulator and watch the efficiency track 1 − T꜀/Tʜ exactly.
Why can't a real engine reach Carnot efficiency?
Because the Carnot cycle assumes every step is perfectly reversible: no friction, no turbulence, and heat flowing only across an infinitesimal temperature difference, which would take infinitely long. Real engines have friction, finite-speed heat transfer, and other irreversible losses that generate entropy and waste energy, so they always fall short of the Carnot limit. The Carnot efficiency is the unreachable ceiling that tells engineers the best they could ever hope for between two temperatures.
What are the four steps of the Carnot cycle?
First, isothermal expansion: the gas touches the hot reservoir, absorbs heat Qʜ and expands at constant hot temperature. Second, adiabatic expansion: insulated from everything, it keeps expanding and cools from Tʜ to T꜀. Third, isothermal compression: it touches the cold reservoir and is compressed, dumping heat Q꜀ at constant cold temperature. Fourth, adiabatic compression: insulated again, it is compressed back to the start and warms from T꜀ to Tʜ. The net work equals Qʜ − Q꜀.

Teaching or blogging about thermodynamics? You can embed this simulator on your own site free — one line of code, no sign-up.

Classroom activity

A ready-to-assign lab using the simulation above. Free to use — nothing to install or sign up for, and no student data leaves the browser.

High school, College10–20 minInteractive simulation

Learning objectives

  • Describe the four steps of the Carnot cycle.
  • Compute Carnot efficiency from reservoir temperatures.
  • Explain the second-law limit on heat engines.

Variables to change

  • Hot reservoir temperature
  • Cold reservoir temperature

Procedure

  1. Run the cycle and identify the two isothermal and two adiabatic steps.
  2. Raise the hot-reservoir temperature and observe the efficiency.
  3. Lower the cold-reservoir temperature and observe the efficiency.

Observations

Record the efficiency for several combinations of hot and cold temperatures.

Questions

  1. Write the Carnot efficiency.
  2. How do you raise a Carnot engine’s efficiency?
  3. Can any real engine beat the Carnot efficiency between the same reservoirs?
  4. Why can’t efficiency reach 100%?
  5. Name the four processes of the Carnot cycle.

Explanation

The Carnot cycle — two isothermal and two adiabatic steps — is the most efficient possible engine between two reservoirs, with η = 1 − Tc/Th. Real engines fall short, and the second law forbids 100% efficiency.

Answer key (for instructors)
  • 1. η = 1 − Tc/Th, with temperatures in kelvin.
  • 2. Increase the hot-reservoir temperature or decrease the cold-reservoir temperature.
  • 3. No — Carnot sets the maximum possible efficiency; real engines fall short due to irreversibility.
  • 4. That would need Tc = 0 K (unreachable) or Th → ∞; the second law forbids converting all heat to work.
  • 5. Isothermal expansion, adiabatic expansion, isothermal compression, adiabatic compression.

Educators: link or embed this simulation freely in your LMS or course guide.

Add This Carnot Cycle Simulator to Your Website

Put the Carnot Cycle Simulator on your own page — free, no sign-up, no watermark. It runs entirely in your visitors' browsers. Copy the snippet and paste it into your page's HTML.

The credit line under the widget links back to LK Forge — please keep it so others can find it too.