Keto Macro Calculator

Keto Macro Calculator | Personalized Fat, Protein & Carb Targets — Daily Health Tools
🥑 Nutrition Tool

Keto Macro
Calculator

Enter your stats to get personalized fat, protein and net carb targets for the ketogenic diet — based on your BMR, TDEE, activity level and goal.

Mifflin-St Jeor Formula
3 Keto Styles
100% Free
Your Daily Target
Calories / Day
Fat (g)
Protein (g)
Net Carbs (g)
Enter Your Stats
Used in the BMR formula
yrs
Used in the BMR formula
cm
Height in centimeters
kg
Current body weight
Used to calculate your TDEE
Adjusts your daily calorie target
Different keto approaches split macros differently
Medically reviewed against established ketogenic diet research and the Mifflin-St Jeor BMR equation. Last checked for accuracy: July 2026.
Advertisement
Keto Macro Ratios at a Glance
Keto StyleFatProteinCarbsBest For
Standard Keto (SKD)70–75%20–25%5–10%Most beginners; classic approach
High-Protein Keto60–65%30–35%5%Preserving muscle during fat loss
Moderate Keto68–70%25–27%5–8%Balanced approach, active individuals
Targeted Keto (TKD)65–70%20–25%10–15% (around workouts)Athletes needing quick pre-workout fuel

This calculator uses Standard, High-Protein, and Moderate keto ratios above.

Advertisement

What Is the Ketogenic Diet?

The ketogenic diet is a very low-carbohydrate, high-fat eating pattern designed to shift your body's primary fuel source from glucose (sugar) to ketones, which are produced by the liver from fat. This metabolic state is called ketosis. By restricting carbohydrates to roughly 20-50 grams of net carbs per day, most people can enter ketosis within two to seven days, depending on their activity level, starting carbohydrate intake, and individual metabolism.

Unlike many diets that focus primarily on calorie counting, keto is defined by its macronutrient ratio — the proportion of calories coming from fat, protein, and carbohydrates. Getting this ratio right is essential, because eating too much protein or too many carbs can pull your body out of ketosis entirely, even if your total calorie intake stays the same. This is exactly why a dedicated keto macro calculator, rather than a generic calorie calculator, matters so much for anyone serious about the diet.

The modern ketogenic diet has roots in epilepsy treatment from the 1920s, where it was used clinically to reduce seizure frequency in children. It has since been adapted for general weight management, athletic performance, and metabolic health, though the core principle — very low carbohydrate intake driving fat-based fuel use — has remained the same for a century.

How Keto Macros Work — The Science of Ketosis

Your body normally relies on glucose, derived from dietary carbohydrates, as its primary energy source. When carbohydrate intake drops low enough, glycogen stores in the liver and muscles become depleted within one to three days. With glucose in short supply, the liver begins converting fatty acids into ketone bodies — primarily beta-hydroxybutyrate, acetoacetate, and acetone — which can cross the blood-brain barrier and fuel the brain, heart, and muscles in place of glucose.

This is where the specific macro ratio becomes critical. Fat is kept high (typically 70% or more of calories) because it becomes your dominant energy source and the raw material for ketone production. Protein is kept moderate rather than high, because excess protein can be converted into glucose through a process called gluconeogenesis, which can slow or prevent ketosis if intake is too aggressive. Carbohydrates are kept very low — usually under 50 grams of net carbs daily — since even moderate carb intake can supply enough glucose to shut down ketone production.

This is why simply "eating low carb" is not the same as being in ketosis. A precise macro calculation, personalized to your body size, activity level, and goal, gives you a target that is far more likely to actually produce and sustain measurable ketosis than a generic percentage applied to everyone.

How This Calculator Works

This tool calculates your macros in three steps, following the same approach used by registered dietitians and sports nutritionists.

Step 1 — BMR

Your Basal Metabolic Rate (BMR) is estimated using the Mifflin-St Jeor equation, widely regarded as one of the most accurate predictive formulas for resting energy expenditure. It uses your weight, height, age, and gender to estimate the calories your body burns at complete rest.

Step 2 — TDEE

Your BMR is multiplied by an activity factor (ranging from 1.2 for sedentary individuals to 1.9 for very active ones) to calculate your Total Daily Energy Expenditure (TDEE) — the estimated calories you burn including movement and exercise.

Step 3 — Goal Adjustment

