Although it's hard to believe, the Earth's crust consists of 47 percent oxygen.

An excerpt from the article 25 facts about Earth

It is trapped in the soil in the form of various oxides, the most common of which are: silicon dioxide, aluminum oxide, calcium oxide, magnesium oxide, and iron oxide.