Each speaker has a specific size that it works best in. It also depends on the type of box you're making (sealed, ported, etc..). Usually, the sub will come with a spec sheet that will tell you the enclosure size needed.
what subs are you looking at? what kind of music do you listen to? it will be different depending on the sub and the box type