For covalent compounds, criss-cross the valencies of the two elements and you have the formula.
- Hydrogen chloride: H (1) and Cl (1) → criss-cross → HCl (1s are not written).
- Hydrogen sulfide: H (1) and S (2) → H₂S .
- Carbon tetrachloride: C (4) and Cl (1) → CCl₄ .
- Covalent formula — written by criss-crossing the valencies of the two elements as subscripts.