In most parts of the world, an engine's swept volume is given in litres, though in the USA, cubic inches are still widely used.
The compression ratio of an engine can be determined by dividing the swept volume by the total volume of the combustion chambers when the piston is at top dead centre (TDC).