PhysicsLast updated: 2026-10-17

Heat Engine, Carnot Cycle & COP Calculator

Calculate Carnot cycle maximum theoretical efficiency (η = 1 - TC/TH), actual heat engine work/heat rejection/Second Law feasibility (entropy generation), Otto & Diesel air-standard cycles, and heat pump/refrigeration COP with absolute temperature conversion and interactive energy flow Sankey diagrams.

Inputs and files processed in your browserFree · No sign-up

Inputs are not collected. Usage measurement requires your consent.

Key Formula & Conditions

Learning model

Calculates Carnot efficiency η_max = 1 − T_C / T_H from hot source T_H and cold sink T_C. Determines real thermal efficiency η = W / Q_H from heat input Q_H and work W, and computes coefficient of performance (COP) for heat pumps and refrigerators using absolute temperature [K].

Instant local calculationInputs calculated locallyCheck units and assumptions
Quick-load example valuesLoads values directly

Thermodynamic cycle & efficiency model. Carnot efficiency strictly requires absolute temperatures in Kelvin; using Celsius directly produces invalid ratios. This tool automatically converts to Kelvin (T[K] = T[°C] + 273.15) and detects Second Law violations (perpetual motion).

Quick Presets (Representative Thermal & HVAC Models)

Thermal Reservoir & Heat Inputs

η = 1 - T_C / T_H

= 833.15 K

= 298.15 K

Carnot Thermal Efficiency (Maximum Limit)
64.21%(η_max = 1 - T_C / T_H)
Max Work Output (W_max)642.14 MW
Min Waste Heat Q_C,min
357.86 MW
Temperature Span ΔT
535.00 K
Entropy Flow ΔS
1.200 MW/K

Energy Flow (Sankey) & Carnot Cycle P-V/T-S Diagram

Q_H = W + Q_C
高温熱源 T_H = 833.15 K低温熱源 T_C = 298.15 K熱機関η = 64.2%Q_H: 1000Q_C: 358W: 642.2カルノーサイクル P-V線図VP1234仕事 W
Compliant with 1st & 2nd Laws of Thermodynamics

Worked Examples & Verified Values

Example

Carnot efficiency (steam turbine)

Hot 500°C (773.15 K), Cold 30°C (303.15 K) → η_carnot = 60.79%
Example

Actual thermal efficiency

Heat input 1000 kW, Work 350 kW → η = 35.0%, Heat rejected Q_C = 650 kW
Example

Heat pump heating COP

Outdoor 0°C (273.15 K), Room 20°C (293.15 K) → Theoretical max COP = 14.66

Common Pitfalls & Calculation Rules

  • •Never use Celsius directly in Carnot formulas. Convert to Kelvin first: T [K] = T [°C] + 273.15.
  • •By the Second Law of Thermodynamics, real thermal efficiency cannot exceed Carnot efficiency (η ≤ η_carnot).
  • •A heat pump COP greater than 1 is expected. Unlike electric resistance heaters (COP = 1), heat pumps transfer existing thermal energy rather than generating it purely from electricity.

Verification scope and citation information

Inputs and assumptionsCheck verification scope

Use worked examples within their stated inputs, units and assumptions. Tests cover specific cases at a specific time; they do not certify every input, expert review or standards compliance. Check the references and tool-specific verification notes, and enter your own access date when citing.

