Chemical formula of a compound is determined on the basis of
Valency
Valency.
Chemical formula of a compound is determined by the valency of the constituent atoms. Valency is the combining power of an element. It is determined by the number of electrons the atom of an element needs to lose or gain in order to achieve the octet.