Keto Diet Calculator
Starting a ketogenic diet can be confusing, especially when you need to determine how many calories, carbohydrates, proteins, and fats to consume each day. Eating fewer carbohydrates is only one part of keto meal planning. Understanding your overall calorie requirements and macronutrient distribution can also help you create a more structured dietary approach.
Our free Keto Diet Calculator makes it easier to estimate your daily calorie needs and calculate personalized keto macronutrient targets based on your age, sex, body weight, height, activity level, and weight management goals.
Whether your goal is weight loss, weight maintenance, or weight gain, this online keto calculator provides estimated daily targets for net carbohydrates, protein, and fat.
Unlike basic carbohydrate calculators, our tool estimates your maintenance calories using the Mifflin-St Jeor equation, adjusts your calorie target according to your selected goal, and calculates how many grams of each macronutrient fit within your daily calorie allowance.
You can also customize your carbohydrate limit, protein intake, and calorie adjustments to explore different dietary approaches.
The results provide a useful starting point for planning meals and monitoring your nutritional intake.
However, individual calorie requirements and responses to ketogenic diets vary. The calculator provides estimates rather than a medically prescribed eating plan.
What Is a Keto Diet Calculator?
A Keto Diet Calculator is an online nutrition planning tool that estimates daily calorie and macronutrient targets for people interested in following a ketogenic diet.
A ketogenic diet is generally characterized by low carbohydrate intake, adequate protein, and a relatively high proportion of calories from fat.
The primary purpose of restricting carbohydrates is to encourage the body to produce ketones, which can serve as an alternative energy source.
However, reaching and maintaining nutritional ketosis depends on individual metabolism, dietary composition, physical activity, and other factors.
Our Keto Diet Calculator helps you estimate the following:
- Daily maintenance calories
- Calorie targets for weight loss, maintenance, or gain
- Daily net carbohydrate allowance
- Recommended protein grams based on your selected factor
- Daily fat grams based on remaining calories
- Calories supplied by carbohydrates, protein, and fat
- Percentage of total calories from each macronutrient
These estimates can help you organize your food intake and create a structured keto meal plan.
Important: The calculator does not measure ketone levels or guarantee that its suggested macronutrient targets will produce ketosis.
How to Use the Keto Diet Calculator
Using our free Keto Diet Calculator online is straightforward. Follow these steps to estimate your daily keto calories and macronutrient targets.
Step 1: Enter Your Age
Start by entering your age in years.
The calculator is designed for adults aged 18 to 120.
Age is an important factor because estimated resting energy requirements generally change throughout adulthood.
For example:
Age = 30 years
The calculator uses your age when estimating resting calorie expenditure.
Step 2: Select Your Sex
Choose the sex option used for calorie estimation.
The available options are:
- Male
- Female
The calculator uses sex-specific constants in the Mifflin-St Jeor equation.
These are population-based estimation factors rather than direct measurements of individual metabolism.
Step 3: Enter Your Current Body Weight
Enter your body weight using your preferred measurement unit.
The calculator supports:
Kilograms (kg): For example, 75 kg.
Pounds (lb): For example, 165 lb.
If you enter pounds, the calculator automatically converts your weight into kilograms for its calculations.
Accurate body weight is important because it influences both calorie and protein estimates.
Step 4: Enter Your Height
Enter your height using one of the available measurement options.
You can choose:
Centimeters: Enter your height directly in centimeters.
Feet and Inches: Enter your height in feet and add the remaining inches.
Inches: Enter your complete height in inches.
For example, someone who is 5 feet 8 inches tall can enter:
Feet = 5
Additional inches = 8
The calculator automatically converts the measurement into centimeters.
Step 5: Select Your Activity Level
Choose the activity level that most closely represents your usual daily routine.
| Activity Level | Description | Multiplier |
|---|---|---|
| Sedentary | Little or no exercise | 1.2 |
| Lightly Active | Exercise 1–3 days weekly | 1.375 |
| Moderately Active | Exercise 3–5 days weekly | 1.55 |
| Very Active | Exercise 6–7 days weekly | 1.725 |
| Extra Active | Intense physical activity | 1.9 |
The calculator multiplies your estimated resting calorie expenditure by the selected activity factor.
This produces an estimate of your total daily energy expenditure.
Choose your activity level carefully because overestimating physical activity may produce a calorie target higher than your actual requirements.
Step 6: Choose Your Weight Goal
The calculator provides three weight management options.
Weight Loss: The calculator subtracts 500 calories from your estimated maintenance requirements.
Maintain Weight: The calculator uses your estimated maintenance calories without an automatic goal adjustment.
Weight Gain: The calculator adds 250 calories to your estimated maintenance requirements.
These adjustments are general planning assumptions.
Actual weight changes depend on many factors, and a fixed calorie adjustment does not guarantee a particular rate of weight loss or gain.
Step 7: Select Your Daily Net Carb Limit
Choose your preferred daily net carbohydrate target.
The calculator provides four options:
| Daily Net Carbs | Dietary Approach |
|---|---|
| 20 grams | Strict keto |
| 25 grams | Lower carbohydrate target |
| 30 grams | Standard keto setting |
| 50 grams | Higher-carb approach |
The default selection is 30 grams of net carbohydrates per day.
These are selectable dietary targets rather than individualized medical recommendations.
The amount of carbohydrate compatible with ketosis varies between individuals.
Step 8: Select Your Protein Target
Next, choose your preferred protein intake based on grams per kilogram of body weight.
The available options are:
1.2 g/kg: Lower activity protein target.
1.6 g/kg: Moderate protein target.
2.0 g/kg: Higher protein target for active individuals.
For example, a person weighing 75 kilograms who selects 1.6 grams per kilogram would receive:
Protein = 75 × 1.6
Protein = 120 grams daily
The calculator uses this protein target when determining how many calories remain available for fat.
Step 9: Choose a Daily Calorie Adjustment
You can further customize your estimated daily calorie target.
Available adjustments include:
- No additional adjustment
- Reduce by 250 calories
- Reduce by 500 calories
- Increase by 250 calories
- Increase by 500 calories
This adjustment is applied after the calculator accounts for your selected weight goal.
For example, choosing weight loss and an additional 250-calorie reduction results in a total reduction of 750 calories from estimated maintenance.
Avoid choosing aggressive calorie restrictions without appropriate professional guidance.
Step 10: Click Calculate
After entering your information, click the Calculate button.
The calculator displays your estimated maintenance calories, adjusted daily calorie target, carbohydrate allowance, protein target, fat target, and macronutrient percentages.
If the calculated calorie target falls below 1,200 calories, the tool will ask you to review your settings instead of presenting that target as a valid plan.
You can click Reset to clear your entries and start another calculation.
Keto Diet Calculator Formula
Our Keto Diet Calculator uses established calorie estimation equations and standard macronutrient energy values.
The calculation involves several steps.
1. Calculate Basal Metabolic Rate Using the Mifflin-St Jeor Equation
The calculator uses the Mifflin-St Jeor equation to estimate resting energy expenditure.
This estimate is commonly referred to as BMR in online calculators, although the equation estimates resting metabolic rate rather than directly measuring basal metabolism.
For Males:
BMR = (10 × Weight in kg) + (6.25 × Height in cm) − (5 × Age) + 5
For Females:
BMR = (10 × Weight in kg) + (6.25 × Height in cm) − (5 × Age) − 161
For example, consider a 30-year-old male weighing 80 kg and measuring 180 cm tall.
BMR = (10 × 80) + (6.25 × 180) − (5 × 30) + 5
BMR = 800 + 1,125 − 150 + 5
Estimated BMR = 1,780 calories per day
This represents an estimate of resting energy needs.
2. Calculate Total Daily Energy Expenditure
Total Daily Energy Expenditure (TDEE) estimates how many calories your body uses throughout the day, including physical activity.
TDEE = Estimated BMR × Activity Multiplier
For example:
BMR = 1,780 calories
Activity multiplier = 1.55
TDEE = 1,780 × 1.55
Estimated TDEE = 2,759 calories
This is the estimated maintenance calorie requirement.
3. Calculate Daily Calorie Target
The calculator adjusts maintenance calories according to your weight goal.
Daily Calorie Target = Maintenance Calories + Goal Adjustment + Additional Adjustment
The default goal adjustments are:
Weight loss = −500 calories
Maintenance = 0 calories
Weight gain = +250 calories
For example, someone with maintenance requirements of 2,759 calories who selects weight loss would receive:
Daily calories = 2,759 − 500
Daily Calorie Target = 2,259 calories
4. Calculate Protein Requirements
Protein is calculated using body weight and the selected protein factor.
Daily Protein (g) = Body Weight (kg) × Protein Factor
For example:
Body weight = 80 kg
Protein factor = 1.6 g/kg
Protein = 80 × 1.6
Daily Protein = 128 grams
5. Calculate Carbohydrate Calories
Carbohydrates are estimated to provide four calories per gram.
Carbohydrate Calories = Net Carb Target × 4
For example:
Net carbs = 30 grams
Carb calories = 30 × 4
Carbohydrate Calories = 120 kcal
This is a simplified calculation using the selected net carbohydrate allowance.
6. Calculate Protein Calories
Protein provides approximately four calories per gram.
Protein Calories = Protein Grams × 4
Example:
Protein = 128 grams
Protein calories = 128 × 4
Protein Calories = 512 kcal
7. Calculate Daily Fat Requirements
After calculating carbohydrate and protein calories, the remaining calories are assigned to fat.
Fat Calories = Daily Calorie Target − Carb Calories − Protein Calories
Then:
Fat Grams = Fat Calories ÷ 9
Fat provides approximately nine calories per gram.
For example:
Daily calorie target = 2,259
Carb calories = 120
Protein calories = 512
Fat calories = 2,259 − 120 − 512
Fat calories = 1,627
Fat grams = 1,627 ÷ 9
Daily Fat Target = 180.8 grams
8. Calculate Macronutrient Percentages
The calculator also displays the percentage of calories supplied by each macronutrient.
Macro Percentage = (Macro Calories ÷ Total Daily Calories) × 100
For example:
Carbohydrate percentage = (120 ÷ 2,259) × 100
Carbohydrate Percentage = 5.3%
The same calculation is used for protein and fat.
Because the calculator assigns remaining calories to fat, the three macronutrient percentages total approximately 100%, allowing for rounding.
Keto Diet Calculator Example
Consider a 30-year-old male who wants to lose weight while following a ketogenic diet.
He enters the following details:
| Input | Value |
|---|---|
| Age | 30 years |
| Sex | Male |
| Weight | 80 kg |
| Height | 180 cm |
| Activity Level | Moderately Active |
| Weight Goal | Weight Loss |
| Daily Net Carb Limit | 30 g |
| Protein Target | 1.6 g/kg |
| Additional Adjustment | None |
Step 1: Calculate Resting Calories
BMR = (10 × 80) + (6.25 × 180) − (5 × 30) + 5
BMR = 1,780 kcal
Step 2: Calculate Maintenance Calories
Maintenance = 1,780 × 1.55
Maintenance Calories = 2,759 kcal
Step 3: Calculate Weight Loss Calories
Daily calories = 2,759 − 500
Daily Calorie Target = 2,259 kcal
Step 4: Calculate Carbohydrate Target
Selected carbs = 30 grams
Carbohydrate calories = 30 × 4
Carbohydrate Calories = 120 kcal
Step 5: Calculate Protein Target
Protein = 80 × 1.6
Protein = 128 grams
Protein calories = 128 × 4
Protein Calories = 512 kcal
Step 6: Calculate Fat Target
Remaining calories = 2,259 − 120 − 512
Fat calories = 1,627
Fat grams = 1,627 ÷ 9
Fat = 180.8 grams
Final Keto Calculator Results
| Measurement | Result |
|---|---|
| Estimated Maintenance Calories | 2,759 kcal |
| Daily Calorie Target | 2,259 kcal |
| Net Carbohydrates | 30 g |
| Protein | 128 g |
| Fat | 180.8 g |
| Carbohydrate Calories | 120 kcal |
| Protein Calories | 512 kcal |
| Fat Calories | 1,627 kcal |
| Carbohydrate Percentage | 5.3% |
| Protein Percentage | 22.7% |
| Fat Percentage | 72.0% |
This example demonstrates how the calculator distributes calories across carbohydrates, protein, and fat based on the selected settings.
The calculated targets are estimates and may require adjustment according to individual needs and actual progress.
Understanding Your Keto Macronutrients
Macronutrients are nutrients that provide energy and support essential bodily functions.
The three primary macronutrients are carbohydrates, protein, and fat.
Carbohydrates on Keto
Carbohydrates are normally an important source of energy.
A ketogenic diet substantially reduces carbohydrate intake to encourage ketone production.
Common carbohydrate-containing foods include bread, rice, pasta, potatoes, fruit, legumes, and sugary foods.
However, carbohydrate-containing foods differ considerably in nutritional quality.
A well-planned low-carbohydrate diet should still include appropriate sources of fiber, vitamins, and minerals.
Protein on Keto
Protein supports muscle maintenance, tissue repair, and numerous biological functions.
Common protein sources include eggs, fish, poultry, meat, tofu, and dairy products.
Protein requirements depend on body size, activity, age, and health status.
Our calculator provides three protein factors to help you explore different intake targets.
Fat on Keto
Fat provides energy and supports the absorption of fat-soluble vitamins.
Because ketogenic diets limit carbohydrates, fat often supplies a large proportion of total calories.
Common dietary fat sources include olive oil, avocados, nuts, seeds, and fatty fish.
For cardiovascular health, prioritizing unsaturated fats over excessive saturated fat intake is generally advisable.
What Is a Good Keto Macro Ratio?
A commonly described ketogenic macronutrient distribution is approximately:
| Macronutrient | Percentage of Calories |
|---|---|
| Fat | 70–75% |
| Protein | 20–25% |
| Carbohydrates | 5–10% |
These percentages are examples rather than universal requirements.
Our Keto Diet Calculator does not force everyone into a fixed macro ratio.
Instead, it calculates carbohydrates from your chosen gram limit, protein from your selected body-weight factor, and fat from the calories remaining.
As a result, your final percentages depend on your personal inputs.
This approach allows greater flexibility than calculators that assign the same percentages to every user.
How Many Calories Should You Eat on Keto to Lose Weight?
Weight loss generally requires an energy deficit over time, although actual body weight changes are influenced by several biological and behavioral factors.
A ketogenic diet does not eliminate the importance of overall energy intake.
Our calculator estimates maintenance calories and automatically subtracts 500 calories when you select the weight loss goal.
For example:
Estimated maintenance calories = 2,400 kcal
Weight loss adjustment = −500 kcal
Daily target = 1,900 kcal
This provides a starting estimate rather than a guarantee of weight loss.
Actual calorie requirements can change as body weight, activity level, and other circumstances change.
The calculator also allows additional adjustments of 250 or 500 calories.
However, combining adjustments may produce an unnecessarily aggressive deficit.
Consult a qualified healthcare professional before following a very low-calorie diet.
How Much Protein Do You Need on Keto?
Protein is especially important for maintaining lean body mass.
Our calculator includes three selectable protein targets.
1.2 Grams per Kilogram
This option represents a lower protein target that may suit some adults with lower activity levels.
For a person weighing 70 kg:
Protein = 70 × 1.2
Protein = 84 grams daily
1.6 Grams per Kilogram
This is the calculator's default protein setting.
For a person weighing 70 kg:
Protein = 70 × 1.6
Protein = 112 grams daily
2.0 Grams per Kilogram
This higher protein option may be considered by some physically active individuals.
For a person weighing 70 kg:
Protein = 70 × 2.0
Protein = 140 grams daily
These are general calculation options, not individualized prescriptions.
People with certain medical conditions, including some forms of kidney disease, may need different protein recommendations.
Benefits of Using Our Free Keto Diet Calculator
Our online Keto Diet Calculator offers several useful features for nutritional planning.
Personalized Calorie Estimates
The calculator uses your age, sex, height, weight, and activity level to estimate maintenance calories.
Supports Different Weight Goals
You can calculate targets for weight loss, weight maintenance, or weight gain.
Flexible Carbohydrate Limits
Choose from daily net carbohydrate limits of 20, 25, 30, or 50 grams.
Adjustable Protein Targets
Select protein intake based on 1.2, 1.6, or 2.0 grams per kilogram of body weight.
Automatic Fat Calculation
The calculator determines fat grams from the calories remaining after carbohydrate and protein calories are assigned.
Displays Macro Percentages
You can see how your estimated daily calories are distributed between carbohydrates, protein, and fat.
Supports Metric and US Measurements
Enter your weight in pounds or kilograms and your height in centimeters, feet and inches, or total inches.
Free and Convenient
Our Keto Diet Calculator is free to use and provides instant results based on your selected information.
Common Mistakes to Avoid When Starting Keto
A ketogenic diet can require significant changes to eating habits.
Avoiding common mistakes may help you develop a more balanced approach.
Eating Too Few Calories
Some people reduce both carbohydrates and total calories excessively.
Very low calorie intake can make it difficult to meet nutritional needs.
Ignoring Protein Requirements
Protein supports muscle maintenance and other essential functions.
Your protein target should reflect your body size, activity, and health needs.
Choosing Poor-Quality Fat Sources
A ketogenic diet does not require consuming large amounts of butter, processed meat, or other foods high in saturated fat.
Unsaturated fat sources can support a more balanced dietary pattern.
Forgetting Fiber
Reducing carbohydrates can unintentionally reduce fiber intake.
Low-carbohydrate vegetables, nuts, and seeds can help provide dietary fiber.
Assuming Keto Guarantees Weight Loss
A ketogenic diet may help some people manage their weight, but results vary.
Overall calorie intake, adherence, health conditions, and lifestyle habits remain important.
Expecting Immediate Results
Initial weight changes on a ketogenic diet can partly reflect changes in stored glycogen and water.
These early changes should not be confused with equivalent fat loss.
Is the Keto Diet Safe for Everyone?
A ketogenic diet is not appropriate for every individual.
Some people may benefit from carbohydrate restriction under professional supervision, while others may face additional risks.
People with diabetes should be especially careful because substantial carbohydrate restriction can change blood glucose levels and medication requirements.
Individuals taking insulin or sulfonylureas may be at risk of hypoglycemia if medication is not appropriately adjusted.
People taking SGLT2 inhibitors require particular medical guidance because ketogenic diets may increase the risk of ketoacidosis.
Pregnant or breastfeeding individuals and people with certain kidney, liver, pancreatic, or metabolic conditions should also seek individualized medical advice.
For people with a history of eating disorders, restrictive dietary plans may be inappropriate.
The Keto Diet Calculator provides general nutritional estimates and should not replace professional medical or dietary guidance.
Keto Diet Calculator vs. Keto Macro Calculator
A Keto Diet Calculator and a Keto Macro Calculator often perform similar functions.
Both may estimate calorie requirements and macronutrient targets.
However, some basic keto calculators only calculate carbohydrate limits.
Our tool provides a more complete set of estimated daily targets.
It calculates maintenance calories, adjusts calories according to your weight goal, assigns a selected net carbohydrate allowance, calculates protein from body weight, and determines the remaining fat requirement.
It also displays the calorie contribution and percentage of each macronutrient.
This makes the tool useful for people who want to understand their overall keto calorie distribution rather than tracking carbohydrates alone.
Frequently Asked Questions (FAQs)
1. What is a Keto Diet Calculator?
A Keto Diet Calculator is an online tool that estimates daily calories, carbohydrates, protein, and fat for a ketogenic eating plan.
Our calculator uses your age, sex, body weight, height, activity level, and weight goal to estimate daily calorie requirements.
It then calculates your selected carbohydrate target, protein needs, and remaining fat allowance.
2. How do I calculate my keto macros?
To calculate keto macros, first estimate your daily calorie needs.
Next, select a carbohydrate limit and calculate protein based on body weight.
Finally, assign the remaining calories to fat.
Our free Keto Diet Calculator performs these calculations automatically and displays the results in grams and percentages.
3. How many carbs should I eat per day on keto?
Many ketogenic dietary approaches use approximately 20–50 grams of carbohydrates daily.
However, the amount needed to support ketosis varies between individuals.
Our calculator allows you to select 20, 25, 30, or 50 grams of net carbohydrates per day.
4. How much protein should I eat on keto?
Protein requirements depend on body weight, physical activity, age, and health status.
Our calculator offers targets of 1.2, 1.6, and 2.0 grams of protein per kilogram of body weight.
For example, someone weighing 75 kg who selects 1.6 g/kg receives a target of 120 grams of protein daily.
5. How much fat should I eat on a ketogenic diet?
Your fat target depends on your calorie requirements and selected carbohydrate and protein intake.
Our calculator subtracts carbohydrate and protein calories from your daily calorie target.
It then divides the remaining calories by nine to calculate fat grams.
6. Can I use the Keto Diet Calculator for weight loss?
Yes. Select the Weight Loss option to calculate an estimated calorie target.
The calculator subtracts 500 calories from your estimated maintenance requirements.
You can also explore additional calorie adjustments.
However, actual weight loss varies, and aggressive calorie restriction may not be appropriate.
7. What is the best keto macro ratio for weight loss?
A commonly described ketogenic macro distribution is approximately 70–75% fat, 20–25% protein, and 5–10% carbohydrates.
However, there is no single ideal ratio for everyone.
Our calculator determines your macro percentages based on your selected carbohydrate limit, protein target, and estimated calorie needs.
8. Does the Keto Diet Calculator calculate BMR and TDEE?
Yes. The calculator estimates resting energy expenditure using the Mifflin-St Jeor equation.
It then multiplies that estimate by your selected activity factor to calculate approximate Total Daily Energy Expenditure (TDEE).
This provides an estimate of your maintenance calorie requirements.
9. Can I use pounds and feet in this Keto Diet Calculator?
Yes. Our calculator supports both metric and US measurements.
You can enter weight in kilograms or pounds.
For height, you can choose centimeters, feet and inches, or total inches.
The calculator automatically converts measurements when necessary.
10. Is the Keto Diet Calculator free to use?
Yes. Our Keto Diet Calculator is completely free to use.
You can calculate your estimated maintenance calories, daily calorie target, net carbohydrate allowance, protein requirements, fat intake, and macro percentages without paying a fee.
You can also repeat calculations using different weight goals and dietary settings.
Conclusion
Planning a ketogenic diet involves more than simply reducing carbohydrates. Understanding your daily calorie requirements, protein intake, and fat allowance can help you create a more organized nutritional plan.
Our free Keto Diet Calculator simplifies this process by estimating your maintenance calories and calculating daily macronutrient targets based on your personal information and selected dietary goals.
Whether you want to lose weight, maintain your current weight, or gain weight, the calculator provides estimated calorie and macro targets that you can use as a starting point.
With flexible net carbohydrate limits, adjustable protein targets, multiple activity levels, and optional calorie adjustments, the tool allows you to explore different ketogenic dietary approaches.
Remember that the results are estimates. Your actual energy requirements, nutritional needs, and response to carbohydrate restriction may differ.
For sustainable weight management, focus on balanced nutrition, adequate protein, appropriate calorie intake, and healthy lifestyle habits.
Use our free Keto Diet Calculator above to calculate your daily keto calories, net carbs, protein, fat, and macronutrient percentages in seconds.
For personalized dietary recommendations, especially if you have a medical condition or take medication, consult a qualified healthcare professional.