It does get a bit complicated, you might want to sit down
I do not claim to be any sort of expert but I have picked up a basic understanding during my 18 years working in refinery operations.
Petrol is a blend of HydroCarbons, molecules made up of Hydrogen and Carbon atoms ranging from butane (4 carbons with 10 hydrogens) C4 for short, up to around C12 (doedecane) in all their varing forms plus various addatives to promote stable burn and detergants. Butane is the lightest (an LPG) and basicaly wants to be a vapour from about 0 degs, so is first to escape. Petrol blended for winter/cold climates has a higher butane content.
Pentane (C5) is next.
Different fuel blends have different combustion characteristics, some will auto ignite prematualy in a rapid uncontrolled manner as they are compressed (described as Knock - can be heard as 'pinking') this is more severe the higher the compression ratio of the engine, some blends will be more resistant to this and can be burned efficiently at higher compression ratios that is favourable for higher power outputs.
The octane rating of a fuel is a referance number, awarded when its 'anti knock' characteristics are the same as that of a standard reference fuel blend.
2,2,4-trimethylpentane (an isomer of Octane) is rated as 100 and sets the standard. Our regular unleaded has a Ron (research octane number) of 95, equivalent to a blend of 95% Iso Octane and 5% Normal Heptane (heptane is rated at 0)
This is where it can get a little complicated, hydrocarbon chains in their simplest form are straight chains or 'normals' or in more complex forms as branched or ring chains known as 'isomers' . So in the case of our 2,2,4 above; a chain 5 long (pentane bit) with 3 branches (tri) 2 at the second link and 1 at the fourth link (2,2,4)......simples😬
isomers have a higher rating compaired to their normal brothers.
The the octane rating is not a measure of how much energy the fuel contains but its resistance to autoignition when squeezed.
The Beetle engine is a long stroke low compression engine (somthing around 6:1) so can run happily on standard petrol (3 star in its day), running high octane stuff will not give you any more power. A modern high compression engine with knock sensor/adaptive engine management will however burn it to better effect.
Stock......the new custom