Why it works: Butter and milk are a kitchen classic. They rank in the top 7% of all ingredient pairs, and cooks put them together in 81,283 recipes. Both carry (z)-4-heptenal, which smells biscuit, cream. The science ↓
Layer 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. The book gives no cooking times either; the times in the steps were added in transcription, so check for doneness rather than trusting the clock.
Make the cake
Preheat the oven to 350°F (175°C).
In a bowl, cream together the sugar and butter.
Add the eggs and mix well.
Stir in the sweet milk.
Gradually add the flour and baking powder, mixing until smooth.
Pour the batter into two greased cake pans.
Bake for 25-30 minutes or until a toothpick comes out clean.
Make the icing
For the icing, combine brown sugar and water in a saucepan.
Add the butter and grated chocolate, then boil until it reaches a tough consistency when dropped on a cold plate.
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.
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Walnut + chocolatetop 10% of all pairsSmell alikemoderateCooked together1,548 recipes
Shared aroma: 3-ethyl-2,5-dimethylpyrazine (roasted, nutty).
-
Butter + flourtop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + walnuttop 12% of all pairsSmell alikemoderateCooked together5,873 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Sugar + chocolatetop 13% of all pairsSmell alikemoderateCooked together15,404 recipes
Shared aroma: guaiacol (smoky, sweet).
Butter and flour barely smell alike, yet cooks put them together in 124,287 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
- Adds richness and tenderness to the cake crumb and helps create a soft texture.
- Eggs
- Add structure and help bind the batter while adding moisture and richness.
- Flour
- Forms the structure of the cake as it sets in the oven.
- Baking powder
- Releases gas during baking so the cake rises and becomes light.
- Brown sugar
- Sweetens the icing and adds moisture and a caramel-like flavor.
- Grated chocolate
- Adds flavor and helps give the icing body as it cooks.
The step that matters
Boiling the icing to a tough consistency. Sugar syrup must reach the right temperature to set firm when cooled. Boiling too little leaves the icing runny, while boiling too long can make it hard or grainy.
Swap the walnut
How well each one fits the dish's main ingredients (sugar, butter, egg, milk, flour, chocolate):
- Almondfits better
- Hazelnutfits about as well
- Pecansfits about as well
- Walnutthe original
Fit is the average pairing score against sugar, butter, egg, milk, flour, chocolate. 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.

Chocolate Cream171 recipes
Chocolate Cookies76 recipes
Chocolate Fudge55 recipes
Chocolate Drop Cookies50 recipes