Keto Macro Calculator: Get Your Ketogenic Diet Ratios Right
The ketogenic diet shifts your body from burning carbohydrates to burning fat by drastically reducing carb intake. This calculator computes your ideal fat, protein, and carb targets to achieve and sustain nutritional ketosis.
The Standard Ketogenic Macro Ratio
A standard ketogenic diet allocates 70-75% of total calories to fat, 20-25% to protein, and 5-10% to carbohydrates. For a person eating 2,000 calories per day, this translates to approximately 155-167 grams of fat, 100-125 grams of protein, and 25-50 grams of carbohydrates. The critical threshold for most people to enter ketosis is keeping net carbohydrates below 20-50 grams per day. Net carbs are calculated by subtracting fiber and certain sugar alcohols from total carbohydrates, since these are not metabolized as glucose. Individual carb tolerance varies — some people can stay in ketosis at 50 grams of net carbs, while others need to stay below 20 grams. Starting at 20 grams and gradually increasing while testing ketone levels is the most reliable approach to finding your personal threshold.
- Fat: 70-75% of total calories (9 calories per gram)
- Protein: 20-25% of total calories (4 calories per gram)
- Carbohydrates: 5-10% of total calories, ideally under 20-50g net carbs
- Net carbs = total carbs minus fiber minus certain sugar alcohols
Setting Protein Correctly on Keto
Protein is the most misunderstood macro on a ketogenic diet. Many keto resources warn against eating too much protein, claiming it will "kick you out of ketosis" through gluconeogenesis — the process by which the body converts amino acids into glucose. While gluconeogenesis is real, it is a demand-driven process (the body makes glucose when it needs it), not a supply-driven one (eating more protein does not force the body to make more glucose). Research consistently shows that protein intakes of 0.7-1.0 grams per pound of lean body mass do not impair ketosis in most people. Undereating protein on keto is a far more common and serious mistake than overeating it — inadequate protein leads to muscle loss, lower metabolic rate, weaker immune function, and poor recovery from exercise.
Choosing the Right Fats
Since fat comprises the majority of calories on a ketogenic diet, the quality of fat you consume matters significantly. Prioritize monounsaturated fats (olive oil, avocados, macadamia nuts) and omega-3 rich sources (fatty fish, fish oil, walnuts). Saturated fat from whole food sources like eggs, butter, and coconut oil is acceptable in moderation but should not dominate your fat intake. Minimize industrial seed oils (soybean, canola, corn, sunflower) and trans fats, which are inflammatory regardless of the dietary context. Medium-chain triglycerides (MCT oil, found concentrated in coconut oil) are uniquely useful on keto because they are absorbed directly into the portal vein and converted to ketones in the liver, providing rapid energy without requiring full digestion.
- Best: olive oil, avocados, fatty fish, nuts, eggs
- Good: butter, coconut oil, MCT oil, dark chocolate (85%+)
- Limit: industrial seed oils (soybean, canola, corn)
- Avoid: trans fats, hydrogenated oils, deep-fried foods
The Keto Adaptation Period
When you first reduce carbohydrates to ketogenic levels, your body undergoes a transition period commonly called the "keto flu." Symptoms include fatigue, headache, brain fog, irritability, nausea, and muscle cramps. These symptoms result from glycogen depletion, electrolyte loss (the kidneys excrete more sodium on low carb), and the body not yet being efficient at producing and utilizing ketones. The adaptation period typically lasts 3-7 days for most people, though full fat-adaptation — where performance and energy normalize — can take 2-6 weeks. During this phase, increase sodium intake to 5-7 grams per day, supplement magnesium (400 mg), and ensure adequate potassium (3,500-4,700 mg from food and supplements). Staying well-hydrated is critical, as the loss of glycogen releases significant water.
Who Benefits Most from Keto?
The ketogenic diet is most effective for people with insulin resistance, type 2 diabetes (under medical supervision), epilepsy (its original medical application), and those who find that carbohydrate restriction naturally controls their appetite. Some people experience remarkable satiety on keto because stable blood sugar and elevated ketone levels suppress hunger hormones. For highly active individuals, athletes performing glycolytic exercise (sprinting, CrossFit, high-rep lifting), or people who simply enjoy carbohydrate-rich foods, a standard balanced diet or carb cycling approach may be more sustainable and equally effective for body composition. Keto is a tool, not a universal requirement — the best diet is the one that creates the right calorie balance while being sustainable for you long-term.
Frequently Asked Questions
The most reliable method is testing blood ketone levels with a finger-prick meter. Nutritional ketosis is typically defined as blood beta-hydroxybutyrate (BHB) levels between 0.5 and 3.0 mmol/L. Urine ketone strips are cheaper but less accurate — they measure acetoacetate, which decreases as your body becomes more efficient at using ketones, so they may show low readings even when you are well-adapted. Breath ketone meters measure acetone and provide a reasonable middle ground in terms of cost and accuracy. Subjective signs of ketosis include reduced appetite, increased mental clarity (after adaptation), a slightly metallic or fruity taste in the mouth, and increased thirst.
Yes, but it may be slightly less efficient than on a carbohydrate-inclusive diet. Carbohydrates stimulate insulin release, which is anabolic and supports glycogen replenishment for intense training. Studies comparing keto and non-keto diets for muscle building show similar results when protein and total calories are equated, though some research suggests a small advantage for higher-carb diets in strength and hypertrophy outcomes. If building muscle is your primary goal and you perform high-intensity resistance training, a targeted ketogenic diet (consuming 15-30 grams of fast-acting carbs 30 minutes before training) can support workout performance while maintaining ketosis the rest of the day.
Total carbohydrates include all carbs in a food: sugars, starches, and fiber. Net carbs subtract fiber and certain sugar alcohols (like erythritol) because these are not digested and absorbed as glucose, meaning they have minimal impact on blood sugar and insulin. On a ketogenic diet, net carbs are the relevant number for maintaining ketosis. For example, an avocado has about 12 grams of total carbs but only 3 grams of net carbs because 9 grams are fiber. Be cautious with sugar alcohols — while erythritol has essentially zero glycemic impact, others like maltitol can raise blood sugar almost as much as regular sugar.
For most people, no. The fear of protein-induced gluconeogenesis disrupting ketosis is significantly overblown. Gluconeogenesis is a demand-driven process — the body produces glucose when it needs it for essential functions (red blood cells, certain brain processes) regardless of protein intake. Studies have shown that doubling protein intake from 1 g/kg to 2 g/kg does not significantly impact ketone levels in keto-adapted individuals. Prioritize hitting your protein target (0.7-1.0 g per pound of lean body mass) and do not restrict it out of fear of losing ketosis.
There is no universally recommended duration. Some people thrive on keto long-term (years) and use it as their permanent way of eating. Others use it as a 3-6 month tool for fat loss or metabolic health improvement before transitioning to a moderate-carb diet. If you are using keto for weight loss, stay on it as long as you are making progress and it is sustainable for you. When transitioning off, gradually reintroduce carbohydrates (adding 10-15 grams of net carbs per week) to avoid rapid water weight gain and GI discomfort. This reverse approach also helps you identify your personal carb tolerance for weight maintenance.
Explore More
Related tools, medications, and guides