For a 12-inch sub box you need the dimensions 23.62” x 13.78” x 16.86”. These are the ideal measurements. You will also have to keep in mind that there is sufficient room along the clearances of the sub.