HomeFood & Cooking › Baking Substitution Calculator

Baking Substitution Calculator

Scales standard baking substitutions (buttermilk, egg, butter to oil, oil to butter, cake flour, self-rising flour, brown sugar, baking powder, sour cream, heavy cream, honey for sugar, cornstarch, whole milk, yogurt) to the amount in a recipe, given in cups, tablespoons, teaspoons, millilitres, grams or pieces, with gram equivalents for the components that are usually weighed.

When to use

You are missing a baking ingredient and need the replacement quantities for the exact amount your recipe calls for.

Do not use when: The ingredient is the structural core of the recipe in large amounts (more than about 2 eggs in a cake, butter in laminated pastry, cream that must be whipped), or you only need a unit conversion (use cooking-converter).

Formula

factor = amount expressed in the rule's base unit (cup, tbsp, tsp or piece): 1 cup = 16 tbsp = 48 tsp = 236.6 ml; grams ÷ (g per cup: buttermilk, milk, yogurt 245; butter 227; oil 218; flour 120; brown sugar 220; sugar 200; sour cream 230; heavy cream 238; baking powder 4 g/tsp; cornstarch 8 g/tbsp; egg 50 g each); each component = rule quantity × factor. Rules: 1 cup buttermilk → 1 cup milk + 1 tbsp vinegar or lemon juice; 1 egg → 1 tbsp ground flaxseed + 3 tbsp water, or ¼ cup applesauce, or ¼ cup mashed banana; 1 cup butter → ¾ cup oil; 1 cup oil → 1¼ cups melted butter; 1 cup cake flour → 1 cup all-purpose flour − 2 tbsp + 2 tbsp cornstarch; 1 cup self-rising flour → 1 cup all-purpose flour + 1½ tsp baking powder + ¼ tsp salt; 1 cup brown sugar → 1 cup white sugar + 1 tbsp molasses; 1 tsp baking powder → ¼ tsp baking soda + ½ tsp cream of tartar; 1 cup sour cream → 1 cup plain yogurt; 1 cup heavy cream → ¾ cup milk + ¼ cup melted butter; 1 cup sugar → ¾ cup honey and ¼ cup less liquid; 1 tbsp cornstarch → 2 tbsp all-purpose flour; 1 cup whole milk → ½ cup evaporated milk + ½ cup water; 1 cup yogurt → 1 cup sour cream or buttermilk

These are the common home-baking equivalents published by baking references; they reproduce the ingredient's function (acidity, fat, leavening, thickening) approximately and can change texture and browning. Gram equivalents use USDA / King Arthur volume-to-weight values (per US cup: oil 218 g, butter 227 g, all-purpose flour 120 g, sugar 200 g, honey 340 g, cornstarch 128 g).

Inputs

ParameterTypeUnitRequiredDescription
ingredientenum: buttermilk | egg | butter_to_oil | oil_to_butter | cake_flour | self_rising_flour | brown_sugar | baking_powder | sour_cream | heavy_cream | honey_for_sugar | cornstarch_for_flour | whole_milk | yogurtyesThe ingredient you do not have (or, for butter_to_oil, oil_to_butter and honey_for_sugar, the one you want to replace).
amountnumberyesQuantity of the ingredient in the recipe, in unit. Range: > 0, ≤ 10000
unitenum: cup | tbsp | tsp | g | ml | piecedefault cupUnit of amount; eggs are counted in pieces (or grams at 50 g each); metric inputs (ml) give metric substitutes.

Outputs

OutputTypeUnitDescription
substitutesstring_listEach alternative substitution scaled to the amount (components joined with +, gram equivalents in parentheses where the component is usually weighed).
primary_substitutestringThe first (most common) substitution, scaled.
scaled_amount_textstringThe ingredient amount being replaced, with its equivalent in the rule's base unit when converted.
notesstringHow to prepare the substitute and where it does not work.

Example

2 cups buttermilk: {"ingredient":"buttermilk","amount":2,"unit":"cup"}{"primary_substitute":"2 cups milk + 2 tbsp vinegar or lemon juice","scaled_amount_text":"2 cups buttermilk"}

1 cup butter → oil: {"ingredient":"butter_to_oil","amount":1,"unit":"cup"}{"primary_substitute":"0.75 cup oil (about 164 g)","substitutes":["0.75 cup oil (about 164 g)"]}

GET https://tttkmbb.com/api/v1/calculate/baking-substitutions?ingredient=buttermilk&amount=2&unit=cup

Machine access

Sources

FAQ

Can I use these in any recipe?

They work in most cakes, muffins, quick breads, pancakes and cookies. Recipes that depend on the exact ingredient (whipped cream, meringue, laminated doughs, candy) usually fail with substitutes.

Why does the butter-to-oil rule use less oil?

Butter is about 80 % fat and 16–18 % water, so ¾ cup of oil supplies the same fat as 1 cup of butter; add 1–2 tablespoons of liquid if the batter looks dry.

Are the egg substitutes suitable for all eggs in a recipe?

Only for recipes with up to about 2 eggs, where eggs add moisture and binding rather than structure; flax works in dense bakes, applesauce and banana in moist cakes and muffins.

Related calculators