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 are not collected. Usage measurement requires your consent.
Key Formula & Conditions
Learning modelCalculates 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].
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).
Thermal Reservoir & Heat Inputs
η = 1 - T_C / T_H= 833.15 K
= 298.15 K
Energy Flow (Sankey) & Carnot Cycle P-V/T-S Diagram
Q_H = W + Q_CDone
Heat Engine, Carnot Cycle & COP Calculator
Next time, open this tool from My Tools. Only the tool list is saved in this browser, not your inputs or results.
⌥DPress Option+D anytime to toggle My Tools instantly
Condition links include learning values, units and modes, visible to anyone receiving the link. Do not include personal or unpublished data. Favorites do not store these conditions.
Worked Examples & Verified Values
Carnot efficiency (steam turbine)
Actual thermal efficiency
Heat pump heating COP
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
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.
@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}
}How to use
- 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
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
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.
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.
Related guide
Bernoulli Equation: Velocity, Pressure, Flow and Limits
Reproduce pipe-flow, Venturi, Pitot and tank-drainage examples with stated inputs and units. Check pressure reference, the 183.16 kPa pipe result and the limits of the ideal-fluid model.
Thermal and Carnot Efficiency: Worked Examples and COP
Compare W/QH with 1−TC/TH using explicit inputs. Check Celsius-to-kelvin conversion, kW versus MW, matched-condition COP and calculator examples.
How to Calculate Heat: Q = mcΔT, Thermal Equilibrium and Latent Heat
Learn when to use Q = mcΔT, Q = CΔT, energy conservation when mixing, or Q = mL for a phase change. Includes unit conversion (g and kg, J and cal, K and °C), mixing temperature examples, ice melting and water boiling calculations, common mistakes, and a free calculator for checking by hand.
Related Tools
Heat & Specific Heat Calculator
Calculate heat with Q = mcΔT, heat capacity with Q = CΔT, the final temperature when two objects mix, and latent heat with Q = mL. Shows unit conversions (J, kJ, cal, kcal, g, kg), the working and whether heat is absorbed or released.
Ideal Gas Law Calculator
Solve PV = nRT for pressure, volume, amount or temperature with unit conversions (Pa, kPa, atm, mmHg, L, mL, °C, K) and the working shown. The combined gas law P₁V₁/T₁ = P₂V₂/T₂ and gas density or molar mass with ρ = PM/(RT) are supported too.
Fluid Dynamics & Bernoulli Calculator
Calculate pipe flow velocity, dynamic pressure, pressure drop, and total head using Bernoulli’s principle and continuity equation. Features Venturi/Pitot flow meters, Torricelli tank discharge/drainage time. Ideal-fluid study model; no cavitation diagnosis.
Unit Converter
Convert length, weight and temperature instantly. Meters, inches, kilograms, pounds and more.
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.