Much more complicated than that
Jerry Nicholson
There are closed box speaker systems and there are ported systems. Also infinite baffles and horns. To define speaker box dimensions, it is necessary to know the free air resonance frequency of the speaker, the Q of the speaker, and Vas which is a compliance value expressed as a volume. Speaker impedance is also important. If the box is too big in relation to the speaker parameters, bass response will be weak. If the box is too small, there is likely to be peaky or boomy bass and restricted low frequency response. In a ported box, the design of the port itself is defined by the speaker parameters. Also important in any speaker system design is avoidance of any low frequency resonances in the walls of the box. I sucessfully designed one ported system way back but I am not in a position now to give any advice. You could check the internet for Thiele speaker design data or possibly Thiele and Small. I have a book named How to Design, Build & Test Complete Speaker Systems but I am sure it is long out of print - mine was printed in 1979. There are probably other books available on the subject. Once you have worked out what low frequency speakers to use and designed a box to fit them, then you could worry about the midrange speakers and tweeters and the associated crossovers. Closed box or ported box, there is basically only one box volume that will optimize the performance of your speaker. One thing I remember about ported boxes is that if the port is too small you can hear the air huffing and puffing through the port at really low frequencies!
On the other hand, if you aren't all that picky about ultimate fidelity, you could just put the speaker in a box of convenient size and see how it sounds. At my age, all that is irrelevant anyway.
Jerry