How long is cake good for?

The shelf life of a cake depends on a number factors including the type of cake, the ingredients, and the storage conditions. Here is a general guide:

- Frosted cakes: Cakes with frosting or fillings, such as chocolate cake, vanilla cake, and red velvet cake, can typically last for 2-3 days at room temperature, 5-7 days in the refrigerator, and up to 2 months in the freezer.

- Unfrosted cakes: Unfrosted cakes, such as pound cake and sponge cake, can last for 3-5 days at room temperature, 7-10 days in the refrigerator, and up to 3 months in the freezer.

- Fruit cakes: Fruit cakes, which contain dried fruit and nuts, can last for up to 2 weeks at room temperature, 3-4 weeks in the refrigerator, and up to 6 months in the freezer.

- Cheesecakes: Cheesecakes should be refrigerated and consumed within 5-7 days. They can be frozen for up to 2 months.

These are just general guidelines, and the actual shelf life of a cake may vary depending on the specific ingredients and storage conditions. To ensure freshness and quality, always follow the storage instructions provided by the bakery or the recipe.