How Many Carbs for Keto: Net vs. Total Carbs

Most people need to eat fewer than 50 grams of total carbohydrates per day to reach and stay in ketosis, and many start at 20 grams per day for the first few weeks. That range, 20 to 50 grams, is where the vast majority of people on a ketogenic diet land. For context, a single medium bagel contains more than 50 grams of carbs on its own.

Why the Range Is 20 to 50 Grams

The threshold for ketosis varies from person to person. Some people can stay in ketosis eating up to 70 grams of carbs per day, while others need to stay at or below 20 grams. Activity level, muscle mass, age, and metabolic health all influence where your personal cutoff falls. Clinical guidelines define a well-formulated ketogenic diet primarily by the grams of carbohydrates consumed per day rather than by a strict percentage, because individual calorie needs vary so much.

Starting at 20 grams per day is common advice because it virtually guarantees ketosis for most people. After a few weeks, you can experiment by slowly adding 5 grams at a time and observing whether you stay in ketosis. This lets you find your own upper limit rather than guessing.

Net Carbs vs. Total Carbs

When people on keto talk about “20 grams of carbs,” they usually mean net carbs, not total carbs. Net carbs are calculated by taking the total carbohydrates in a food and subtracting the fiber and any sugar alcohols. Fiber and sugar alcohols don’t significantly raise blood sugar, so they’re treated as a freebie in the equation.

This matters more than you might expect. A food label might show 24 grams of total carbs, but if that food contains a large amount of fiber and sugar alcohols, the net carbs could be as low as 6 grams. Avocados are a perfect example: one cup of chopped avocado has 13 grams of total carbs, but 10 of those grams are fiber, leaving just 3 grams of net carbs.

What the Rest of Your Plate Looks Like

Because carbs take up such a small portion of your daily intake on keto, fat becomes your primary fuel source and protein fills the middle ground. A practical guideline for protein is roughly 1.2 to 2.0 grams per kilogram of your reference body weight, which works out to about 80 to 150 grams per day for most adults. The rest of your calories come from fat. This isn’t a ratio you need to calculate precisely each meal. The carb limit is the number that actually matters for staying in ketosis; protein and fat tend to fall into place around it.

Low-Carb Vegetables That Fit Easily

Vegetables are where most of your carb budget goes on keto, and the right choices give you a surprising amount of food for very few net carbs. Here are some of the best options:

  • Spinach: 1 cup raw has about 1 gram of carbs and nearly 1 gram of fiber, making it essentially zero net carbs.
  • Mushrooms: 1 cup raw has 2 grams of carbs, 1 gram of fiber. Just 1 net carb.
  • Celery: 1 cup chopped has 3 grams of carbs, 2 grams of fiber.
  • Zucchini: 1 cup raw has 4 grams of carbs, 1 gram of fiber.
  • Cauliflower: 1 cup raw has 5 grams of carbs, 2 grams of fiber.
  • Broccoli: 1 cup raw has 6 grams of carbs, 2 grams of fiber.
  • Avocado: 1 cup chopped has 13 grams of carbs, but 10 grams of fiber, so only 3 net carbs.

Artichokes are another surprisingly good option. One medium artichoke has 14 grams of total carbs, but 7 of those are fiber, leaving 7 net carbs. On the higher end, watch portions with bell peppers (6 net carbs per cup), green beans (6 net carbs per cup cooked), and onions (4 net carbs per half cup). None of these are off-limits, but they add up faster.

Hidden Carbs That Add Up Fast

The carbs that knock people out of ketosis are rarely from a plate of broccoli. They sneak in through condiments, drinks, and foods that seem safe. A few common traps worth knowing about:

Plant-based milks vary wildly. Unsweetened almond or coconut milk is typically fine, but oat milk is too high in carbs for keto even in its unsweetened form. Sweetened versions of any plant milk can contain enough sugar to eat through a significant chunk of your daily budget in a single glass. “Light” versions of cream and half-and-half are another hidden source, often made with nonfat milk and high-carb flavorings rather than the full-fat versions that are actually keto-friendly.

Flavored sparkling waters sometimes contain small amounts of fruit juice that add carbs you wouldn’t expect from something labeled as water. Individually, these are small numbers. The problem is that when you’re working with a budget of 20 to 50 grams, three or four hidden sources throughout the day can account for half your limit before you’ve eaten an actual meal. Reading labels becomes a habit worth building.

Electrolytes During the Transition

When you first cut carbs this low, your body sheds water rapidly, and along with that water go sodium, potassium, and magnesium. This is the main driver behind the headaches, fatigue, and muscle cramps people call “keto flu.” Clinical guidelines for a well-formulated ketogenic diet recommend replacing 2 to 3 grams of sodium per day (equivalent to 5 to 7 grams of salt), aiming for 3 to 4 grams of potassium daily, and supplementing 200 to 400 milligrams of magnesium if muscle cramps or constipation persist.

Salting your food generously, eating potassium-rich foods like avocado and spinach, and staying well-hydrated covers most of this for most people. The transition period typically lasts one to two weeks, and the electrolyte needs don’t fully go away, though they become less noticeable once your body adjusts.

Finding Your Personal Carb Limit

The simplest approach is to start at 20 grams of net carbs per day for two to four weeks. This removes the guesswork and gets you into ketosis reliably. From there, you can gradually increase by 5-gram increments each week. If you feel your energy dip or notice other changes, you’ve likely found your ceiling. Many people settle comfortably between 30 and 50 grams of net carbs once they’ve been in ketosis for a while, especially if they exercise regularly.

People who are more insulin resistant, less physically active, or managing a metabolic condition generally need to stay closer to the 20-gram end. People who are younger, more active, and metabolically healthy often have more flexibility. There’s no single number that works for everyone, but the 20-to-50-gram window captures the range where ketosis happens for the vast majority of people.