To accurately calculate the static compression ratio of any engine, the following values must be known:
Bore diameter, stroke length, rod length, deck height, combustion chamber volume, cylinder head gasket compressed thickness, and cylinder head gasket bore diameter.
http://www.rbracing-rsr.com/compstaticcalc.html