There's no single chemical formula, since exhaust gases are a mixture of different compounds. The table in this wiki link: http://en.wikipedia.org/wiki/Exhaust_gas#Spark-ignition_engines will give you an idea of the typical composition of the exhaust of a modern internal combustion engine, along with the chemical formulae.