Why it works: Lemon and butter are a kitchen classic. They rank in the top 16% of all ingredient pairs, and cooks put them together in 41,227 recipes. Both carry 3-hexenal, which smells apple, fruity. The science ↓
Lemon Cake
Ingredients
Directions
Make the filling
Bake any nice cake in layers.
In a saucepan, combine the lemon juice, sugar, egg, and butter.
Boil the mixture together until thickened.
Assemble and finish
Spread the lemon mixture between two layers of cake.
Top with sifted sugar or frost with white icing.
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.
-
Lemon + buttertop 16% of all pairsSmell alikemoderateCooked together41,227 recipes
Shared aroma: 3-hexenal (apple, fruity).
-
Egg + buttertop 17% of all pairsSmell alikemoderateCooked together118,967 recipes
Shared aroma: decanal (soap, orange peel).
-
Sugar + buttertop 17% of all pairsSmell alikemoderateCooked together98,233 recipes
Shared aroma: guaiacol (smoky, sweet).
-
Lemon + sugartop 18% of all pairsSmell alikelowCooked together53,532 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Lemon + eggtop 19% of all pairsSmell alikelowCooked together44,316 recipes
Shared aroma: (e,e)-2,4-decadienal (fatty, deep fried).
Lemon and sugar barely smell alike, yet cooks put them together in 53,532 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
- Egg
- Thickens the lemon mixture as it cooks and sets it into a custard-like filling.
- Butter
- Adds richness and smooth body to the lemon filling.
- Lemon
- Provides sharp acidity and bright aroma to balance the sweetness.
- Sugar
- Sweetens the filling and softens the tartness of the lemon juice.
The step that matters
Boiling the lemon mixture until thickened. The egg proteins must be heated enough to thicken the mixture, but if it boils too hard or too long, the egg can scramble and curdle. Stirring constantly over steady heat helps keep the filling smooth.
Swap the lemon
How well each one fits the dish's main ingredients (sugar, egg, butter):
- Vanillafits better
- Lemonthe original
- Raisinfits about as well
- Figfits about as well
Fit is the average pairing score against sugar, egg, butter. 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 lemon 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.

Lemon Ice147 recipes
Lemon Sherbet103 recipes
Lemon Custard64 recipes
Lemon Water Ice55 recipes