ah,,,well,,, Simon this can be a can of worms this one
comp ratio & fuel octane rating & that`s not all of it really.
there is the camshaft & the ignition & the size of the engine & a whole pile of factors that will make or not make an engine ping
so,,, a general rule of thumb that i use to describe this problem to the average Joe is that small engines (IE: 850-998-1098) would best be kept under 9.5:1 with std-ish cams
the bigger donks (1275 & up) you can squeeze them to 10:1 with std-ish cams & a little more with a wilder cam, (but just a little)
the big donks (1360 & upwards to 1590) well we`ve seen good results with pump fuel & no pinging on 10.5:1 (with hot road/rally cams & shaped & pollished chambers & attention to detail such as cam timing & ign timing & fueling etc)
alloy heads & crossflow alloy heads & 16v alloy crossflow heads """That we have played with""" (Shaped & pollished chambers etc) we`ve had glory (without pinging) with 11:1 & sometimes 11.5:1,,, but there`s not much room for error up there tho--> say a bad batch of fuel combined with a very hot day
so,,, that`s the best "General" description i can muster at this point
but,,, some will argue against those numbers i1`m sure,,, they`re just general & if anyone does argue with me on this one then i reckon they`re silly in the head ,,,or they`re bullsh!tartists
edit--> Oh & just for the record,,, i`m not talking "WILD FULL RACE" cams here,,, you can build em with more comp ratio with wilder cams like race cars ,,, but i`m just talking about the average road mini engine here