The octane rating is the percentage of iso-octane required in the laboratory mixture to produce this equality of knocking behavior.
it's even more complicated: there are two ways to do the test, producing two ratings called the research octane number (ron) and the motor octane number (mon).