Ketogenic Calculator

Updated Nov 22nd, 2022 – Written by Craig Clarke

Starting on a ketogenic diet? Let’s calculate how much you should eat.
We use the information you put in to create an accurate keto nutrition profile for you.

  • What unit type do you prefer?

    METRIC

    IMPERIAL

  • Your gender

  • Height & weight

    • What is your height in centimeters?
    • What is your current weight in kilograms?
    • What is your height in feet?
    • and in inches?
    • What is your current weight in pounds?
  • Your age

    What is your current age?
  • Body fat percentage

    What is your body fat percentage?

    BMI and body fat are two different measurements. If you don't have calipers or a DEXA machine, use our guide to visually estimate body fat percentage.

    What is your body fat percentage?
  • ACTIVITY LEVEL

    How active are you on a daily basis?

    • Sedentary
      Not much activity with little to no exercise. Typically a desk job.
    • Lightly Active
      Daytime walking with less than 20 minutes exercise per day. Usually light strolls after meals.
    • Moderately Active
      A lightly active day job with physical labor or scheduled exercise (i.e. riding your bike to work or lifting a few times a week).
    • Very Active
      A very active day job (i.e. construction or industrial worker) or intense amount of exercise every day.
    • Add your own custom level

      If you use a heart rate monitor and want to input a specific calorie expenditure. The number you input will replace our calculations entirely.

      Note: This is for advanced users only.

  • DEFICIT / SURPLUS

    What are your end goals of a ketogenic diet?

    • Lose Weight
    • Maintain
    • Gain Muscle

    How much of a deficit do you want?

    %

    It's recommended to never go above a 30% calorie deficit. It's also recommended that you never go above a 15% calorie surplus. If you do, negative results may happen.

  • CARBS & PROTEIN

    How many carbs do you want to consume?

    It is highly recommended that on a ketogenic diet, you keep your carb intake to 5% or less of total calories. This works out to be an average of 20g net carbs a day.

    Net carbs.

    How much protein do you want to consume?

    Protein shouldn't be over-consumed on a ketogenic diet. If too much is eaten, it could lead to slower weight loss and smaller levels on ketones in the blood.

    • If you're sedentary, we suggest between 0.6g and 0.8g protein.

    • If you're active, we suggest between 0.8g and 1.0g protein.

    • If you lift weights, we suggest between 1.0g and 1.2g protein.

    g.
    Calculate
  • Your macros

    How much should you be eating per day?

    • 0 calories
    • 0 g fats
    • 0 g carbs
    • 0 g protein
    Based on your inputs, we suggest you eat: 0 calories. From those, 0g fats, 0g net carbs, and 0g protein

Make your life easy and stop planning. Get detailed shopping lists and months of meal plans tailored to your macros with our

Keto Academy Program

Use coupon code mymacros for 10% off at checkout

  • Optimised to help you stay on track
  • Perfect for your calculated macros
  • Down to earth recipes and easy to use

Do not miss this special offer and opportunity to achieve your weight loss goal!

How do I use your calculator to get my macros?

While inputting your information, you may find that some of the sections and terms are confusing. If this is the case for you, simply click the lower case “i” logo located near the title of each section of our keto calculator. After you click the lower case “i” logo, you will be directed to a brief explanation that should answer your questions.

If you are still unsure of how to use the keto calculator or if you think you aren’t getting the right keto macro numbers, read through the other Q&As and comments below, you will probably find the answer there.

If you still don’t find the answer, please submit a comment with the question and we will address it as soon as possible.

Why do you need my gender/age/height/weight?

Most people aim for a specific goal on a ketogenic diet. We aim to make sure the results of the calculator are accurate and can be used by anyone.

Our keto calculator uses the Mifflin-St.Jeor Formula which was the most accurate (versus the Katch-McCardle Formula or the Harris-Benedict Formula) in a few studies. In this formula, the gender, height, weight, and age are needed to calculate the number of calories to consume.

Why do you need my body fat percentage?

