The ratio of the total volume enclosed in the cylinder of an internal-combustion engine at the beginning of the compression stroke to the volume enclosed at the end of the compression stroke. For petrol engines the compression ratio is 8.5–9:1, with a recent tendency to the lower end of the range in order to make use of unleaded petrols. For Diesel engines the compression ratio is in the range 12–25:1.