Why it works: Walnut and almond match in chemistry and in kitchens. They rank in the top 2% of all ingredient pairs, and cooks put them together in 993 recipes. Both carry 2,4-decadienal, which smells seaweed. The science ↓
Graham Cracker 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 and sugar together until light and fluffy.
Add the beaten egg yolks and milk, mixing well.
In a separate bowl, combine the crushed graham crackers and baking powder.
Fold the dry mixture into the wet mixture.
Stir in the chopped walnuts and almonds.
Bake
Bake in layers at 350°F (175°C) until golden brown.
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.
-
Walnut + almondtop 2% of all pairsSmell alikestrongCooked together993 recipes
Shared aroma: 2,4-decadienal (seaweed).
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Butter + almondtop 11% of all pairsSmell alikemoderateCooked together9,245 recipes
Shared aroma: 2,3-pentanedione (butter, sweet).
-
Butter + walnuttop 15% of all pairsSmell alikemoderateCooked together6,832 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
-
Milk + walnuttop 16% of all pairsSmell alikemoderateCooked together3,236 recipes
Shared aroma: 1-hexanal (fruit).
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 trap air, giving the cake a light, tender crumb.
- Egg yolks
- Add richness and help bind the batter as they set in the oven.
- Graham crackers
- Form the crumb structure of the cake, giving it its characteristic texture and flavor.
- Baking powder
- Releases gas in the batter, helping the cake rise and turn fluffy.
- Walnuts
- Add crunch and a toasty, nutty flavor that contrasts with the soft crumb.
- Almonds
- Add crunch and a toasty, nutty flavor that contrasts with the soft crumb.
The step that matters
Fold the dry mixture into the wet mixture. Folding gently keeps the air bubbles from the creamed butter and sugar intact. Overmixing develops gluten and deflates the batter, leading to a dense cake.
Swap the walnut
How well each one fits the dish's main ingredients (butter, sugar, egg, milk, almond):
- Pistachiofits about as well
- Hazelnutfits about as well
- Pecansfits about as well
- Walnutthe original
Fit is the average pairing score against butter, sugar, egg, milk, almond. 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.
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.

Almond Sponge Cake26 recipes
Almond Custard22 recipes
Almond Wafers22 recipes
Coconut Almond Cake17 recipes