According to U.S. residential building codes, you can only dig a basement that’s one floor deep. Usually, that equates to a ceiling height of about 8 feet.