Yes, but you may need to adjust the baking time depending on the pan size. A smaller pan will result in thicker brownies that may need to be baked longer.