There are two different methods that can be followed pretty reasonably in regards to givng enough space. Neither is "wrong" but some prefer one over the other. They are considered the minimum sizes so keep that in mind.
1. For every foot of snake there should be a square foot of floor space.
Or
2. Length plus width of the cage should equal the length of the snake.
As far as height, they will use it if it's given but it won't be detrimental if it's not. Also, you must account for the natural activity level of the specific species. More active snakes appreciate a bit more room to move and should be given it.
Some would say that if you only have a few snakes, why not go above and beyond the bare minimum? I can respect that outlook. Others will make a point that the snake doesn't care and it's others opinions that will clash with yours if you choose to do the bare minimum, which I am personally more inclined to agree with in most cases. My advice to you wouldnbe to find your own middleground as to what works for you and your snakes.