Why it works: Vanilla and pineapple match in chemistry and in kitchens. They rank in the top 2% of all ingredient pairs, and cooks put them together in 911 recipes. Both carry ethyl isobutyrate, which smells fruity, ethereal. The science ↓
Marshmallow Cake
Ingredients
Directions
The book gives no oven temperature. The 350°F (175°C) in the steps was added when the recipe was transcribed, as a starting point.
Make the batter
Cream the butter, then gradually beat in the sugar.
Add the flour and cold water alternately, mixing well.
Beat the egg whites until stiff and fold them into the batter.
Add the baking powder and vanilla, mixing until smooth.
Bake
Pour the batter into 2 square cake pans.
Bake at 350°F (175°C) until golden and a toothpick comes out clean.
Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.
Photo for illustrative purposes only · Contact us to use it
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.
-
Vanilla + pineappletop 2% of all pairsSmell alikestrongCooked together911 recipes
Shared aroma: ethyl isobutyrate (fruity, ethereal).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Butter + flourtop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + vanillatop 12% of all pairsSmell alikemoderateCooked together19,241 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Butter + vanillatop 14% of all pairsSmell alikemoderateCooked together20,050 recipes
Shared aroma: guaiacol (smoky, sweet).
Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 recipes: they work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Butter
- Creams with sugar to add richness and a tender crumb.
- Egg whites
- Beaten until stiff, they trap air and give the cake its light, airy structure.
- Flour
- Provides the structure that sets as the cake bakes.
- Baking powder
- Releases gas during baking so the cake rises.
- Sugar
- Sweetens the cake and helps it brown as it bakes.
The step that matters
Folding in the stiff egg whites. Egg whites deflate if overmixed or stirred vigorously, losing the air that makes the cake light. Fold gently, just until no white streaks remain, so the batter keeps its rise.
Swap the pineapple
How well each one fits the dish's main ingredients (sugar, butter, flour, vanilla, egg):
- Raisinfits better
- Figfits better
- Blueberryfits better
- Pineapplethe original
Fit is the average pairing score against sugar, butter, flour, vanilla, egg. Candidates are from the same food group and used in at least 100 recipes.
“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.
More marshmallow cake recipes
You might also like
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.

Pineapple Sherbet116 recipes
Vanilla Ice Cream108 recipes
Pineapple Pudding72 recipes
Pineapple Cream58 recipes