A compound is a substance made up of a definite proportion of two or more elements. A chemical formula tells us the number of atoms of each element in a compound. It contains the symbols of atoms of the elements present in the compound as well as how many there are for each element, in the form of subscripts.