Your TDEE is adjusted based on your goal: roughly a 20% deficit for fat loss, no change for maintenance, or a modest 10% surplus for muscle gain, since large surpluses tend to add more fat than muscle on a ketogenic diet.

Step 4 — Macro Split

Your final daily calories are split into fat, protein, and net carbs according to the keto style you choose, with a built-in minimum carb floor of about 20 grams to help protect against unrealistically low carb targets at smaller calorie intakes.

Total Carbs vs Net Carbs — What's the Difference?

Almost everyone following keto tracks net carbs rather than total carbohydrates. Net carbs are calculated by subtracting fiber, and sometimes sugar alcohols, from total carbohydrate grams. The reasoning is that fiber is not broken down and absorbed by the body the way starches and sugars are, so it has little to no effect on blood sugar or ketosis.

For example, a food with 10 grams of total carbohydrates and 6 grams of fiber would have only 4 grams of net carbs. This distinction matters enormously on keto, since it allows for fiber-rich, nutrient-dense vegetables — which would otherwise seem too high in carbs — to fit comfortably within a daily net carb budget of 20 to 50 grams.

Sugar alcohols like erythritol and xylitol are sometimes subtracted as well, though this is more debated, since some sugar alcohols do have a partial impact on blood sugar in certain individuals. When in doubt, checking your own blood glucose or ketone response to a specific sugar alcohol is the most reliable approach.

Types of Ketogenic Diets

Not all keto diets are identical. Depending on your goals, activity level, and how your body responds, one of the following variations may suit you better than the standard approach.

Standard Ketogenic Diet (SKD)

The most common approach, typically structured around 70-75% fat, 20-25% protein, and 5-10% carbohydrates. This is the default most beginners should start with, since it is well-researched and straightforward to follow consistently.

High-Protein Ketogenic Diet

A modified version that increases protein to roughly 30-35% of calories while reducing fat slightly, while carbs remain very low. This variation is popular among people prioritizing muscle retention during fat loss, or older adults who benefit from higher protein intake to preserve lean mass.

Targeted Ketogenic Diet (TKD)

Designed for athletes and highly active individuals, TKD allows a small amount of fast-digesting carbohydrate (typically 15-30 grams) to be consumed around workouts, providing quick fuel for high-intensity training while the rest of the day stays strictly low-carb.

Cyclical Ketogenic Diet (CKD)

Involves alternating between periods of strict keto (five to six days) and higher-carbohydrate "refeed" days (one to two days), often used by advanced bodybuilders or athletes to periodically replenish muscle glycogen. This approach is more complex and generally not recommended for keto beginners.

What to Eat on a Ketogenic Diet

A well-formulated keto diet should still emphasize whole, nutrient-dense foods rather than simply maximizing fat intake from any source. Common keto-friendly foods include:

  • Healthy fats: olive oil, avocado, avocado oil, butter, ghee, coconut oil, nuts, and seeds
  • Protein sources: eggs, fatty fish (salmon, mackerel, sardines), poultry, beef, pork, and full-fat dairy
  • Low-carb vegetables: leafy greens, broccoli, cauliflower, zucchini, peppers, and asparagus
  • Low-sugar fruits: berries in moderation, such as raspberries and blackberries
  • Beverages: water, unsweetened tea and coffee, and electrolyte-supplemented drinks

Foods to Avoid on Keto

Because even moderate carbohydrate intake can disrupt ketosis, certain food categories are generally minimized or eliminated:

  • Grains and starches: bread, rice, pasta, oats, and cereal
  • Sugary foods: candy, soda, fruit juice, and most desserts
  • Most fruits: bananas, grapes, apples, and other higher-sugar fruits in significant quantity
  • Starchy vegetables: potatoes, corn, and peas
  • Legumes: beans, lentils, and chickpeas, due to their carbohydrate content
  • Low-fat "diet" products: which are often high in added sugar to compensate for reduced fat

Electrolytes and the "Keto Flu"

Many people experience flu-like symptoms during the first one to two weeks of starting keto, commonly called the "keto flu." Symptoms can include fatigue, headache, irritability, muscle cramps, and brain fog. This happens largely because reducing carbohydrate intake lowers insulin levels, which causes the kidneys to excrete more sodium and water, taking potassium and magnesium along with it.

To minimize keto flu symptoms, most nutrition experts recommend deliberately increasing electrolyte intake during the transition period:

  • Sodium: roughly 3,000-5,000 mg per day, often through added salt, broth, or electrolyte supplements
  • Potassium: around 3,000-4,700 mg per day, from leafy greens, avocado, and salmon
  • Magnesium: around 300-400 mg per day, from nuts, seeds, leafy greens, or a supplement