Our keto calculator uses body fat percentage to calculate your lean body mass. Using this number, we’re able to calculate how much protein you need to sufficiently lose weight without losing excess muscle. Eating too little or too much protein on a ketogenic diet (or any diet) can lead to dangerous or unwanted results.

DEXA scans are proven to be the most accurate measurement of body fat. They’re commonly available at gyms and some doctor offices when requested. If you don’t have access to this, you can always go the old-fashioned route and use a good quality caliper. The last resort is using a guide to visually estimate – this can sometimes be a little bit inaccurate, so try to over estimate your body fat percentage.

Why do you need to know my activity level?

This will give us an idea of how much the minimum amount of calories your body will burn in a day. Our keto calculator uses this to calculate your Basal Metabolic Rate (BMR). We use this number, along with your body fat percentage, to estimate how many calories you’ll need for your goals.

The BMR is simply a number of calories we burn while our bodies are at rest and from eating and digesting food. Together they form what’s known as TDEE, or total daily energy expenditure. This is the keto calculator’s estimate for your total calories burned per day. If you use a heart rate monitor or third party software to monitor your calories, you can use the custom input in the activity level section for an even more accurate macro profile.

What is a deficit/surplus?

A deficit or surplus just relates to the number of calories you want to intake. A surplus means you are eating more than your body needs. A deficit means you are eating less than your body needs.

Typically if you are losing weight, you want to have a deficit in calories. 10-20% is standard for people. 20-30% ranges are considered high deficits and are typically difficult to do (you will be fighting hunger). You can go up to a 30% deficit, but going past that can lead to metabolic damage in the long run (study).

Typically if you want to gain muscle, you want to have a surplus in calories. You need extra calories if you want to put on lean mass. Typically, 5-10% is suggested, but going over 10% can lead to excess weight gain.

Why should I eat so few carbs?

There are numerous benefits that are scientifically proven on the ketogenic diet. On keto, it’s a general rule of thumb to stay under 30g net carbs a day. We recommend for weight loss to stay at or below 20g net carbs a day.

The end goal of a ketogenic diet is to be in a metabolic state known as ketosis. We do this through starvation of carbohydrates.

How much protein should I be eating?

Protein intake is imperative when it comes to keto. Too much and you can lower your ketone levels, too little and you can lose excess muscle. You want to be in the sweet spot.

If you’re sedentary, we recommend having between 0.6g and 0.8g protein per pound of lean body mass.
If you’re active, we recommend having between 0.8g and 1.0g protein per pound of lean body mass.
If you want to gain muscle, we recommend having between 1.0g and 1.2g protein per pound of lean body mass. You should not need to consume more protein than that, according to these studies.

It can seem complicated, but it’s honestly not! It’s just a ratio of protein. If you are 100 lbs. of muscle and want to gain muscle (1.0g protein), you eat 100g protein.

If you’re still confused, don’t worry – the keto calculator automatically sets your protein based on your activity level.

I’m not sure about my macros, are they right?

Generally speaking, many people are concerned that the keto calculator results in too many calories to eat. It’s very common for the average person to lose weight on a 1600 calorie a day keto diet. If you’re not 100% sure or confused about anything, you can also read more about macronutrients on a keto diet >

You should try to eat according to the macros given and try to spread your meals out during the day. Don’t worry about getting exact numbers to the tee. You can afford a small fluctuation in your macros, but as long as you are close to your ranges, it will balance itself out.

If you’re just getting started and still want to learn more about keto, consider reading our extensive guide to keto >

Why do calories matter? Isn’t a keto macronutrient calculator useless if I am already limiting carbs?

After hearing about the keto diet and how it helps you burn fat, you may be wondering why we even have a keto calculator. According to many low carb diet proponents, all that really matters when it comes to losing fat is cutting the carbs — Isn’t this true?

High-quality research studies have been published on this specific topic, and the data clearly shows that – regardless if you are on a high carb or low carb diet — you will lose weight if you are in a calorie deficit and gain weight if you are in a calorie surplus. For a closer look at the research and why calories matter, check out this article.

