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 ↓
Nut 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.
Prepare the batter
Preheat the oven to 350°F (175°C).
Cream the butter and sugar together until light and fluffy.
Add the milk and eggs, mixing well.
In a separate bowl, combine the flour and baking powder.
Gradually add the dry ingredients to the wet mixture, stirring until just combined.
Fold in the nuts.
Bake and finish
Pour the batter into shallow tins, about 2 inches thick.
Bake for 25-30 minutes or until a toothpick comes out clean.
Cut into squares, frost, and top each piece with walnut meat.
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).
-
Nuts + walnuttop 9% of all pairsSmell alikemoderateCooked together284 recipes
Shared aroma: alpha-pinene (pine, turpentine).
-
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).
-
Flour + nutstop 13% of all pairsSmell alikemoderateCooked together1,180 recipes
Shared aroma: isobutyraldehyde (malty, green).
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
- Creamed with sugar to trap air and add richness and tenderness to the crumb.
- Sugar
- Creams with butter for a light texture and adds sweetness and browning.
- Eggs
- Bind the batter and add structure as the cake sets in the oven.
- Flour
- Forms the main structure of the cake as its proteins set during baking.
- Baking powder
- Releases gas in the batter so the cake rises and becomes light.
- Nuts
- Add texture and a toasty, nutty flavour throughout the cake.
The step that matters
Stirring the dry ingredients into the wet mixture. Stir only until just combined. Overmixing develops gluten in the flour, which makes the cake tough and dense instead of tender.
Swap the nuts
How well each one fits the dish's main ingredients (butter, sugar, milk, egg, flour, walnut, meat):
- Almondfits better
- Pistachiofits better
- Pecansfits better
- Nutsthe original
Fit is the average pairing score against butter, sugar, milk, egg, flour, walnut, meat. 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 nut 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.

Delicate Cake246 recipes
Boiled Frosting69 recipes
Citron Cake68 recipes
Scotch Cake63 recipes