Octane is a hydrocarbon and an alkane with the chemical formula C8H18, and the condensed structural formula CH36CH3. Octane has many structural isomers that differ by the amount and location of branching in the carbon chain. One of these isomers, 2,2,4-trimethylpentane is used as one of the standard values in the octane rating scale.