Start your Keto diet journey with our Keto diet calculator.
Just by giving us the information about your activity, age, height, and weight, we can help you figure out how many calories you should be consuming in each macronutrient – fat, protein, and carbs – every day. With this tool, tracking your macros for a ketogenic diet will become easier than ever!
Typing “how many carbs can I eat on keto” into Google and getting five different answers is one of the most common frustrations for anyone starting a ketogenic diet. Everybody’s calorie and macro needs are different, which is exactly the problem a keto diet calculator is built to solve.
Rather than guessing at a generic “20 grams of carbs a day” rule you saw on social media, a keto calculator uses your actual age, sex, height, weight, and activity level to generate a personalized daily calorie target — then breaks that number down into specific gram amounts of carbohydrate, protein, and fat designed to support ketosis.
This guide walks through exactly how a keto diet calculator works, how to use it step by step, what the underlying science actually supports, and who should — and shouldn’t — use calculated keto macros without medical guidance.
A keto diet calculator is an online tool that converts your personal stats into a daily calorie and macronutrient target tailored to a ketogenic eating pattern. It’s essentially a specialized version of a TDEE (Total Daily Energy Expenditure) calculator, with the output re-expressed as keto-specific percentages of carbohydrate, protein, and fat instead of a standard balanced diet.
The ketogenic, or “keto,” diet itself is a very low-carbohydrate, high-fat eating pattern. It substantially restricts carbohydrate intake and replaces those calories with fat, with carbohydrates typically making up only about 5–10% of total calories. This forces the body to shift from burning glucose (sugar from carbs) for fuel to burning fat-derived molecules called ketones — a metabolic state called ketosis.
The keto diet isn’t new. It was developed nearly 100 years ago as a medical treatment for drug-resistant epilepsy in children, and it’s still used clinically for that purpose today. Its popularity for weight loss took off decades later, building on the same low-carbohydrate principles popularized by the Atkins diet.
| Element | Typical Value |
|---|---|
| Carbohydrate target | 5–10% of total calories (often 20–50 g/day) |
| Protein target | 15–20% of total calories (some versions up to 30–35%) |
| Fat target | 70–80% of total calories |
| Calories per gram (fat) | 9 kcal |
| Calories per gram (carb or protein) | 4 kcal |
| Typical time to enter ketosis | A few days to about a week |
A good keto calculator does three calculations behind the scenes. Understanding them helps you trust — and tweak — the numbers it gives you.
Your calorie needs are based on your Total Daily Energy Expenditure (TDEE), calculated as:
TDEE = BMR × Activity Factor
Your Basal Metabolic Rate (BMR) is the number of calories your body burns at complete rest just to keep your heart beating, lungs breathing, and organs functioning. Calculators estimate BMR using validated equations that factor in your age, sex, height, and weight. The most common formulas you’ll see in an “advanced options” menu include:
| BMR Formula | Best For |
|---|---|
| Mifflin-St Jeor | The most widely recommended, evidence-based default for most adults |
| Katch-McArdle | More accurate if you know your body fat percentage, since it uses lean body mass |
| Revised Harris-Benedict | An updated version of one of the oldest BMR equations |
| Harris-Benedict (original) | An older formula, less precise than Mifflin-St Jeor by modern standards |
| Schofield | Sometimes used internationally and in clinical/research settings |
Once BMR is estimated, it’s multiplied by an activity factor that accounts for how much you move during the day — from “little to no exercise” up through “heavy physical exercise 6–7 times per week.” The more active you are, the higher your activity multiplier and the more total calories (and therefore macros) you’re allotted.
After your daily calorie target is set, the calculator applies a macronutrient split. Most keto calculators offer several preset ratios plus a custom option:
| Macro Split Preset | Carbs | Protein | Fat |
|---|---|---|---|
| Standard keto | 5% | 25% | 70% |
| Higher-fat keto | 5% | 20% | 75% |
| Higher-carb keto | 10% | 15% | 75% |
| Higher-protein keto | 5% | 30% | 65% |
| Custom | You choose | You choose | You choose |
Finally, the calculator divides the calories assigned to each macronutrient by its calorie density to give you grams per day:
| Macronutrient | Calories per Gram |
|---|---|
| Fat | 9 kcal |
| Carbohydrate | 4 kcal |
| Protein | 4 kcal |
Here’s how the math plays out for a moderately active, 35-year-old woman who is 5 feet 5 inches tall and weighs 140 pounds, using the Mifflin-St Jeor formula and the standard 5/25/70 keto split:
If that same woman wanted to lose about 1 pound per week, she’d reduce her intake by roughly 500 calories/day (to about 1,563 calories), which recalculates to roughly 20 g carbs, 98 g protein, and 122 g fat per day.
This is exactly why a calculator is more useful than a one-size-fits-all carb limit — the right number of grams depends heavily on your size, sex, activity, and goals.
Using the keto calculator on this page takes just a few minutes:
From there, you can plug your gram targets into a food tracking app and start building meals around them, adjusting every few weeks based on real-world results on the scale and how you feel.
It’s important to separate what’s well-supported from what’s still emerging when it comes to the keto diet your calculator is helping you plan for.
A calculator can tell you what to eat, but it can’t manage the real-world tradeoffs of a very low-carb diet on its own.
Short-term side effects (“keto flu”): In the first week or so of cutting carbs drastically, many people experience headache, brain fog, fatigue, irritability, nausea, trouble sleeping, and constipation. These symptoms are generally temporary as the body adapts and tend to improve with adequate hydration, electrolytes, and sleep.
Cholesterol and cardiovascular concerns: Because keto is high in fat — including, often, a substantial amount of saturated fat — it can raise LDL cholesterol in some people, which may increase cardiovascular risk over time, especially if fat sources aren’t carefully chosen.
Nutrient gaps: Cutting out whole grains, many fruits, legumes, and some vegetables can make it harder to get adequate fiber, certain vitamins, and minerals unless the diet is planned carefully around nutrient-dense, low-carb foods.
Kidney stones and gallstones: Some research has linked very low-carb, high-protein/high-fat diets with an increased risk of kidney stones, and the diet is generally discouraged in people with a history of gout or gallstones.
Medication interactions: People taking SGLT-2 inhibitors (common diabetes/heart failure medications) or blood thinners like warfarin should be especially cautious, since keto-related changes in vitamin K intake or ketone levels can interact with these drugs.
Calculator accuracy is an estimate, not a guarantee: BMR/TDEE formulas are statistically derived averages; individual metabolism can vary by several hundred calories in either direction. Calculators also can’t measure your actual carb tolerance, hormone status, gut health, or medication use — all of which affect real-world results.
A calculated ketogenic approach may be worth considering, ideally with medical or dietitian support, for:
Cleveland Clinic dietitians and other experts identify several groups for whom keto is not recommended without close medical supervision, including people who:
If any of these apply to you, talk with a physician or registered dietitian before using a calculator’s keto macro recommendations — and never adjust diabetes medications based on a calculator alone.
For context, it helps to know how keto macro ranges compare to general nutrition guidance. The U.S. Dietary Reference Intakes set an Acceptable Macronutrient Distribution Range (AMDR) for the general healthy adult population at:
| Macronutrient | General AMDR (Healthy Adults) | Typical Keto Range |
|---|---|---|
| Carbohydrate | 45–65% of calories | 5–10% of calories |
| Protein | 10–35% of calories | 15–20% (up to ~35% in some versions) |
| Fat | 20–35% of calories | 70–80% of calories |
This table shows just how far outside typical nutrition guidance the ketogenic diet sits — which is exactly why a personalized calculator (rather than a generic carb count from social media) matters, and why ongoing medical guidance is reasonable for many people attempting it.
On net carbs: Many keto calculators and food labels reference “net carbs,” calculated as:
Net Carbs = Total Carbohydrates − Fiber − (½ × Sugar Alcohols)
This matters because fiber isn’t digested and absorbed the way other carbohydrates are, and sugar alcohols are only partially metabolized — so many people on keto track net carbs rather than total carbs to stay within their calculated limit while still eating fiber-rich vegetables.
Once your calculator gives you gram targets, these everyday foods make it easier to hit them:
| Food | Serving Size | Net Carbs (g) | Protein (g) | Fat (g) |
|---|---|---|---|---|
| Salmon | 3 oz, cooked | 0 | 22 | 7 |
| Eggs | 1 large | <1 | 6 | 5 |
| Avocado | ½ medium | 2 | 1 | 11 |
| Extra-virgin olive oil | 1 tbsp | 0 | 0 | 14 |
| Almonds | 1 oz (~23 nuts) | 2 | 6 | 14 |
| Spinach (raw) | 1 cup | <1 | 1 | 0 |
| Broccoli (cooked) | 1 cup | 4 | 4 | 0.5 |
| Cheddar cheese | 1 oz | <1 | 7 | 9 |
| Chicken thigh (skin-on) | 3 oz, cooked | 0 | 21 | 13 |
| Plain Greek yogurt (full-fat) | ¾ cup | 5 | 13 | 8 |
| Raspberries | ½ cup | 4 | 1 | 0 |
| Chia seeds | 1 tbsp | 1 | 2 | 4 |
Choosing mostly unsaturated fats (olive oil, avocado, nuts, fatty fish) over heavily saturated sources (butter, fatty red meat, coconut oil) is one practical way to apply your calculated fat target while addressing the cholesterol concerns raised in the research above.
It’s an evidence-based estimate, not an exact measurement. BMR and TDEE formulas like Mifflin-St Jeor are well-validated on average but can be off by a few hundred calories for any individual. Treat your result as a starting point and adjust every 2–3 weeks based on real progress.
A standard macro or TDEE calculator typically uses balanced ratios (close to the general AMDR), while a keto calculator forces the same calorie target into a much higher fat, much lower carb percentage split designed to support ketosis.
Mifflin-St Jeor is the most commonly recommended default for the general population. If you know your body fat percentage accurately (from a DEXA scan or reliable body composition test), Katch-McArdle can be more precise because it accounts for lean body mass.
Most keto dieters track net carbs (total carbs minus fiber and half of sugar alcohols), since fiber doesn’t raise blood sugar the way digestible carbs do. Check which one your specific calculator and food tracking app use, since mixing the two can throw off your numbers.
It varies by person, but most people need to stay under roughly 20–50 grams of net carbs per day to maintain ketosis, which is why a calculator’s personalized gram target is more useful than a single universal rule.
Yes. As you lose weight, gain muscle, or change your activity level, your BMR and TDEE shift too. Recalculating every 10–15 pounds lost, or every few months, keeps your targets accurate.
Current evidence on long-term safety is limited and mixed. Some reviews flag potential cardiovascular concerns from sustained high saturated fat and elevated LDL cholesterol, which is why many clinicians suggest using keto as a structured short-to-medium-term tool rather than a permanent diet, then transitioning to a more balanced, Mediterranean-style pattern.
This is common and usually means your actual activity level or portion sizes don’t match what you entered, your TDEE estimate needs adjusting, or water retention/stress/sleep are masking fat loss. Tracking food intake for a week and reassessing is the most reliable fix.
Yes, but results are individual — research on low-carb diets and athletic performance is mixed, with some studies showing improved fat-burning and body composition and others showing reduced training capacity. Athletes should consider a higher-protein keto split and monitor performance closely.
Not exactly. All keto diets are low-carb, but not all low-carb diets are ketogenic. True keto restricts carbs enough (usually under 10% of calories) to induce ketosis; many general “low-carb” diets allow more carbohydrate and don’t necessarily produce measurable ketosis.
Registered dietitians consistently emphasize the same practical points: a calculator gives you a scientifically grounded number, but the food choices you make to hit that number matter just as much as the number itself. Choosing nutrient-dense, minimally processed fats and proteins — fatty fish, eggs, olive oil, nuts, and non-starchy vegetables — rather than relying heavily on processed meats and saturated fats, helps address some of the cholesterol and nutrient-density concerns raised in recent research.
Physicians who work with the ketogenic diet clinically also stress individualization: people with diabetes, kidney conditions, or cardiovascular disease should never start a calculated keto plan without medical oversight, since the diet can require medication adjustments and carries real, documented contraindications for specific health conditions.
A keto diet calculator takes the guesswork out of starting a ketogenic diet by turning your personal stats into a clear daily target: a set number of calories split into specific grams of carbs, protein, and fat. The math behind it — BMR, TDEE, and standard keto macro ratios — is well-established and grounded in nutrition science.
What the calculator can’t do is replace clinical judgment. The research on ketogenic diets shows real, evidence-backed benefits for short-term weight loss and blood sugar control, alongside legitimate concerns about cholesterol, long-term sustainability, and safety for certain medical conditions. Use a calculator to get your personalized starting numbers, build your plate around nutrient-dense low-carb foods, reassess your macros every few weeks, and loop in a healthcare provider if you have any underlying health condition — especially diabetes, kidney or liver disease, or heart disease.
Medical Disclaimer: This article is for informational and educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a physician or registered dietitian before starting a ketogenic diet, especially if you have an existing health condition or take prescription medication.
The Keto diet, often known as the ketogenic diet, is a very low-carb, high-fat diet that has many similarities to the Atkins and low-carb diets. It entails substantially lowering carbohydrate consumption and substituting fat. It’s Hightly Effective on reduce your weight.