Depends. If your planning to plant live plants, i would recomend about 2-3 inches, but if it is for decorative purposes only, then about an inch would do.
Some fish do like to dig in the sand, especially the cichlids, yet a 10 gallon is to small for them anyways. If you had any substrate manipulating fish, then i would put about 2-3 inches as well.