Here's the calculations using nominal values for an engine I had in my
'69 AMX for many years and I had no problems with pinging on pump gas.
It's out of the car now cause I spun a rod bearing taking it to 7000 rpms
and it was not built for that and I didn't have the oil line in the lifter valley.

The hydraulic Cam was a stock unit reground by Chet Herbert.
Only have limited data on it, .512/.529 lift, 280/295 adveritsed, 110 centers.
Used Crane Hi-Intensity semi-anti-pumpup Lifters.
Cast Sealed Power Pistons, dished tops with 29cc, .020 shorter than stock.
Manufacturers of stock type replacement pistons make them .020 shorter
to allow for Cylinder Head and Block deck milling and to still maintain stock CR.
I have a '69 343 block with the shorter deck hieght, 9.175
Stock 343 4V had flat top pistons that were .060 down in the hole.
The Sealed Power units were .080 down in the hole with a huge dish.
This was "made up" by using a 304/360 crank in the 343 block.
There is a .160 stroke difference between a 343, 3.28, and a 304/360 crank, 3.44.
So the 304/360 crank pushed the pistons up .080 further to 0.000 deck and
with the dish in the SP Pistons compression came out at 9.5 thereabouts.
Recurved Distrubutor, 26 deg mechanical, 10 deg initial, 36 total at 3500.
I did not have any problems pinging running pump gas in this motor.
This motor made about 400 HP at the flywheel, 325 HP at the tires.
It chassis dyno'd 285 HP at tires before swapping on milled ported heads.
325 Tire HP calculated using the cars wieght and 1/4 mile MPH from the track.
I am currently working on getting this motor back together with more CR.
This time I offset ground the 304 crank .010 for a 3.46 stroke
and the pistons stick out of the block .007-.010, and CR is around 10:1.
I am also advancing the same cam 4 crank degrees where before it was strait up.
This closes the Intake valve sooner and creates more effective CR.
Per the SilvoLite page compression calculator.
I'm surprised my Dynamic compression was less than 8.0:1
That goes along with me not having detonation problems, like 82Waggy mentions below.
