n-Heptane is the straight-chain alkane with the chemical formula H3C(CH2)5CH3 or C7H16. When used as a test fuel component in anti-knock test engines, a 100% heptane fuel is the zero point of the octane rating scale (the 100 point is a 100% iso-octane). Octane number equates to the anti-knock qualities of a comparison mixture of heptane and isooctane which is expressed as the percentage of isooctane in heptane and is listed on pumps for gasoline (petrol) dispensed globally
Heptane (and its many isomers) is widely applied in laboratories as a non-polar solvent. As a liquid, it is ideal for transport and storage. In the grease spot test, heptane is used to dissolve an oil spot to show the previous presence of organic compounds on a stained paper. This is done by shaking the stained paper in a heptane solution for about half a minute.