You were very smart to ask first. Goldfish need lots of room. A good rule is 2.5 gallons per inch of full grown goldfish.

Bettas are okay in goldfish bowls though