This is pretty simple math. 1' cubed is 12"x12"x12"=1728" cubed.
Just to pick a number that I saw used in here before of 4' cubed would be 4x1728" cubed = 6,912" cubed. So let's say you start with a base of 20"x20"=400" squared which goes into 6'912" cubed 17.28 times meaning you need a height of 17.28".
That help any?