Keto Macro Calculator
Calculate ketogenic diet macronutrient targets with strict carb limits (typically 20-50 g/day), high fat, and moderate protein for achieving and maintaining nutritional ketosis.
This free online keto macro calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
20-50 g for ketosis
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Keto Macro Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Keto Macro Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Keto Macro Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
When to Use This Calculator
- •Use the Keto Macro Calculator for personal health tracking and wellness monitoring, establishing a baseline and tracking changes over time.
- •Use it when recording fitness metrics to track progress toward health or athletic goals.
- •Use it to compare measurements before and after a lifestyle, diet, or training change to quantify the impact.
- •Use it as a conversation starter before a doctor's appointment, bringing objective data to discuss with a healthcare professional.
About This Calculator
The Keto Macro Calculator is a free health and wellness calculation tool designed for personal use and general informational purposes. Calculate ketogenic diet macronutrient targets with strict carb limits (typically 20-50 g/day), high fat, and moderate protein for achieving and maintaining nutritional ketosis. This calculator provides reference values based on established health screening formulas and should not be used as a substitute for professional medical advice, diagnosis, or treatment. Results may vary based on individual factors not captured by the calculation. Consult a qualified healthcare provider for personalized health guidance. All calculations are performed locally in your browser — no personal health data is transmitted or stored.
About Keto Macro Calculator
The Keto Macro Calculator computes macronutrient targets specifically for a ketogenic diet, where carbohydrate intake is restricted to 20-50 grams of net carbs per day to induce nutritional ketosis. In ketosis, the liver converts fatty acids into ketone bodies, which serve as an alternative fuel source for the brain and muscles. The calculator fixes your carb target, sets protein based on body weight to preserve muscle, and fills the remaining calories with dietary fat. Typical keto macros are approximately 5-10% carbs, 20-25% protein, and 65-75% fat.
The Math Behind It
Formula Reference
Keto Macro Split
Fat (g) = (Calories - Carbs×4 - Protein×4) / 9
Variables: Carbs fixed (20-50g), protein = g/kg × weight, fat fills remainder
Worked Examples
Example 1: Standard Keto
2000 kcal, 25 g net carbs, 1.5 g/kg protein, 80 kg
25 g carbs, 120 g protein, 158 g fat (71% of calories from fat).
Example 2: High Protein Keto
1800 kcal, 30 g net carbs, 2.0 g/kg protein, 70 kg
30 g carbs, 140 g protein, 124 g fat (62% fat).
Common Mistakes & Tips
- !Confusing total carbs with net carbs. Fiber does not count toward the carb limit for ketosis purposes.
- !Eating too little protein to 'stay in ketosis' — excessive gluconeogenesis from protein is largely a myth. Prioritize adequate protein.
- !Ignoring electrolyte needs during the transition period, leading to preventable 'keto flu' symptoms.
- !Assuming ketosis equals fat loss. You still need a calorie deficit to lose body fat; ketosis alone does not guarantee weight loss.
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
How many carbs to stay in ketosis?
Most people achieve ketosis at under 50 g net carbs per day. For guaranteed ketosis, 20 g net carbs is the widely recommended starting point. Individual tolerance varies — some people maintain ketosis at 50-75 g, especially if very active.
Will too much protein kick me out of ketosis?
Unlikely. Gluconeogenesis (converting protein to glucose) is demand-driven, not supply-driven. Research shows that even protein intakes of 2.0-2.4 g/kg do not prevent ketosis in most people. Prioritize adequate protein over fear of excess.
How long does it take to get into ketosis?
Typically 2-4 days of consuming under 20-50 g net carbs. Liver glycogen must be depleted first (~100 g stored). Exercise accelerates the process by depleting glycogen faster.
Is keto safe long-term?
Short-term (up to 2 years), keto appears safe for most healthy adults. Long-term data is limited. Concerns include potential increases in LDL cholesterol in some individuals, and the difficulty of meeting all micronutrient needs with such restricted food choices. Consult a physician for extended use.