ummm, I'll give it a shot 8)
You need to know 6 things to figure static compression 1. bore 2. stroke 3. deck height 4. combustion chamber volume 5. piston dome volume 6. compressed head gasket thickness
once you know these 6 things, you can figure what the static compression ratio of a motor is going to be, this assumes the piston is at TDC and all the valves are closed.
Dynamic compression is what the engine really sees while its running, the biggest factor that controls dynamic compression is the different profiles of different cams. All things being equal, a stage 2 hotcam equipped motor will have a higher dynamic compression than the same motor running a megacycle x4 cam. Reason is the x4 has much more overlap(the time period, expressed in degrees, that both the intake AND the exhaust vales are open).
I think that covers the basics of it. :crazy: