In actual fact,a tank of at least 5 gallons is ideal for a single Betta. However, larger tanks will allow for stable water conditions, plenty of swimming space, and room for decorations ...
You should never keep a betta fish in a tank any smaller than 5 gallons, but larger is better. Something between 15-20 gallons is ideal for a betta fish and a handful of suitable tankmates.