APA 7th Edition Format
Tools Hub. (2026). Heat Engine, Carnot Cycle & COP Calculator [Interactive web calculation tool]. Retrieved Month Day, Year, from https://the-tools-hub.net/en/tools/heat-engine-calculator/
BibTeX Entry (@misc)
@misc{tools_hub_heat_engine_calculator_2026,
  author = {{Tools Hub}},
  title = {Heat Engine, Carnot Cycle & COP Calculator},
  year = {2026},
  url = {https://the-tools-hub.net/en/tools/heat-engine-calculator/},
  note = {Accessed: YYYY-MM-DD}
}
Detailed validation methodology: Editorial & QA PolicyEnter the date you accessed the tool
ShareXfB!L

How to use

  1. 1

    Select calculation mode

    Choose Carnot Cycle & Theoretical Limit, Actual Heat Engine & 2nd Law Check, Internal Combustion (Otto/Diesel), or Heat Pump & Refrigerator COP.

  2. 2

    Enter temperatures, heat & cycle parameters

    Input hot/cold reservoir temperatures TH/TC (°C, K, °F), heat input QH, work W, compression ratio r, specific heat ratio γ, or cut-off ratio rc.

  3. 3

    Review efficiencies, entropy, COP & energy flow

    Inspect Carnot efficiency, actual thermal efficiency, entropy generation rate ΔS_gen, Second Law feasibility verdict, Otto/Diesel comparisons, and interactive Sankey energy flow diagram.

Features

  • Instant Carnot cycle maximum efficiency η_Carnot = 1 - TC/TH calculation with automatic Kelvin, Celsius, and Fahrenheit conversions
  • Actual heat engine evaluation: thermal efficiency η_actual = W/QH, heat rejection QC, and Second Law (exergy) efficiency η_II
  • Real-time automated detection of Second Law violations (perpetual motion machine of the second kind with negative entropy generation ΔS_gen < 0)
  • Otto cycle air-standard efficiency solver based on compression ratio r and specific heat ratio γ with interactive slider
  • Diesel cycle solver incorporating cut-off ratio rc with head-to-head performance comparison against Otto cycle
  • Heat pump and refrigeration Coefficient of Performance (COP) analyzer verifying the fundamental relation COP_heating = COP_cooling + 1
  • Interactive dynamic SVG Sankey energy balance diagram displaying proportional heat flow arrows (QH, W, QC)
  • Built-in presets for steam turbine power plants, gasoline cars, heavy-duty diesels, heat pumps, freezers, and perpetual motion checks
  • One-click laboratory report export formatted in clean Markdown for engineering coursework and thermodynamic design verification

Use cases

University & College Thermodynamics Coursework

Prevent the common pitfall of calculating ratios directly in Celsius by verifying Kelvin absolute temperatures, entropy changes, and Second Law feasibility for physics and mechanical engineering problem sets.

Automotive & Internal Combustion Engine Analysis

Simulate air-standard efficiencies, compression temperature/pressure ratios for gasoline (Otto) and diesel engines across varying compression ratios and heat capacity ratios to analyze thermodynamic limitations.

HVAC, Heat Pump & Refrigeration Design

Evaluate heating and cooling COP against theoretical Carnot limits given seasonal ambient and indoor temperatures, determining Carnot efficiency ratios and operating electricity consumption.

Details

The Carnot cycle, conceived by French engineer Nicolas Léonard Sadi Carnot in 1824, is an idealized thermodynamic cycle consisting of two reversible isothermal processes and two reversible adiabatic processes. By the Second Law of Thermodynamics (Clausius and Kelvin-Planck statements), no heat engine operating between a hot reservoir at TH [K] and a cold reservoir at TC [K] can ever exceed the Carnot efficiency η_Carnot = 1 - TC / TH. This maximum theoretical efficiency depends strictly upon absolute temperatures in Kelvin, completely independent of the working substance.

In actual heat engines (steam turbines, internal combustion engines, gas turbines), mechanical friction, finite temperature differences, and viscous dissipations make processes irreversible. Consequently, actual thermal efficiency η_actual = W / QH is always strictly less than the Carnot efficiency. Any device claiming η_actual > η_Carnot is a perpetual motion machine of the second kind, which would yield negative total entropy generation (ΔS_gen < 0), strictly prohibited by physical law. The Second Law efficiency (exergetic efficiency) η_II = η_actual / η_Carnot quantifies how closely an actual engine approaches theoretical reversibility.

Air-standard internal combustion models include the Otto cycle (spark-ignition, constant-volume combustion) and the Diesel cycle (compression-ignition, constant-pressure combustion). The Otto cycle efficiency is given by η_Otto = 1 - 1 / r^(γ-1), where r = V₁/V₂ is the compression ratio and γ = Cp/Cv is the heat capacity ratio (~1.40 for air). While the Otto cycle yields higher theoretical efficiency than the Diesel cycle at the same compression ratio, Diesel engines avoid pre-ignition knock by compressing pure air, permitting much higher compression ratios (r = 16–22) and superior practical real-world fuel economy.

For heat pumps and refrigeration systems (reversed cycles), performance is characterized by the Coefficient of Performance (COP). Cooling COP equals QC / W_in, while heating COP equals QH / W_in. By the First Law of Thermodynamics (QH = QC + W_in), heating COP is strictly equal to cooling COP + 1. The maximum theoretical Carnot COPs are TC / (TH - TC) for cooling and TH / (TH - TC) for heating, illustrating why diminishing the temperature lift significantly boosts system efficiency.

Thermo & Fluid Dynamics
Step-by-step workflow

Heat Engine, Gas Law & Flow Analysis

Analyze thermal cycle work/efficiency, working fluid PV=nRT state changes, and pipe flow velocity/Venturi losses in sequence.

FAQ

Why is it strictly invalid to calculate Carnot efficiency directly in Celsius?

Carnot efficiency η = 1 - TC/TH involves a temperature ratio representing the fundamental ratio of thermal kinetic energy, which is only meaningful when measured from true absolute zero (-273.15°C = 0 K). For instance, if TH = 500°C and TC = 20°C, computing directly in Celsius yields 1 - 20/500 = 96.0%, which is wildly erroneous. Converting to Kelvin (TH = 773.15 K, TC = 293.15 K) yields the true thermodynamic limit: 1 - 293.15/773.15 = 62.08%.

Why is it impossible to build a heat engine exceeding Carnot efficiency?

Exceeding the Carnot limit is strictly prohibited by the Second Law of Thermodynamics. If an engine possessed efficiency greater than Carnot, it could be coupled with a reversed Carnot heat pump to create a net composite device that transfers heat from a colder body to a hotter body with zero external work (violating Clausius statement), or converts heat entirely into work from a single thermal reservoir (violating Kelvin-Planck statement). Such an impossible machine is known as a perpetual motion machine of the second kind.

If Otto cycle is theoretically more efficient than Diesel at equal compression ratio, why do diesel engines get better fuel economy?

At identical compression ratios, the constant-volume heat addition of the Otto cycle yields strictly higher thermal efficiency than the constant-pressure heat addition of the Diesel cycle. However, gasoline engines compress a fuel-air mixture and are mechanically restricted to r ≈ 10–12 to prevent pre-ignition knocking. Diesel engines compress pure air without fuel, allowing safe operation at much higher compression ratios (r ≈ 16–22). The massive efficiency gain from higher compression ratio far surpasses the minor penalty of constant-pressure combustion, giving diesel engines superior real-world efficiency.

Why is heating COP always exactly equal to cooling COP plus 1?

By the First Law of Thermodynamics (conservation of energy), the heat delivered to the hot reservoir equals the heat absorbed from the cold reservoir plus the compressor electrical work input: QH = QC + W_in. Dividing both sides by work input W_in gives QH / W_in = (QC + W_in) / W_in = (QC / W_in) + 1. Since heating COP is defined as QH / W_in and cooling COP as QC / W_in, COP_heating strictly equals COP_cooling + 1. All electrical work input ultimately degrades into useful heating energy released into the conditioned space.

What is the Carnot cycle?

A reversible thermodynamic cycle consisting of four processes (isothermal expansion, adiabatic expansion, isothermal compression, adiabatic compression) that sets the upper limit on efficiency for any heat engine operating between two temperatures.

Why can thermal efficiency never reach 100%?

By the Kelvin-Planck statement of the Second Law of Thermodynamics, no cyclic process can convert heat completely into work without rejecting some heat (Q_C > 0) to a lower-temperature reservoir.

All processing happens in your browser. Your files are never uploaded.

Verified: Checked October 17, 2026 by independent calculation and Chrome in both languages: 560°C, 25°C and 1000 MW give 64.21%, 642.14 MW and 357.86 MW. With heat input 1000 kW and work 420 kW: 42.00%, second-law efficiency 65.41% and entropy generation 0.7451 kW/K. Otto r=10.5 and gamma=1.4: 60.96%; Diesel r=18, rc=2 and gamma=1.4: 63.16%. Heating COP limit at 20°C/2°C: 16.29. These checks cover stated learning cases, not measurements, real equipment assessment or standards compliance.

Did you know?

French physicist Sadi Carnot published "Reflections on the Motive Power of Fire" in 1824 at age 28, establishing the universal maximum thermal efficiency η = 1 - TC/TH before thermodynamics even existed as a formal science. His visionary cycle directly laid the groundwork for Clausius and Lord Kelvin to formulate the Second Law of Thermodynamics and the concept of entropy.

Optional usage measurement settings

Only with your consent, a random browser ID and tool/learning events are sent to measure return visits. This is pseudonymous measurement. Inputs, answers, keys, files and search terms are excluded. Consent expires after 90 days. Declining does not limit any feature.

Measurement is off.

Retention and privacy