Due to the irrefutable importance of calorie consumption for weight loss and weight gain, a keto macro calculator is one of the most valuable tools that you can use to increase your chances of diet success.

Do I have to use the keto macro calculator to get results?

Simply by eating keto foods and cutting out the carbs, most people will eat fewer calories than usual and start losing weight consistently. However, following the diet in this way can increase your likelihood of hitting a weight loss plateau and not knowing what to do next.

One of the most efficient and effective ways to diet is by using a macronutrient calculator, like the ruled.me keto calculator, as a guide for how much you should eat. It will provide you with estimates for the fat, protein, carbs, and calories you should consume each day to get the results you want.

To help you stay on track to meeting your macro needs, we recommend using a calorie tracking app like MyFitnessPal or Cronometer. If you’d like to learn how to use these apps for the keto diet, read through our carb (and calorie) tracking guide.

By using our keto calculator, you will find out how much of each macronutrient (i.e., fat, protein, and carbs) you need to eat so that you can:

  • Significantly increase your chances of getting the results you want
  • Enter and stay in ketosis
  • Stay on track with your keto diet (especially if you track your macros as well)
  • Stop guessing how much you should be eating
  • Enjoy all of the benefits of keto dieting and ketosis

What exactly do the results mean?

After you entered all of your data and calculated your macros, you will get results that look something like this:

Example results from the keto calculator

Let’s start with the calories. Simply put, a calorie is a basic unit of energy that helps us understand how much energy we can potentially get from the food we eat. Calorie intake is one of the most critical variables to be aware of when you are trying to change your body composition.

If you eat fewer calories than you need to maintain your weight (which is also known as a calorie deficit) then you will lose weight. Conversely, eating more calories than you need to maintain your weight (which is also known as a calorie surplus) will cause you to gain weight.

Notice that I am saying “weight” loss and “weight” gain rather than “fat” loss and gain. By manipulating your calorie consumption, you will predictably change the numbers on the scale, but whether or not those numbers reflect a strong bias toward fat loss depends on the other numbers from your keto macro calculator results.

Fat, muscle, and water can all be lost and gained during the course of your diet. The proportion of weight you lose as fat, muscle, and water depends heavily upon the macronutrient content of your diet (i.e., how much fat, protein, and carbohydrates you eat). If you’d like to learn more about the macronutrients, check out our guide to macros.

Depending on the info that you enter into our keto calculator, you will get different ratios of fat, protein, and carbs. In general, carbs should remain low because they will prevent you from entering into ketosis and getting all of the benefits of the keto diet. By limiting carb consumption to this degree, many people will lose a considerable amount of water weight as well.

Protein is essential for maintaining and gaining muscle mass. Eating less protein than recommended by our keto calculator will typically cause you to lose more muscle mass while eating the right amount of protein will help you maintain or gain muscle mass (as long as you are doing some form of resistance training as well).

While you are restricting carbs, your fat intake will be used as a lever to increase and decrease calorie consumption so that you can gain, maintain, or lose weight. If you are eating the right protein along with the right amount of calories and fat, then the percentage of the weight you lose from fat will increase.

To find out how many calories of each macronutrient you should eat, make sure you convert the macro numbers that you get from our keto calculator to calories first. Here are the conversions for each macronutrient to make it easier for you:

  • 1 gram of carbs = 4 calories
  • 1 gram of protein =4 calories
  • 1 gram of fat= 9 calories

My protein is higher than my fat recommendation. What should I do?

You may notice that the percentage of grams of protein you have to eat is much higher and fat is a lot lower than the percentages that are typically recommended for keto. This can happen for two reasons:

  1. You didn’t convert grams to calories. You must convert the grams of fat and protein to calories and then calculate your macronutrient percentages. Calorie percentages, not gram percentages, are what the recommended keto percentages are based on. Usually, once you account for the fact that one gram of fat has five more calories than one gram of protein the calorie percentages will end up being what you expect from a typical keto diet.
  2. Your goals and activity levels require you to eat more protein. Even after you convert grams to calories, you may find that your suggested protein intake is high (above 30%) and fat is a bit low for keto (less than 60%). This commonly happens for keto dieters who lift weights and won’t impair your progress with the keto diet.

