To use four 8-inch pans, just distribute the batter equally amongst each pan, which will probably mean that each pan is about 1/4 to 1/3 full, depending on how high the sides of your cake pans are.