CnHm
CnHm is a general chemical formula used to represent hydrocarbons—compounds composed solely of carbon and hydrogen. The notation denotes a family of possible molecules with n carbon atoms and m hydrogen atoms, but it does not specify how the atoms are connected or whether there are rings, multiple bonds, or functional groups. As a result, many isomers can share the same CnHm formula.
For acyclic, saturated hydrocarbons (alkanes), the hydrogen count follows m = 2n + 2. Each decrease of two
Examples: CH4 (n=1, m=4) methane; C2H6 ethane; C2H4 ethylene; C2H2 acetylene; C6H6 benzene. The CnHm formula thus
In practice, CnHm is used in formula-based searches in chemical databases and analytical contexts like mass