The basic rule is 1 square foot of floor space per foot of snake. For a ball python I wouldn't use anything smaller than 24x24, but a 36x24 or 48x24 would be better.