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 ↓
Chocolate Cake
Ingredients
Directions
Cream together the sugar and butter.
Stir in the sour milk and baking soda.
Add the flour and mix well.
Boil and stir the batter until smooth.
Let it cool, then add the grated chocolate, cold water, egg yolk, and vanilla.
Mix in chopped nuts or raisins if desired.
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.
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).
-
Chocolate + vanillatop 5% of all pairsSmell alikemoderateCooked together10,020 recipes
Shared aroma: sotolon (curry, maple).
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Vanilla + nutstop 8% of all pairsSmell alikemoderateCooked together638 recipes
Shared aroma: alpha-pinene (pine, turpentine).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
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
- Sugar
- Sweetens the cake and helps give it a tender crumb when creamed with butter.
- Butter
- Adds fat for richness and tenderness, and helps trap air when creamed with sugar.
- Sour milk
- Its acidity reacts with baking soda to produce gas, helping the cake rise.
- Baking soda
- Reacts with the acidic sour milk to release carbon dioxide for lift.
- Flour
- Provides the structure that holds the cake together as the batter sets.
- Egg yolk
- Adds richness and helps bind the batter and add moisture.
The step that matters
Boil and stir the batter until smooth. Boiling the batter gelatinizes the starch and cooks the mixture, while stirring keeps it smooth and evenly mixed so it does not form lumps or uneven texture. Let it cool before adding the egg yolk so the yolk does not scramble.
Swap the nuts
The recipe marks nuts as optional. How well each one fits the dish's main ingredients (sugar, butter, milk, flour, chocolate, egg, vanilla):
- Almondfits better
- Hazelnutfits better
- Chestnutfits better
- Nutsthe original
Fit is the average pairing score against sugar, butter, milk, flour, chocolate, egg, vanilla. 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 chocolate 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
Vanilla Ice Cream108 recipes
Chocolate Cookies76 recipes
Chocolate Fudge55 recipes