Thermodynamics

Carnot Engine

The most efficient possible heat engine — η = 1 − T_c/T_h, the universal upper bound

A Carnot engine is an idealized reversible heat engine operating between two reservoirs. Its efficiency η = 1 − T_c/T_h is the THEORETICAL MAXIMUM for any engine working between the same temperatures (Carnot's theorem). Real engines always do worse due to irreversibilities. The Carnot cycle (isothermal expansion → adiabatic expansion → isothermal compression → adiabatic compression) sets the fundamental limit.

  • Efficiencyη_Carnot = 1 − T_c / T_h
  • Cycle2 isothermal + 2 adiabatic processes
  • ReversibleEach step infinitesimally slow, no entropy generation
  • Carnot's theoremNo engine more efficient than Carnot at same T_h and T_c
  • DiscoveredSadi Carnot, 1824 (Réflexions sur la puissance motrice du feu)
  • Real engines30-90% of Carnot efficiency depending on design

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

The Carnot cycle

Four reversible steps:

StepProcessHeatWorkEntropy
1 → 2Isothermal expansion at T_hQ_h absorbed (positive)Work done by gas (positive)ΔS_gas = +Q_h/T_h
2 → 3Adiabatic expansionQ = 0Work done by gas (positive)0
3 → 4Isothermal compression at T_cQ_c released (positive value)Work done on gas (negative for gas)ΔS_gas = -Q_c/T_c
4 → 1Adiabatic compressionQ = 0Work done on gas0

Total cycle: net work W = Q_h - Q_c. Total ΔS_gas = 0 (returns to start). Reversible — no entropy generated.

Carnot efficiency

η_Carnot = W / Q_h = 1 − Q_c / Q_h = 1 − T_c / T_h

(Both T in Kelvin.) The form 1 - T_c/T_h follows from reversibility: Q_c/Q_h = T_c/T_h.

T_hT_cη_Carnot
500 K300 K40%
800 K300 K62.5%
1500 K300 K80%
2200 K (combustion)300 K86.4%
5800 K (Sun's surface)300 K94.8%

Higher T_h or lower T_c → higher efficiency. This is why power plants seek high boiler temperatures and cool condenser temperatures.

Real engines vs Carnot

SystemT_hT_cη_CarnotReal ηη/η_Carnot
Steam locomotive500 K373 K25%~10%40%
Modern coal plant900 K310 K66%~40%61%
Combined cycle gas1700 K310 K82%~60%73%
Internal combustion (gasoline)~2200 K~600 K73%~25%34%
Diesel~2200 K~600 K73%~35%48%
Refrigerator (room T)COP ~14COP ~3-5~25%

JavaScript — Carnot calculations

// Carnot efficiency
function carnotEfficiency(T_hot_K, T_cold_K) {
  return 1 - T_cold_K / T_hot_K;
}

// Carnot refrigerator COP
function carnotRefrigCOP(T_cold_K, T_hot_K) {
  return T_cold_K / (T_hot_K - T_cold_K);
}

// Carnot heat pump COP
function carnotHeatPumpCOP(T_cold_K, T_hot_K) {
  return T_hot_K / (T_hot_K - T_cold_K);
}

// Sample calculations
console.log(`Steam plant (550°C, 30°C): ${(carnotEfficiency(823, 303) * 100).toFixed(1)}%`); // ~63%
console.log(`Solar thermal (350°C, 30°C): ${(carnotEfficiency(623, 303) * 100).toFixed(1)}%`); // ~51%

console.log(`Fridge (4°C, 25°C): COP_ref = ${carnotRefrigCOP(277, 298).toFixed(1)}`);
console.log(`Heat pump (-5°C outside, 22°C inside): COP_hp = ${carnotHeatPumpCOP(268, 295).toFixed(1)}`);

// Real efficiency expressed as fraction of Carnot
function efficiencyFraction(real_eta, T_hot, T_cold) {
  return real_eta / carnotEfficiency(T_hot, T_cold);
}

console.log(`Modern diesel (35%): ${(efficiencyFraction(0.35, 2200, 600) * 100).toFixed(0)}% of Carnot`);

// Carnot work output for given Q_h
function carnotWork(Q_hot, T_hot, T_cold) {
  return Q_hot * carnotEfficiency(T_hot, T_cold);
}

// Heat 1000 J at 800 K, dump to 300 K
console.log(`Carnot work from 1000 J at 800K: ${carnotWork(1000, 800, 300).toFixed(0)} J`);  // 625

// Min cold reservoir for given efficiency
function minColdReservoir(efficiency, T_hot) {
  // η = 1 - T_c/T_h → T_c = T_h * (1 - η)
  return T_hot * (1 - efficiency);
}

console.log(`For 70% efficiency at 800K hot: T_cold < ${minColdReservoir(0.7, 800)} K`); // 240 K (-33°C)

Where Carnot matters

  • Engine and power plant design. Sets theoretical max efficiency; engineers optimize toward this limit.
  • Refrigeration and heat pumps. Carnot COP is the upper bound for cooling/heating efficiency.
  • Solar thermal energy. High-temperature receivers approach Carnot limits at concentrated solar plants.
  • Geothermal and OTEC (ocean thermal). Low ΔT means low Carnot efficiency; OTEC (~25°C ΔT) has fundamental limit ~7%.
  • Cryogenics. Liquefying gases (helium, nitrogen) requires substantial energy; Carnot bounds efficiency of cryocoolers.
  • Engineering education. Foundational concept — sets a "good vs perfect" benchmark for all heat engines.
  • Theoretical thermodynamics. Used to derive other key relationships (Clausius inequality, entropy, free energy).

Common mistakes

  • Using Celsius in η = 1 - T_c/T_h. MUST be Kelvin. Using Celsius gives wrong (and possibly negative) efficiency.
  • Treating Carnot as practical efficiency goal. It's a theoretical limit. Aim for 70-80% of Carnot in real engines; 100% requires infinite time.
  • Confusing Carnot for an engine type. Carnot is an IDEALIZATION — no real engine is Carnot. Real engines (Otto, Diesel, Brayton, Rankine cycles) have different cycles.
  • Forgetting it's reversible. Carnot assumes infinite time. Faster operation (real engines) generates entropy — efficiency drops.
  • Conflating engine efficiency with refrigerator COP. Engines have η ≤ 1 (always less than 1). Refrigerators have COP > 1 typically (they MOVE heat efficiently, not convert it). Different metrics.
  • Treating Carnot as universal upper bound. It's the bound for engines with TWO heat reservoirs at fixed T_h, T_c. Some advanced systems (multi-stage, fuel cells using chemical energy directly) can exceed Carnot in specific configurations.

Frequently asked questions

Why is the Carnot engine the most efficient?

Because it's REVERSIBLE — no entropy generated within the engine itself. Any irreversibility (friction, finite-rate heat transfer, turbulence) creates extra entropy, which must be "exported" as additional waste heat, reducing efficiency. Carnot's proof: assume an engine more efficient than Carnot exists; combine with Carnot run in reverse → net result violates 2nd law. Therefore no engine beats Carnot. (See Carnot's theorem.)

What's the Carnot cycle?

Four reversible steps: (1) Isothermal expansion at T_h — gas absorbs heat Q_h, does work; (2) Adiabatic expansion — gas continues expanding, T drops to T_c, no heat exchange; (3) Isothermal compression at T_c — gas releases heat Q_c, work done on gas; (4) Adiabatic compression — gas compressed back to start, T rises to T_h. Net work = Q_h - Q_c. Net entropy of gas = 0 (returns to initial state). Net entropy of universe = 0 (since reversible).

Why is Carnot impractical?

Reversibility requires infinitesimally slow processes — meaning infinite time per cycle, zero power output. Real engines must operate at finite speed → some irreversibility is mandatory. Also, isothermal processes require infinite-conductance heat exchangers to transfer Q at fixed T. Real engines compromise — fast operation with reduced efficiency. Carnot serves as theoretical benchmark.

How close do real engines get to Carnot?

Varies. Best modern combined-cycle gas turbines reach ~60-65% of theoretical Carnot. Diesel engines: ~50-60%. Gasoline: ~40-50%. Solar thermal plants: 30-40% of Carnot. Best fridges: ~30-50% of Carnot COP. Engineers focus on minimizing finite-rate effects, friction, and other losses to approach the limit.

How does Carnot apply to refrigerators?

Run a Carnot engine in reverse — Carnot refrigerator. COP = T_c / (T_h - T_c). For typical kitchen fridge (T_c = 277 K, T_h = 297 K), Carnot COP = 13.85. Real fridges: COP ~3-5. Heat pumps similarly bounded by Carnot.

Why does Carnot efficiency depend only on temperatures?

Because it depends only on entropy ratios. dS = dQ/T. For Carnot cycle, ΔS_h = -Q_h/T_h, ΔS_c = +Q_c/T_c. For reversibility, sum is zero: Q_h/T_h = Q_c/T_c. So Q_c/Q_h = T_c/T_h, giving η = 1 - Q_c/Q_h = 1 - T_c/T_h. Independent of working fluid (gas, water vapor, etc.) — purely temperature-driven.

What's "absolute zero" got to do with this?

As T_c → 0 K, Carnot efficiency η → 100%. So we'd need a cold reservoir at absolute zero for perfect efficiency. The 3rd law of thermodynamics says T = 0 K is unreachable in finite steps. So Carnot efficiency &lt; 100% is fundamental — not an engineering limit.