Cooking Calc Hub

Dietary substitution finder

Swap dairy, gluten, eggs, or nuts in any recipe — ratios that actually hold up in baking.

dairy free

Substitutes for Butter (dairy-free)

Vegan butter block (Miyoko's, Earth Balance sticks)
Ratio: 1:1
Best for: Cookies, pie crust, laminated doughs — the only DF swap that handles both
Block/stick form. Tub margarines have too much water for baking.
Refined coconut oil
Ratio: 1:1
Best for: Cookies, brownies, one-bowl cakes
Olive oil
Ratio: ¾ cup oil per 1 cup butter
Best for: Savory quick breads, focaccia, olive oil cake

Dairy-free baking reality check

Vegan butter blocks (Miyoko's, Earth Balance) handle 95% of recipes. Coconut oil handles 80%. Olive oil handles 60% (savory bakes). The trouble spots are laminated doughs (croissants) and buttercream (only block butter substitutes work).

Gluten-free flour isn't a monolith

The working GF flour for most baking is a 1:1 blend (King Arthur Measure for Measure, Bob's Red Mill 1-to-1). These contain xanthan gum for structure. Single-grain GF flours (almond, oat, coconut) all need recipe-specific ratios — they are not drop-in replacements.

Egg replacements by recipe role

Eggs bind, leaven, add moisture, and color. Flax egg = bind + moisture (good for cookies). Aquafaba = leavening (good for meringue). Commercial egg replacer = full spectrum (good for cakes). Matching the egg's role to the replacer is what makes recipes work.

Get the Free Holiday Cooking Mega Checklist PDF

Thanksgiving countdown, holiday baking schedule, dinner-party timeline — 14 pages, printable. Join 1,200+ home cooks. No spam.

Frequently asked questions

1.Best gluten-free all-purpose flour?

King Arthur Measure for Measure ($6/lb) or Bob's Red Mill 1-to-1 ($5/lb). Both work as 1:1 AP swaps. Cup4Cup is another strong pick but slightly pricier.

2.How do I make a cake dairy-free?

Swap butter for vegan butter block 1:1. Swap milk for oat milk 1:1. Swap buttermilk for oat milk + 1 tbsp lemon juice per cup. Chocolate ganache: vegan dark chocolate + coconut cream.

3.What about nut allergies?

Skip almond flour (use oat or sunflower seed flour). Avoid almond extract. Peanut butter → SunButter 1:1 (same texture, different flavor). Pecans → pumpkin seeds in granola.

4.Is gluten-free bread possible?

Yes, with added binder (psyllium husk, xanthan gum). The best recipes use psyllium 3% of flour weight + long cold rise. Commercial GF bread is generally brick-like; homemade can be excellent with practice.

5.Can I sub vegan butter for butter 1:1 in all recipes?

For cookies, cakes, quick breads, pie crust: yes, brand-matched to block form. For laminated doughs (puff pastry, croissants): brand matters — Miyoko's works; Earth Balance is too soft.

Dairy-free, gluten-free, egg-free: the ratios that actually work

Most "dietary substitution" lists are aspirational — they assume swaps work 1:1, which is true maybe 40% of the time. This page is the honest version: what works in cookies vs. cakes vs. yeasted breads, with texture and flavor notes for each.

Dairy-free: the full kit

Milk (1 cup): oat milk (1:1 best all-rounder), soy milk (1:1 most protein), almond milk (1:1 but thinner), coconut milk (¾ cup in cakes, heavier).

Butter (1 cup): vegan butter block like Miyoko's or Earth Balance stick (1:1 for baking), coconut oil solid (1:1 but adds coconut flavor), shortening (1:1 for flaky pies).

Heavy cream: full-fat coconut milk 1:1. For whipping, chill cold coconut cream and whip like dairy.

Yogurt: coconut yogurt 1:1 (less protein), soy yogurt 1:1 (most dairy-like), cashew yogurt (creamy, slightly sweet).

Cheese: nut-based (Miyoko's, Kite Hill) for spreads and soft cheese; soy-based (Daiya, Violife) for melting in pizza, grilled cheese.

Gluten-free: flour blends that bake

1:1 gluten-free blends (King Arthur Measure-for-Measure, Cup4Cup, Bob's Red Mill 1-to-1) substitute 1:1 in most recipes. Rice flour alone doesn't work — it's gritty. GF blends combine rice, tapioca, potato, sorghum, and xanthan gum.

Yeasted bread needs extra xanthan gum (add ½ tsp per cup of flour if your blend doesn't include it). GF bread never has identical texture to wheat — it's denser, shorter, drier. Adding psyllium husk (1 tbsp per cup flour) helps.

Pizza crust: GF blend + extra xanthan + olive oil + more hydration (65% vs 60%).

Cakes and cookies: GF blend works well. Expect slightly crumbly cookies; chill dough longer.

Egg-free: the workhorses

Per 1 egg:

  • Flax egg (1 tbsp ground flax + 3 tbsp water): muffins, cookies, pancakes.
  • Chia egg (1 tbsp chia + 3 tbsp water): same as flax.
  • Aquafaba (3 tbsp): whips to peaks, best for meringue, macarons, mousse.
  • Silken tofu (¼ cup): dense cakes, brownies.
  • Applesauce (¼ cup): quick breads, muffins.
  • Banana (¼ cup): adds banana flavor, works in breakfast bakes.
  • Commercial egg replacer (Bob's Red Mill, JUST Egg): most versatile.

Nut-free: the common traps

Almond flour recipes: sub sunflower seed flour 1:1. Adds slight grey color (alkaline reaction — add 1 tbsp lemon juice to offset).

Peanut butter: sunflower butter (SunButter) 1:1. Tastes close; same texture.

Watch for: almond milk (use oat or soy), marzipan (use bean paste), pesto (use sunflower or pepita).

Multi-restriction baking (GF + DF + V)

Much harder. Start with a tested vegan GF recipe rather than converting. Failed conversions are almost guaranteed when stacking restrictions. King Arthur, Minimalist Baker, and America's Test Kitchen all have reliable multi-restriction recipe collections.

Tips that save multi-restriction baking

Extra liquid: GF flour absorbs more water. Add 1 tbsp per cup.

Longer rest: let batter sit 15-20 min before baking. Flour hydrates fully.

Binders: xanthan gum, psyllium husk, or ground flax compensate for missing gluten and egg.

Weigh ingredients: volume measuring is unreliable across flour blends.

Related: out-of-ingredient finder, baking substitutions, egg size subs.

Frequently asked

Can I make any recipe gluten-free? Most yes, but expect to test 2-3 times to nail texture.

Is oat milk safe for celiac? Only if labeled certified gluten-free. Cross-contamination is common.

Can I substitute multiple things at once? Stacking subs increases risk. Start with a tested multi-restriction recipe instead.

How do I know a GF bread is done? Internal temp 200-210°F; longer bake than wheat.

Vegan buttercream? Vegan butter + powdered sugar + plant milk. Chill before piping.

More free tools