A structural formula is a type of chemical formula which shows the arrangement of atoms in a compound.