“The foundation” is both the concrete footings, and the ground underneath the footings.
The load is transferred through the ground underneath the footings. You couldn’t just place the footings on mud or clay, because the house would sink.
Before you pour the footings, you have to make sure you have good bearing soil underneath the footings. Sometimes that means you have to dig out what’s there and replace it with sand or gravel.
Latest Answers