Strip a petrol engine of every practical complication — valves, flame speed, heat loss — and what remains is the air-standard Otto cycle: two adiabatic strokes and two constant-volume heat exchanges. It is simple enough to solve on one page, yet it delivers the single most important result in engine design: efficiency depends on compression ratio, and on almost nothing else.
The idealisation
“Air-standard” means we pretend the working fluid is plain air behaving as an ideal gas with constant γ=1.4, that combustion is replaced by heat qin added from outside, and that the exhaust/intake pair is replaced by heat qout rejected at constant volume. Four processes, four numbered states:
1 → 2: isentropic (adiabatic, frictionless) compression from V1 to V2.
2 → 3: heat added at constant volume — the idealised spark-ignition burn, so fast the piston hasn’t moved.
3 → 4: isentropic expansion back to V1 — the power stroke.
4 → 1: heat rejected at constant volume — blowdown and gas exchange, collapsed to an instant.
Fig. 1. The ideal Otto cycle for r = 10. Work in is the area under 1→2; work out is the larger area under 3→4; the enclosed loop is the net.
Deriving the efficiency
Both heat exchanges happen at constant volume, where for an ideal gas q=cvΔT. So with the compression ratior=V1/V2:
qin=cv(T3−T2),qout=cv(T4−T1)(1)
Efficiency is work out over heat in, and the first law makes net work w=qin−qout:
η=qinw=1−qinqout=1−T3−T2T4−T1(2)
Now use the isentropic relation TVγ−1=const on both adiabats. They span the same volume ratio r, so:
T1T2=rγ−1=T4T3(3)
That means T3=T4rγ−1 and T2=T1rγ−1; substitute into (2) and the temperature differences cancel beautifully:
ηOtto=1−(T4−T1)rγ−1T4−T1=1−rγ−11(4)
r
compression ratio V₁/V₂ = V_BDC/V_TDC [–]
γ
ratio of specific heats cp/cv (1.4 for cold air) [–]
cv
specific heat at constant volume [J/(kg·K)]
Fig. 2. Equation (4) plotted. The curve is steep at low r and flattens past ~14 — the shaded bands mark where petrol (knock-limited) and diesel engines actually live.
Try it — the demo below evaluates (4) live:
η=1−10.51−γη=61.0%
Modern petrol range. Beyond ~12:1 pump petrol knocks — the mixture detonates before the spark-timed flame arrives.
Why not crank r to 20?
Because of knock. Compressing the charge heats it (that is equation (3) working against you): squeeze petrol–air mixture past roughly 11–12:1 and the unburned gas ahead of the flame front — the end gas — gets hot enough to detonate spontaneously. The resulting pressure spikes hammer the piston like a bell and can destroy an engine in minutes. Octane rating measures a fuel’s resistance to exactly this. Direct injection, charge cooling and knock sensors have pushed modern engines to ~12–14:1, but the ceiling is chemical, not mechanical.