Why it works: Milk and vanilla are a kitchen classic. They rank in the top 5% of all ingredient pairs, and cooks put them together in 19,187 recipes. Both carry ethyl caproate, which smells fruity, apple peel. The science ↓
Layer Cake
Ingredients
Directions
The book says “a moderate oven”. The 350°F (175°C) in the steps is the modern equivalent, not the book's own figure.
Make the batter
Cream the butter and sugar together.
Beat the eggs until light and add to the mixture.
Stir in the milk and vanilla.
Sift together the flour, salt, and baking powder, then add to the mixture.
Bake
Bake in layer cake pans for about 20 minutes at 350°F (175°C).
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.
-
Milk + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
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).
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
- Eggs
- Add structure and richness, and help the batter hold air when beaten.
- Flour
- Forms the structure of the cake once baked.
- Butter
- Adds fat for tenderness and flavour, and helps trap air when creamed with sugar.
- Sugar
- Sweetens the cake and helps trap air when creamed with butter.
- Baking powder
- Releases gas in the batter to make the cake rise.
The step that matters
Sift the dry ingredients and fold them in gently. Sifting spreads the baking powder and salt evenly through the flour so the cake rises uniformly. Mixing the flour in too vigorously develops gluten, which can make the cake tough.
Swap the vanilla
How well each one fits the dish's main ingredients (butter, sugar, egg, milk, flour):
- Vanillathe original
- Raisinfits about as well
- Figfits less well
- Coconutfits less well
Fit is the average pairing score against butter, sugar, egg, milk, flour. 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 layer 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.

Vanilla Ice Cream108 recipes
White Cake431 recipes
Pound Cake373 recipes
Orange Bundt Cake349 recipes