PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Thermodynamics

Other simulators in this category — or see all 31.

View category →
NewSchool

Gas Mixing & Entropy

Two species separated then mixed; ΔS = 2nR ln 2 for equal volumes and moles.

Launch Simulator
NewSchool

Stirling Cycle

PV: two isotherms and two isochores; ideal η equals Carnot with a perfect regenerator.

Launch Simulator
NewSchool

Wet Steam (T–s sketch)

Vapor dome, horizontal isobar in two-phase region, quality x and superheat sketch.

Launch Simulator
NewSchool

Brayton Cycle (Gas Turbine)

PV: isentropic compress, isobaric heat in, isentropic expand, isobaric cool — jet/GT core cartoon.

Launch Simulator
NewSchool

Joule–Thomson Throttling

Isenthalpic expansion: ideal gas ΔT = 0; toy μ_JT inversion for real gases.

Launch Simulator
NewUniversity / research

van der Waals Isotherms

Reduced (P_r,V_r,T_r) curves; critical point; subcritical wiggle vs Maxwell plateaus (qualitative).

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Thermodynamics/Otto Cycle

Otto Cycle

The Otto cycle simulator visualizes the idealized thermodynamic processes that form the basis for the operation of a four-stroke spark-ignition internal combustion engine. It maps the engine's operation onto a Pressure-Volume (PV) diagram, tracing a closed loop representing the work done per cycle. The model consists of four distinct strokes: an adiabatic compression (1→2), a constant-volume (isochoric) heat addition representing combustion (2→3), an adiabatic expansion or power stroke (3→4), and a constant-volume heat rejection representing exhaust (4→1). The core physics is governed by the First Law of Thermodynamics (ΔU = Q − W), the ideal gas law (PV = nRT), and the relationships for adiabatic processes (PV^γ = constant, where γ is the heat capacity ratio, Cp/Cv). A central learning outcome is the derivation and application of the thermal efficiency formula, η = 1 − r^(1−γ), where r is the compression ratio (V_max/V_min). This equation shows that efficiency increases with a higher compression ratio and a higher γ value. Key simplifications include treating the working fluid as an ideal gas with constant specific heats, modeling combustion as an external heat addition, and ignoring friction, heat loss, and the finite time of real processes. By interacting with the simulator, students can explore how adjusting parameters like compression ratio and heat input changes the PV diagram's shape, the net work output (area inside the cycle), and the theoretical efficiency, connecting abstract equations to visual, dynamic feedback.

Who it's for: Undergraduate engineering and physics students studying thermodynamics, particularly in courses covering heat engines, power cycles, and internal combustion engine fundamentals.

Key terms

  • Otto Cycle
  • PV Diagram
  • Adiabatic Process
  • Isochoric Process
  • Thermal Efficiency
  • Compression Ratio
  • Heat Capacity Ratio
  • Internal Combustion Engine

Cycle

8
0.35
1.45
0.35×

Ideal-air Otto: two adiabats and two isochores. Efficiency η = 1 − r^(1−γ) depends only on compression ratio r and γ (idealization; real engines differ).

Measured values

η_Otto (ideal)56.5%
γ1.40

How it works

The Otto cycle models spark-ignition engines: compress cool gas, add heat at minimum volume, expand, reject heat at maximum volume. Work is the enclosed area on the PV diagram.

Key equations

η = 1 − r^(1−γ) · PV^γ = const on adiabats

Frequently asked questions

Why does the thermal efficiency depend only on the compression ratio and not on the amount of heat added?
In the idealized Otto cycle, both the heat added (Q_in) and the heat rejected (Q_out) are proportional to the temperature change during their respective constant-volume processes. Their ratio, and thus the efficiency η = 1 − Q_out/Q_in, simplifies to an expression involving only the temperature ratio. For adiabatic processes, this temperature ratio is determined solely by the compression ratio and γ. Therefore, while adding more heat increases the net work (the cycle area), it does not change the fraction of heat input converted to work.
How does the real-world gasoline engine differ from this ideal model?
Real engines deviate significantly from the ideal Otto cycle. Combustion is not instantaneous or perfectly isochoric, there are substantial heat losses to the cylinder walls, the working fluid's composition and specific heats change during combustion, and friction and pumping losses occur. Furthermore, to prevent 'knocking,' real engines operate at compression ratios lower than the theoretical maximum. These factors mean the actual thermal efficiency is considerably lower than the ideal prediction.
What is the physical significance of the heat capacity ratio (γ) in the efficiency equation?
The heat capacity ratio, γ = Cp/Cv, is a property of the working fluid. A higher γ means the gas heats up more for a given amount of energy input at constant volume, leading to a higher pressure rise. During the adiabatic strokes, a higher γ causes a steeper PV curve, resulting in a larger temperature difference for the same compression ratio. This translates to more work output during expansion and higher theoretical cycle efficiency.
Why are the compression and expansion strokes modeled as adiabatic?
These strokes are modeled as adiabatic (no heat transfer) because they occur very rapidly in an engine—on the order of milliseconds. The timescale is so short that there is negligible time for significant heat transfer to or from the cylinder walls. This is a key simplification that allows the use of the relations PV^γ = constant and TV^(γ−1) = constant to describe these processes.