Keto Calculator
Input Parameters
Computed Results
The keto calculator estimates your daily macronutrient targets—net carbs, protein, and fat—alongside your total calorie goal. By factoring in your body composition, activity level, and desired calorie deficit or surplus, it helps you determine the specific gram amounts needed to align with a ketogenic dietary approach.
Disclaimer: This calculator is for informational purposes only and does not provide medical or nutritional advice.
Verified Scenario Walkthroughs
The following scenarios demonstrate how the calculator adjusts macronutrient targets based on different physical profiles, activity levels, and goals.
Aggressive Weight Loss for Active Male
A 25-year-old male (6 feet 0 inches, 200 lbs, 15% body fat) with a very active lifestyle wants an aggressive 40% calorie deficit. He sets a 25g net carb limit and a high protein ratio of 1.2g per pound of lean mass. The calculator determines a daily target of 2,104 calories, consisting of 25g carbs, 204g protein, and 132g fat. His estimated maintenance calories (TDEE) are 3,511, and his lean body mass is 170 lbs.
Moderate Maintenance for Active Female
A 45-year-old female (5 feet 4 inches, 140 lbs, 28% body fat) with moderate activity aims for a slight 10% calorie surplus. She sets a 30g net carb limit and a 0.9g protein ratio. The calculator estimates a daily target of 2,311 calories, broken down into 30g carbs, 91g protein, and 203g fat. Her maintenance calories are 2,104, with a lean body mass of 100.8 lbs.
Sedentary Weight Loss for Higher Body Fat
A 55-year-old male (5 feet 10 inches, 280 lbs, 40% body fat) with a sedentary lifestyle targets a 30% calorie deficit. He uses a standard 20g net carb limit and a 0.7g protein ratio. The results show a daily target of 1,695 calories, comprising 20g carbs, 118g protein, and 127g fat. His maintenance calories are 2,419, and his lean body mass is 168 lbs.
Lean Athlete with Strict Carb Limit
A 22-year-old female (5 feet 7 inches, 125 lbs, 18% body fat) with light activity wants a mild 10% calorie deficit. She sets a strict 15g net carb limit and a 1.0g protein ratio. The calculator provides a daily target of 1,705 calories, consisting of 15g carbs, 103g protein, and 137g fat. Her maintenance calories are 1,890, with a lean body mass of 102.5 lbs.
Formula & Calculation Method
The calculator uses a multi-step process to determine your daily calorie and macronutrient needs, prioritizing lean body mass to estimate metabolic rate.
1. Lean Body Mass (LBM)
First, the calculator determines your lean mass by subtracting your body fat from your total weight.
2. Basal Metabolic Rate (BMR) & Total Daily Energy Expenditure (TDEE)
Using your lean mass in kilograms, the calculator applies the Katch-McArdle formula to find your BMR, which is then multiplied by an activity factor to find your TDEE.
The activity multipliers are: Sedentary (1.2), Light (1.375), Moderate (1.55), and Very Active (1.725).
3. Target Calories & Macronutrients
Your target calories are calculated by applying your chosen deficit or surplus percentage to your TDEE. The macronutrients are then calculated in a specific order: carbs are fixed, protein is based on lean mass, and fat fills the remaining calories.
How to Use the Calculator
Follow these steps to estimate your daily keto macros:
- Enter Physical Stats: Input your gender, age, height, weight, and estimated body fat percentage.
- Select Activity Level: Choose the option that best represents your average daily movement and exercise.
- Set Calorie Goal: Enter a negative percentage (e.g., -20%) for weight loss, or a positive percentage for weight gain. Enter 0 for maintenance.
- Define Macro Constraints: Set your daily net carbohydrate limit (typically 20-25g) and your desired protein ratio based on your lean mass.
- Review Results: The calculator will display your target daily calories and the specific gram amounts for carbs, protein, and fat.
Inputs & Outputs Table
| Field | Type | Description |
|---|---|---|
| Gender & Age | Input | Used as a fallback for metabolic calculations if lean mass cannot be determined. |
| Height & Weight | Input | Physical dimensions used to calculate body composition and energy expenditure. |
| Body Fat % | Input | Estimated percentage of total body weight that is fat tissue. |
| Daily Activity Level | Input | Multiplier applied to your basal metabolic rate to estimate total daily energy expenditure. |
| Calorie Deficit / Surplus (%) | Input | The percentage by which you want to decrease (negative) or increase (positive) your maintenance calories. |
| Net Carbohydrates Limit (g) | Input | Your fixed daily allowance for net carbs. |
| Protein Ratio | Input | Grams of protein to consume per pound of lean body mass. |
| Target Daily Calories | Output | The total estimated calories to consume daily to meet your specified goal. |
| Net Carbs, Protein, Fat (g) | Output | The specific macronutrient breakdown in grams to reach your target calories. |
| Maintenance Calories (TDEE) | Output | The estimated number of calories your body burns in a day. |
| Lean Body Mass (lbs) | Output | Your total body weight minus your estimated fat mass. |
Practical Use Cases
This calculator is commonly used to establish baseline nutritional targets when starting a ketogenic diet. By inputting specific body fat percentages, users can ensure their protein intake is scaled to their lean tissue rather than their total body weight, which is particularly useful for individuals with higher body fat percentages. Additionally, the tool allows users to adjust their calorie deficit over time; as weight decreases, maintenance calories drop, requiring periodic recalculation of macros to continue progressing toward a specific goal.
Frequently Asked Questions
How does the calculator determine my fat intake?
Fat is used to fill the remaining calorie allowance after your fixed carbohydrate limit and calculated protein needs are met. Since fat provides 9 calories per gram, the remaining calories are divided by 9 to determine your daily fat target in grams.
Why does the calculator ask for body fat percentage?
Body fat percentage is used to calculate your lean body mass. This allows the calculator to use the Katch-McArdle formula for Basal Metabolic Rate (BMR), which accounts for muscle mass, and to accurately set your daily protein target based on lean tissue rather than total body weight.
What is the difference between a calorie deficit and surplus?
A calorie deficit (entered as a negative percentage) means you are consuming fewer calories than your body burns, which is required for weight loss. A surplus (positive percentage) means consuming more calories than you burn, typically used for weight gain or muscle building.