Preheat your oven to 350°F (175°C) and grease a small cake pan.
In a mixing bowl, combine the mashed bananas, sugar, melted butter, egg, and vanilla extract. Mix well.
In a separate bowl, whisk together the flour, baking powder, baking soda, and salt.
Gradually add the dry ingredients to the wet ingredients, stirring until just combined. Be careful not to overmix.
Pour the batter into the prepared cake pan and spread it evenly.
Bake in the preheated oven for 25-30 minutes, or until a toothpick inserted into the center comes out clean.
Allow the cake to cool in the pan for a few minutes before transferring it to a wire rack to cool completely.
Slice and serve your delicious homemade banana cake!
Enjoy!