The modern stereo system

Why does a ported sub-woofer box have to be any larger than a sealed box? If it's ported, I would think the size of the box is irrelevant.