An unexpected error occurred.
We were unable to perform the calculation. Please check your inputs or try refreshing the page.
Infeasible Macros
Your protein and carb goals require more calories than your daily target. Please increase your total calories or reduce your protein/carb intake.
Your Keto Macro Targets
Daily Calories
0
kcal/day
Protein
0
g/day
Net Carbs
0
g/day
Fat
0
g/day
| Macronutrient | Percentage |
|---|---|
| ■ Fat | 0% |
| ■ Protein | 0% |
| ■ Net Carbs | 0% |
Show Calculation Details
Debug & Test Panel
Keto Macro Calculator — How to Set Calories, Net Carbs, Protein & Fats on Keto
Welcome to the most comprehensive Keto Macro Calculator on the web. This tool is designed to help you determine the optimal macronutrient ratios—protein, fat, and carbohydrates—to support your ketogenic lifestyle. Whether your goal is weight loss, muscle gain, therapeutic ketosis, or simply maintaining a healthy, low-carb diet, setting your macros correctly is the cornerstone of success. This calculator goes beyond simple estimates, providing detailed breakdowns, customizable inputs, and transparent formulas to empower you on your health journey.
What Are Net Carbs and Why Do They Matter on Keto?
On a ketogenic diet, the primary goal is to restrict carbohydrate intake sufficiently to induce a metabolic state called ketosis, where the body burns fat for fuel instead of glucose. However, not all carbs are created equal. The concept of net carbs is crucial for keto dieters. Net carbs represent the carbohydrates that your body can digest and convert into glucose, which can impact your blood sugar and potentially kick you out of ketosis.
The standard formula for calculating net carbs is:
Net Carbs = Total Carbohydrates - Dietary Fiber
Dietary fiber is a type of carbohydrate that the human body cannot fully digest. Because it passes through the system largely intact, it doesn't raise blood sugar levels or interfere with ketosis. This is why we subtract it from the total carb count.
Another class of compounds to consider is sugar alcohols (polyols), such as erythritol, xylitol, and maltitol. These are often used as sweeteners in "keto-friendly" products. Their impact on blood sugar varies. Erythritol, for example, has a minimal effect and is often fully subtracted. Others, like maltitol, have a more significant glycemic impact. A common conservative approach is to subtract half of the sugar alcohol grams. For success on keto, focusing on whole foods with natural fiber is always the best strategy.
How We Calculate Your Keto Macros
This calculator uses established scientific formulas to provide a personalized starting point for your macros. Here’s a step-by-step breakdown of the process:
- Basal Metabolic Rate (BMR): First, we estimate your BMR, which is the number of calories your body needs at rest to perform basic life-sustaining functions. We use the Mifflin-St Jeor equation, considered one of the most accurate formulas:
- For Men:
10 × weight (kg) + 6.25 × height (cm) - 5 × age + 5 - For Women:
10 × weight (kg) + 6.25 × height (cm) - 5 × age - 161
- For Men:
- Total Daily Energy Expenditure (TDEE): Your BMR is then multiplied by an activity factor to estimate your TDEE—the total calories you burn in a day, including physical activity.
- Sedentary: x 1.2
- Lightly Active: x 1.375
- Moderately Active: x 1.55
- Very Active: x 1.725
- Goal-Based Calorie Target: Based on your goal (lose, maintain, or gain), we apply a deficit or surplus to your TDEE. A common deficit for weight loss is 500 kcal/day, which corresponds to approximately 1 pound of fat loss per week.
- Setting Protein and Carbs: Next, we set your protein and net carb targets in grams. Carbs are typically fixed at a low level (e.g., 20g/day) to ensure ketosis. Protein is set based on your body weight to preserve muscle mass.
- Deriving Fat: Finally, fat is calculated to fill the rest of your daily calorie budget. We convert your protein and carb grams to calories (4 kcal/gram each) and subtract them from your total daily calorie target. The remaining calories are allocated to fat, which has 9 calories per gram.
Protein on Keto: The Foundation of Your Diet
A common misconception about the ketogenic diet is that it's a high-protein diet. In reality, it's a high-fat, low-carbohydrate, and moderate-protein diet. Getting enough protein is vital to prevent muscle loss, support immune function, and promote satiety. Too little protein can lead to lean mass loss, while excessive protein can, in some individuals, be converted to glucose (a process called gluconeogenesis), potentially hindering ketosis.
A good starting point for most people is:
- Sedentary individuals: 1.2–1.6 grams of protein per kilogram of ideal body weight.
- Active individuals or those wanting to build muscle: 1.6–2.2 grams per kilogram.
This calculator helps you set a precise protein goal, ensuring you fuel your body effectively without compromising your ketogenic state.
Fat as Primary Fuel: Your Energy Source on Keto
On a ketogenic diet, fat becomes your body's primary source of energy. It's essential for hormone production, vitamin absorption, and providing the calories needed to feel full and energized. Once your protein and carb targets are set, the remainder of your calories will come from healthy fats.
Sources of healthy fats include:
- Avocados and avocado oil
- Olive oil
- Nuts and seeds (in moderation)
- Fatty fish like salmon and mackerel
- Butter and ghee from grass-fed sources
It’s important not to fear fat on a keto diet; it is the lever you pull to adjust your total calorie intake up or down to meet your goals.
Frequently Asked Questions (FAQs)
What are net carbs and how are they calculated?
Net carbs are the total carbohydrates in a food that the body can digest and use for energy. The most common formula is: Net Carbs = Total Carbohydrates - Fiber. Some people also subtract a portion of sugar alcohols, as they have a minimal impact on blood sugar. This calculator allows you to customize that rule.
How much protein should I eat on keto?
Protein intake on keto is crucial for preserving muscle mass. A common recommendation is 1.2 to 1.7 grams per kilogram of lean body mass. For simplicity, many use total body weight, with ranges like 0.8-1.2 g/kg for sedentary individuals and 1.6-2.2 g/kg for those looking to build muscle. Our calculator helps you set a target based on your goals.
How do I calculate fats for a ketogenic diet?
Fat is typically calculated last. After setting your daily calorie target and determining your protein and net carb grams, the remaining calories in your budget are allocated to fat. Since fat has 9 calories per gram, you divide the remaining calories by 9 to find your daily fat target in grams.
Can I use this tool for therapeutic ketogenic diets?
While this calculator can provide estimates, therapeutic ketogenic diets (for conditions like epilepsy) require strict medical supervision. The ratios and targets can be very specific and must be managed by a healthcare professional or registered dietitian. Always consult your doctor before making significant dietary changes for medical reasons.
What is targeted keto (TKD) and how do I handle carbs around workouts?
Targeted Keto (TKD) involves consuming a small amount of fast-acting carbohydrates (typically 15-30g) about 30 minutes before intense workouts to improve performance. These carbs are used up during the exercise and shouldn't kick you out of ketosis long-term. This approach is for athletes, not for general weight loss.
How accurate are macro estimates from calculators?
Macro calculators provide excellent starting points based on established formulas like the Mifflin-St Jeor equation for BMR. However, they are estimates. Your individual metabolism, genetics, and other factors can influence your actual needs. Use these results as a baseline, track your progress, and adjust as needed.
Should I count sugar alcohols as carbs?
It depends. Sugar alcohols like erythritol have a negligible effect on blood sugar and are often fully subtracted from total carbs. Others, like maltitol, have a more significant impact. A common approach is to subtract half of the sugar alcohol grams. Our calculator provides options to handle this based on your preference.
How do I adjust macros if I’m not losing weight?
If weight loss stalls for more than a couple of weeks, review your tracking for hidden carbs or excess calories. If tracking is accurate, you may need to slightly increase your calorie deficit (by ~250 calories) or increase physical activity. Be patient, as weight loss is not always linear.
