what is the chemical formula of oxygen
The chemical formula for oxygen is O2 and for individual oxygen  atom its symbol is O.   Gases such as oxygen exist as diatomic molecules.