Deck height

you dont need to use the swept volume method unless you have anything other than flat tops or dont know the piston specs.

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.