Yes, you can use a different size of baking pan, but the baking time may vary. If using a smaller pan, the batter will be thicker, and you may need to bake the brownies a bit longer. If using a larger pan, the batter will be spread thinner, and the baking time may be shorter. Adjust the baking time accordingly and monitor the brownies as they bake to avoid over or under baking.