You need to know your swept volume to calculate compression.
You can just use the book values, or measure it. Measuring it will be most accurate. Book values will be close enough for swept volume calculations, but you need to measure the information to figure out clearance volume.