Here's why:
* Tin (Sn) is a metal that can have different oxidation states (charges). In tin(IV) oxide, tin has a +4 oxidation state.
* Oxygen (O) usually has a -2 oxidation state.
* To balance the charges, you need two oxygen atoms (-4 total charge) for every one tin atom (+4 charge).