You can us a online calculator, but there are thing that you need to cc before you can get a accurate compression reading.
For example my 4.10 bore piston stuck up .017" above the block(so it take away from the top dead center reading because it removes head space) How Ever! because of the valve reliefs in the head was larger than the .017' pop up of the piston, it became a number that was add to the head volume. bore and stroke are set! the head volume make the compression ratio)
hope that wasn't confusing.
So here we go
head cc 70
head gasket cc 8
10.5: compression piston cc 7.35(in the hole even though it a pop up piston because of valve relief in piston)
above head total
85.35cc
Bore X Bore X Stroke X .7854 =43.70 X 16.387(convert to CC)=716.12 CC
Below head or bdc volume
716.12
716.12+85.35=801.47 cc Divided by 85.35=9.3903925
Aka my 10.5:1 piston equiled a actual compression ratio of 9.40:1
Compression Ratio = 9.40:1.
So let us you head cc on my .060" over bored 340 motor
65 head
8 head gasket
piston 7.35
total 80.35
80.35+716.12=796.47 divided by 80.35=9.9125078
New compression = 9.91:1
I used the felpro .040" thick head gasket , So your compression will be slightly lower........However, you decked and leveled your block, so it might be real close.
Edit: for math! Bore X Bore X Stroke X .7854= 43.70