Use cake pans of the same size and make sure to evenly distribute the batter between them. You can use a kitchen scale to weigh the batter if you want to be precise. Additionally, level the tops of the cake layers with a knife if they domed during baking.