What chemical formula is opal made from?

SiO2.nH2O, with varying amounts of water.