Bore x (Pi x R squared) X stroke = Swept volume (V1) x 16.4 converts cubic inches to CC.
Add head volume + gasket volume (in CC's) = V2
Divide V2 by the total of V1 + V2. Answer is your static compression ratio.
Somebody check me on this! It took me longer to figure out how to write it than it used to take me to DO it!