Keto Calculator
Calculate your personalized keto macros for fat, protein, and net carbs with meal examples, electrolyte targets, and training day adjustments
What is the Ketogenic Diet?
How Keto Macros Work
Frequently Asked Questions
What are net carbs and how do I calculate them?
Net carbs are the total carbohydrates minus fiber and certain sugar alcohols — these are the carbs that actually impact your blood sugar and can kick you out of ketosis. To calculate: Total Carbs - Fiber - Sugar Alcohols (like erythritol) = Net Carbs. For example, if a food has 15g total carbs, 8g fiber, and 3g erythritol, the net carbs are 15 - 8 - 3 = 4g. Most nutrition labels in the US already include fiber in the total carb count, so you subtract it. However, in Europe, Australia, and other regions, fiber is listed separately and you don't need to subtract it.
How much protein should I eat on keto?
Protein intake on keto should be moderate, not excessive. The general recommendation is 0.8-1.0 grams per pound of lean body mass (not total body weight). If you don't know your body fat percentage, aim for 20-25% of your total calories from protein. Eating too little protein risks muscle loss, but eating too much protein can theoretically convert to glucose through gluconeogenesis and interfere with ketosis — though this is less of a concern than many believe. Active individuals and those lifting weights should aim for the higher end (1.0g per lb of LBM) to support muscle recovery and growth.
Will I lose muscle on keto?
No, you will not lose muscle on keto if you eat adequate protein and engage in resistance training. In fact, research shows that keto diets preserve lean muscle mass as well as or better than higher-carb diets when protein intake is sufficient. The key is eating 0.8-1.0g protein per pound of lean body mass and continuing strength training. Your body becomes highly efficient at using fat for fuel while sparing protein for muscle maintenance. Some people even gain muscle on keto, especially if combining it with a slight caloric surplus and progressive overload training.
How long does it take to enter ketosis?
Most people enter ketosis within 2-4 days of restricting carbs below 20-50g daily. However, becoming fully fat-adapted — where your body efficiently produces and uses ketones as its primary fuel — typically takes 2-6 weeks. During the initial transition you may experience keto flu symptoms like fatigue and headaches, which can be mitigated by staying hydrated and supplementing electrolytes (especially sodium, potassium, and magnesium). You can measure ketosis using urine strips (least accurate), breath meters (moderate accuracy), or blood ketone meters (most accurate). Blood ketone levels of 0.5-3.0 mmol/L indicate nutritional ketosis.
Should I enter my body fat percentage?
Body fat percentage is optional but improves accuracy significantly. When provided, the calculator determines your lean body mass and uses it for more precise protein targets — instead of estimating from total calories. You can estimate body fat visually using online comparison charts, measure with calipers (available on Amazon for under $10), use a bioelectrical impedance scale (moderate accuracy), or get a DEXA scan for the most accurate reading (typically $50-150). If you don't know your body fat, the calculator will still provide good results using percentage-based calculations.
What caloric deficit should I choose for weight loss?
A 10-20% deficit is moderate and sustainable for most people, allowing steady weight loss of 0.5-1 lb per week while preserving energy and muscle. A 20-30% deficit produces faster results (1-2 lbs per week) but can be harder to maintain and may increase muscle loss risk if protein intake is inadequate. Deficits above 30% are not recommended as they can negatively impact metabolism, hormone levels, energy, and workout performance. Start with 20% and adjust based on your progress and how you feel after 2-4 weeks. If you're losing weight too quickly or feeling very fatigued, reduce the deficit. If progress stalls, increase it slightly.
Why do I need separate macros for training and rest days?
Your body's nutritional needs differ on days you train versus days you rest. On training days, you burn more calories and may benefit from slightly higher protein intake (10-15% more) to support muscle recovery and growth, while fat can be reduced proportionally. On rest days, your calorie needs are lower, so you can reduce both protein and fat while keeping carbs at your keto threshold. This approach, popularized by the Ketogains community, helps optimize body composition by feeding your muscles on training days while maintaining a larger deficit on rest days for faster fat loss. If you don't strength train or prefer simplicity, you can use the standard daily macros for every day.
Is the keto diet safe for everyone?
Keto is generally considered safe for healthy adults, but it may not be appropriate for everyone. People with type 1 diabetes, kidney disease, liver conditions, gallbladder issues, or those who are pregnant or breastfeeding should consult a healthcare provider before starting. If you take medications for diabetes or blood pressure, dosages may need adjustment as your metabolic markers improve — keto can significantly lower blood sugar and blood pressure. Children, adolescents, and elderly individuals should also consult a doctor first. Always start any new diet under medical supervision if you have pre-existing health conditions.