A septic tank is a holding-and-settling pond sized by how much wastewater a household generates and how long that water must rest. Too small, and solids ride out to the drain field; so codes anchor the size to bedrooms and occupancy.
Septic Tank Size Calculator estimates minimum capacity from bedrooms, people, and daily water use, then suggests a working volume and dimensions.