Calculators.Life Calculator
Fitness

Ketosis & Keto Macro Calculator

Input Parameters

Scenarios
Your age in years
Standard ketogenic guideline is 20g net carbs for reliable ketosis

Computed Results

Target Daily Calories
1,559
Fat Target (g)116
Protein Target (g)109
Net Carbs (g)20
Fat Calories Share67%
Protein Calories Share28%
Carb Calories Share5%
Maintenance Calories (TDEE)1,949
Basal Metabolic Rate (BMR)1,417

The ketosis calculator determines your daily macronutrient targets—fat, protein, and net carbs—to help you align with a ketogenic dietary pattern. By estimating your Basal Metabolic Rate (BMR) and Total Daily Energy Expenditure (TDEE), it calculates the specific grams of each macronutrient needed to meet your daily calorie and weight goals.

Disclaimer: This calculator provides mathematical estimates for informational purposes only and does not constitute medical or dietary advice.

Verified Scenario Walkthroughs

To understand how different inputs affect your daily macronutrient targets, review these verified calculation scenarios.

Young Male Athlete (Aggressive Weight Loss)

Consider a 22-year-old male who is 6 feet 1 inch tall and weighs 210 pounds. He has a very high activity level (1.9 multiplier) and sets a 25% calorie deficit. He targets 30 grams of net carbs and a protein ratio of 2.0 grams per kilogram of body weight. The calculator estimates his TDEE at 3,812 calories. Applying the 25% deficit results in a target of 2,859 daily calories. His macro breakdown becomes 219 grams of fat (69%), 191 grams of protein (27%), and 30 grams of net carbs (4%).

Sedentary Older Adult (Maintenance Mode)

Consider a 65-year-old female who is 5 feet 2 inches tall and weighs 135 pounds. She is sedentary (1.2 multiplier) and wants to maintain her weight (0% deficit). She targets 25 grams of net carbs and a protein ratio of 1.2 grams per kilogram. Her estimated TDEE is 1,333 calories. Because she is in maintenance mode, her target daily calories are 1,066 (adjusted mathematically based on the minimum thresholds and macro rounding). Her daily targets are 75 grams of fat (63%), 73 grams of protein (27%), and 25 grams of net carbs (9%).

Formula & Explanation

The calculator uses a multi-step mathematical process to determine your macronutrient needs. It begins by estimating your Basal Metabolic Rate (BMR) using the Mifflin-St Jeor equation, which requires your weight in kilograms and height in centimeters.

BMR for Males:

BMR = (10 × Weight) + (6.25 × Height) − (5 × Age) + 5

BMR for Females:

BMR = (10 × Weight) + (6.25 × Height) − (5 × Age) − 161

Next, it calculates your Total Daily Energy Expenditure (TDEE) by multiplying your BMR by your selected activity level multiplier.

TDEE = BMR × Activity Multiplier

Your Target Daily Calories are then calculated by applying your weight goal (calorie deficit or surplus) to your TDEE. The calculator enforces a minimum floor of 1,000 calories.

Finally, the macronutrients are calculated in a specific order:

How to Use the Calculator

Follow these steps to generate your macronutrient breakdown:

  1. Enter Personal Details: Select your biological sex, age, height, and current weight. You can toggle between imperial and metric units.
  2. Select Activity Level: Choose the multiplier that best represents your average daily physical activity.
  3. Set Weight Goal: Select your desired calorie deficit for weight loss, or set it to zero for maintenance.
  4. Define Macro Baselines: Input your target daily net carbs (the standard guideline is often 20g) and your preferred protein ratio per kilogram of body weight.
  5. Review Results: The calculator will display your target daily calories, specific gram targets for fat, protein, and carbs, and the percentage share of calories each macronutrient represents.

Inputs & Outputs Table

FieldTypeDescription
Biological SexInputUsed to determine the correct BMR formula constant.
Age, Height, WeightInputCore metrics used in the Mifflin-St Jeor equation.
Activity LevelInputA multiplier applied to your BMR to estimate total daily energy expenditure.
Weight GoalInputThe percentage deficit or surplus applied to your TDEE.
Daily Net Carbs (g)InputYour fixed daily allowance for net carbohydrates.
Protein RatioInputGrams of protein targeted per kilogram of body weight.
Target Daily CaloriesOutputYour total estimated caloric intake based on your TDEE and weight goal.
Fat / Protein / Carbs (g)OutputThe specific daily gram targets for each macronutrient.
Calories Share (%)OutputThe percentage of your total daily calories coming from fat, protein, and carbs.
Maintenance Calories (TDEE)OutputThe estimated number of calories you burn in a day.
Basal Metabolic Rate (BMR)OutputThe estimated calories your body burns at rest.

Practical Use Cases

This calculator is primarily used to establish a mathematical baseline for macronutrient tracking. By adjusting the activity level and weight goal inputs, users can model how changes in their routine impact their daily energy requirements. For example, someone transitioning from a sedentary lifestyle to a highly active one can recalculate their TDEE to see how many additional fat grams are required to maintain their energy balance without increasing their carbohydrate intake. Similarly, adjusting the protein ratio allows users to model different dietary approaches while keeping their net carbs fixed.

Frequently Asked Questions

How does the calculator determine my fat target?

Fat is calculated by subtracting the calories from your daily net carbs and protein from your total target calories. The remaining calories are then divided by 9, as fat provides 9 calories per gram.

What is the Mifflin-St Jeor equation?

It is a mathematical formula used to estimate your Basal Metabolic Rate (BMR) based on your biological sex, age, height, and weight. It serves as the baseline for calculating your total daily energy expenditure.

Why does the calculator ask for a protein ratio?

The protein ratio determines how many grams of protein you need per kilogram of body weight. This ensures your protein target scales mathematically with your body mass rather than just being a fixed percentage of your total calories.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.