The only problem that high protein intake can cause, however, is lower levels of ketone production. If this is the case for you and you want to maintain a higher level of ketosis, then try decreasing your protein intake to the lower end of the recommended range or restricting carbs a bit more.

In general, as long as you are restricting carbs enough and eating the right amount of protein for your body composition goals and activity levels, you should be able to get all of the benefits of the keto diet — even if your macro percentages don’t fit precisely into the recommended keto percentages.

Why does your keto calculator only calculate net carbs?

Total carbs is not a precise indicator of the carb content of a food. When you see “total carbs” on a food label, the number beside it represents the cumulative total of grams of dietary fiber, sugar, and sugar alcohol that are in that food item or beverage. Net carb content, on the other hand, relates to the carb content of the food that is digested at four calories per gram and impacts your ketones levels.

By giving you your suggested carb consumption in net carbs, we are providing you with the most direct way of knowing how many carbs you need to eat to enter ketosis. Any dietary fiber or sugar alcohol that is added on top of that will usually have a little to no direct effect on your ketone levels and body composition.

For example, if we told you to eat 50 total carbs rather than 20-30 grams of net carbs, you could be eating anywhere between 0 and 50 grams of net carbs. At 0 grams of net carbs, most people will get into ketosis within the first week and experience deeper levels of ketosis as the weeks progress. On the other hand, while eating 50 grams of net carbs per day, many people will struggle to get into ketosis and sustain higher ketone levels.

By following a strict net carb limit, you will know exactly what you need to eat to get into ketosis reliably and what variable you should change if you want to stimulate more ketone production.

(Note: If you live in Europe, Australia, or Oceania, the carb content on the label reflects the net carbs in a serving of that food, so you will not have to subtract fiber from that number because it already has been done.)

Does your calculator have a fiber intake option?

Our keto calculator will only tell you your suggested carb, fat, and protein intake. The general recommendation for fiber intake is 14 grams per 1,000 calories consumed. The simplest way to meet your daily fiber needs are by eating more low carb vegetables, having some keto bread with your meals, or taking fiber supplements.

If you find that your fiber needs are difficult to meet with your current net carb limit, then simply eat enough fiber so that you have regular bowel movements one or more times a day.

What should I do after I use your keto macro calculator?

Once you get an estimate for your keto macros with our keto calculator, we recommend checking out our keto guide, keto recipes, keto food list, carb tracking guide, and our other keto blog posts.

Click on this link to check out our keto recipe catalog (with new keto recipes added every week). This will give you a good idea of what you can eat for breakfast, lunch, dinner, and dessert while you are keto dieting. I also suggest checking out our keto food list so you have a better idea of what you should and shouldn’t eat.

Once you know what you will be eating on keto, you will probably be wondering how much of you should eat for each meal. Since meal size depends on the individual and his/her goals, we recommend using a calorie tracking app and our carb tracking guide to help you figure out the macronutrient content of your meals. As you track your macros, you will be able to figure out what adjusts you need to make to your diet to reach your goals.

How do I meet my macros with a ketogenic diet?

The simplest way to meet your macros is by cutting out non-keto foods and eating keto-friendly foods. Here’s a brief food list for you to start with:

Do Not Eat

  • Grains – wheat, corn, rice, cereal, etc.
  • Sugar – honey, agave, maple syrup, etc.
  • Fruit – apples, bananas, oranges, etc.
  • Tubers – potato, yams, etc.

Do Eat

  • Meats – fish, beef, lamb, poultry, eggs, etc.
  • Low Carb Vegetables – broccoli, cauliflower, spinach, kale, and other low carb vegetables >
  • High Fat Dairy – hard cheeses, high fat cream, butter, etc.
  • Nuts and seeds – macadamias, walnuts, sunflower seeds, etc.
  • Avocado and berries – raspberries, blackberries, and other low glycemic impact berries
  • Sweeteners – stevia, erythritol, monk fruit, and other low-carb sweeteners >
  • Other fats – coconut oil, high-fat salad dressing, saturated fats, etc.

