Static Compression to Octane

Is the CR calculated or measured ? What was the formula used to calculate the CR.