Halons are usually defined as hydrocarbons where the hydrogen atoms have been replaced by bromine, along with other halogens. They are referred to by a system of code numbers similar to (but simpler than) the system used for freons. The first digit specifies the number of carbon atoms in the molecule, the second is the number of fluorine atoms, the third is the chlorine atoms, and the fourth is the number of bromine atoms. If the number includes a fifth digit, the fifth number indicates the number of iodine atoms (though iodine in halon is rare). Any bonds not taken up by halogen atoms are then allocated to hydrogen atoms.
For example, consider Halon 1211. This halon has number 1211 in its name, which tells it has 1 carbon atom, 2 fluorine atoms, 1 chlorine atom, and 1 bromine atom. A single carbon only has four bonds, all of which are taken by the halogen atoms, so there is no hydrogen. Thus its formula is , hence its IUPAC name is bromochlorodifluoromethane.