
A molecular formula, such as H2O, shows the number and type of each atom in a molecule.
A displayed formula shows the symbols for each atom in a compound, with straight lines joining them to represent the covalent bonds. The table shows some examples of displayed formulae:
| element | formula | chemical structure | ball-and-stick model |
|---|---|---|---|
| hydrogen | H2 | ![]() | ![]() |
| water | H2O | ![]() | ![]() |
| ammonia | NH3 | ![]() | ![]() |
| methane | CH4 | ![]() | ![]() |