"if the pan is too small, the batter will run over the sides and the cake will collapse from inadequate support." but there are a few pan swaps that are easy to make. "a 9-inch round cake can be baked in an 8-inch square pan," says levy beranbaum.