Select your recipe type, enter the flour amount, and get the exact xanthan gum measurement — plus alternatives like psyllium husk and flax.
Xanthan gum is the most misunderstood ingredient in gluten-free baking. Too much and your bread tastes like it was made at a chemical plant. Too little and your cookies disintegrate when you pick them up. The ratio changes depending on what you're baking — bread needs roughly twice as much as cookies, and pancakes barely need any at all.
I used to just eyeball it and hope for the best. After dozens of gummy loaves and crumbly muffins, I sat down and tested exact ratios across every recipe type on this site. The chart below is what I came up with. Plug in your flour amount and recipe type — the calculator does the rest.
| Recipe Type | Xanthan Gum (per cup flour) | Notes |
|---|---|---|
| Bread & Rolls | 1 tsp (2.5g) | Maximum binding for rise and structure |
| Pizza Dough | ¾ tsp (1.9g) | Slightly less — pizza doesn't need as much lift |
| Muffins & Quick Breads | ¾ tsp (1.9g) | Enough to hold together without being dense |
| Cake | ½ tsp (1.25g) | Light touch — too much makes cake gummy |
| Cookies | ½ tsp (1.25g) | Just enough to prevent crumbling |
| Pie Crust | ½ tsp (1.25g) | Keeps dough rollable without toughening |
| Pancakes & Waffles | ¼ tsp (0.6g) | Minimal — batter is already liquid-bound |
Xanthan gum works great, but it's not the only option. Some people prefer natural alternatives for digestive reasons, availability, or personal preference. Here's how each one performs — tested across real recipes on this site.
Our favorite xanthan alternative for bread specifically. Psyllium husk absorbs water and forms a gel that mimics gluten structure better than xanthan in yeast-leavened baked goods. Use about 2× the amount of xanthan (so 2 tsp psyllium per 1 tsp xanthan). It adds a slight tan color and mild fiber flavor — barely noticeable in whole-grain breads but visible in white bread. Use powder, not whole husks.
Mix 1 tablespoon ground flax with 3 tablespoons warm water, let sit 5 minutes to gel. This replaces about 1 teaspoon of xanthan gum. Flax adds a subtle nutty flavor that works well in cookies, muffins, and quick breads. It also adds omega-3s and fiber. Not ideal for white bread or delicate cakes where you want a neutral flavor.
Same ratio as flax: 1 tablespoon ground chia + 3 tablespoons water per teaspoon of xanthan. Chia forms a stronger gel than flax and is more neutral in flavor. The tiny seed specks are visible in light-colored baked goods, which some people don't mind and others find distracting. Works well in muffins, pancakes, and cookies.
Swaps 1:1 with xanthan gum. It's cheaper and works similarly, though the texture is slightly different — guar gum gives a softer, less elastic crumb while xanthan gives more chew. Some people find guar gum harder to digest. If you're sensitive, start with a smaller amount and work up.
Xanthan gum acts as a gluten replacement — it binds ingredients together, traps air bubbles so things rise properly, and gives baked goods the stretchy, chewy quality that gluten normally provides. Without it (or a substitute), most GF baked goods crumble apart, won't rise, and have a sandy texture.
Absolutely. Too much xanthan gum makes baked goods dense, gummy, and slimy — almost like a gel. It's one of the most common GF baking mistakes. The amounts are small (fractions of a teaspoon per cup of flour), so measuring carefully matters. This is why we built this calculator — getting the ratio right makes a huge difference.
The best alternatives are psyllium husk powder (use about 2× the amount of xanthan gum — it works especially well in bread), ground flaxseed mixed with water (1 Tbsp ground flax + 3 Tbsp water per teaspoon of xanthan), or chia seeds (same ratio as flax). Guar gum also works 1:1 with xanthan but can cause digestive issues for some people. Our calculator shows exact amounts for each alternative.
Xanthan gum is FDA-approved and safe for most people in the small amounts used in baking. Some people with sensitive digestive systems experience bloating or gas, particularly at higher doses. If that's you, psyllium husk is the best alternative — it's actually beneficial for digestion and works well as a binder in GF baking. Start with the recommended amount and adjust to your tolerance.
No — most commercial GF flour blends (like Bob's Red Mill 1-to-1 or King Arthur Measure for Measure) already include xanthan gum. Adding more will make your baked goods gummy. Check the ingredients list. If xanthan gum is listed, skip the extra addition. Our calculator is designed for recipes where you're building your own flour blend from individual flours.
Take our free quiz to get a personalized starting plan based on what you like to bake.
Take the Free Quiz