Larger than 12'. You know the cage is too small when the snake can wrap its entire body around its enclosure. A 6' x 3' could house an 18 ft snake.
An 8' cage would be for a very large snake. 10' would no bt necessary. Unless you have that kind of room and want a giant cage. An average sized female can fit into a a 6' x 3' with no problems.