To see more specific advice on how to meet your macros on keto, click here for a comprehensive keto food list. Or, if you want a different idea of how to get to these macro calculations, you can also see our 14 Day Keto Diet Plan for ideas.

If you are looking for more specific suggestions on how to meet your protein and/or fat needs on keto, we will explore that in greater detail in the next two questions.

How do I reach the protein intake level that was recommended?

The easiest way to meet your protein needs is by making sure you are consuming a good protein source at each meal. Here is a list of some of the most common protein sources you can add to your keto meals:

  • Wild Caught Fatty Fish
  • Shellfish
  • Whole Eggs
  • Red Meat
  • Pork
  • Poultry
  • Organ Meat
  • Other Less Common Meats
  • Bacon and Sausage (without any added sugar, maltodextrin, or dextrose)
  • Nut Butter
  • Higher Protein Cheeses
  • Low Carb Protein Powders

Most keto dieters will be able to meet their protein needs with 2-3 keto meals that contain one or more of these protein sources. If keto recipes aren’t enough to help you meet your protein needs, all you need to do is add one of the high protein foods from the list above.

Here are a couple of examples:

To add as much protein as possible with minimal calories and fat:

  • Add an unflavored protein powder to your keto sauce or dressing. (caution: this may change the thickness of your sauce or dressing)
  • Add white meat chicken, turkey, or other lean meats or fish to your meal.
  • Have egg whites with your meal.
  • Make a quick protein shake with a low carb protein powder.

To add extra protein and fat to your meal:

  • Add higher fat meats like bacon, sausage, and fattier cuts of meat to your meals.
  • Have whole eggs with your meal.
  • Add extra high protein cheese (e.g., parmesan cheese, mozzarella cheese, cheddar cheese) to your meal.
  • Have some high protein nuts and nut butters (e.g., almond butter, peanut butter).

For more high protein and/or high fat keto meal ideas, check out our keto recipes. Dishes that feature seafood or meat will typically have the highest protein content.

How do I eat all of the fat that the keto calculator recommends?

When you are first starting the keto diet, eating so much fat may seem like a daunting task.

How are you supposed to consume all of that fat and enjoy it at the same time? By knowing what keto-friendly options are available to you.

Here are some high-fat keto foods that you can eat to meet your fat needs:

  • Fatty Fish
  • High-fat Meats (such as pepperoni and bacon)
  • High-fat Cheese (like mascarpone and cream cheese)
  • Animal Fat (non-hydrogenated)
  • Lard
  • Tallow
  • Avocados
  • Egg Yolks
  • High-fat Nuts (like macadamia nuts, brazil nuts, and pecans)
  • Butter/Ghee
  • Mayonnaise
  • Coconut Butter
  • Cocoa Butter
  • Olive Oil
  • Coconut Oil
  • Avocado Oil
  • Macadamia Oil
  • MCT Oil
  • Heavy Cream
  • Sour Cream
  • Fat Bombs

To meet your macros most efficiently, try combining high protein with high-fat foods or have foods that are both high in protein and fat at every meal. For example, having a fatty fish or fatty cut of meat with high-protein cheese (and low carb vegetables) is a simple and easy way to have a keto-friendly meal that will help you meet your protein and fat needs. On the other hand, if you just want to increase your fat intake, then find ways to add oil, animal fats, butter, fat bombs, and/or high-fat cheeses to your meals or snacks.

Here are some specific examples for you:

To add more fat and protein to your meals:

To add as much fat as possible to your diet:

For more high fat and/or high protein keto meal and snack ideas, check out our keto recipes.

How do I track my net carbs?

The simplest way to make sure you are limiting carbs enough is by using an app like Cronometer that calculates net carbs for you.  In our guide to carb tracking on keto, we teach you how to configure Cronometer (and MyFitnessPal) for keto diet success.

You can also track net carbs by calculating them yourself and adding them up throughout the day. If you need help finding the net carbs in the foods you are eating, read through this quick post.