Julia bought a new sandbox and needs to know how much sand to buy. Her sandbox is a prism with a square base with sides of 8 inches, and a height of 12 inches. If she plans on filling her sandbox to the top, how many cubic inches of sand does she need?