Staying well-hydrated is equally important, since the initial water loss on keto is often more significant than people expect. Most keto flu symptoms resolve within one to two weeks as the body adapts to using fat and ketones for fuel.

Potential Benefits of a Ketogenic Diet

Research and clinical experience point to several potential benefits associated with well-formulated ketogenic diets, though individual results vary considerably:

  • Appetite reduction: Ketones and higher fat, higher protein intake tend to increase satiety, which can make calorie reduction feel more sustainable for some people
  • Blood sugar stability: Very low carbohydrate intake reduces blood sugar swings, which some people with insulin resistance find helpful, though this should be medically supervised for anyone with diabetes
  • Fat loss: Many people lose weight on keto, partly through appetite suppression and partly through the metabolic shift toward fat oxidation, though total calorie balance still ultimately governs weight change
  • Mental clarity: Some individuals report improved focus once fully adapted to ketosis, likely related to the brain's efficient use of ketones as fuel

It's worth noting that much of keto's weight-loss effect can also be explained by the appetite-suppressing qualities of higher protein and fat intake, and by the elimination of many calorie-dense processed carbohydrate foods — mechanisms that overlap with other well-designed diets as well.

Risks, Side Effects, and Who Should Avoid Keto

The ketogenic diet is not appropriate for everyone, and some groups should avoid it entirely or only attempt it under close medical supervision:

  • People with pancreatitis, liver failure, or fat metabolism disorders — since the diet places high demand on fat digestion and processing
  • People with type 1 diabetes or type 2 diabetes on insulin or certain medications — due to risk of dangerously low blood sugar or diabetic ketoacidosis, a serious medical emergency distinct from nutritional ketosis
  • Pregnant or breastfeeding individuals — who have increased and specific nutrient needs that a very restrictive diet may not adequately meet without careful planning
  • People with a history of disordered eating — since highly restrictive diets can sometimes reinforce unhealthy patterns around food
  • People with kidney disease — since higher protein intake, in some keto variations, may need to be managed carefully depending on kidney function

Even for generally healthy adults, long-term keto adherence should ideally involve regular check-ins with a doctor, particularly around cholesterol levels, kidney function, and micronutrient status, since a poorly planned keto diet can be low in fiber, certain vitamins, and minerals.

Tips for Long-Term Keto Success

  • Track net carbs, not just total carbs, and use a food scale or app for the first few weeks until portion sizes become intuitive
  • Prioritize whole foods over heavily processed "keto" packaged products, which can be high in additives and lower in nutrients
  • Front-load electrolytes, especially in the first two weeks, to reduce keto flu symptoms
  • Recalculate your macros periodically, especially after losing or gaining a meaningful amount of weight, since your calorie needs change as your body composition changes
  • Don't fear dietary fat, but also don't assume unlimited fat intake is necessary — hitting your calorie target still matters for weight goals
  • Get enough fiber from low-carb vegetables to support digestive health, since fiber intake often drops on restrictive diets
🍽️
Need keto-friendly recipes?
Visit Daily Health Kitchen for low-carb, high-fat recipes that fit your macros.
Explore Recipes →
⚕️ Medical Disclaimer: This tool is for informational purposes only and is not a substitute for professional medical advice. Speak with a doctor or registered dietitian before starting a ketogenic diet, especially if you have any existing health conditions or take medication.

Frequently Asked Questions

A standard ketogenic diet typically targets around 70-75% of calories from fat, 20-25% from protein, and 5-10% from carbohydrates, usually keeping net carbs between 20 and 50 grams per day to maintain ketosis.
Net carbs are calculated by subtracting fiber (and sometimes sugar alcohols) from total carbohydrates, since fiber isn't digested and absorbed the way other carbs are. Most keto followers track net carbs rather than total carbs.
Most people maintain ketosis eating between 20 and 50 grams of net carbs per day, though this varies by individual based on activity level, metabolic health, and experience with the diet.
No. The ketogenic diet is not recommended for people with certain conditions such as pancreatitis, liver failure, or specific metabolic disorders, and those with diabetes on insulin or certain medications should only try keto under medical supervision.
Most people enter ketosis within two to seven days of consistently restricting net carbs to under 50 grams per day, though this can vary based on starting carbohydrate intake, activity level, and individual metabolism.

Related Health Calculators

Comments