What is the Formula for Carbon Dioxide?

The chemical formula for carbon dioxide is CO2. In high concentrations, carbon dioxide is toxic which is why many people now have CO2 detectors in their homes as well as a smoke detector.