Get personalized keto macros for weight loss, maintenance or muscle gain: your daily calories, fat, protein and net carbs in grams.
How this works
Calories start from your total daily energy expenditure (Mifflin–St Jeor × activity) and are adjusted for your goal. Net carbs are fixed at the level you choose, protein is set at about 1.8 g per kg of lean mass (or 1.3 g per kg of body weight if you don’t enter body fat), and fat makes up the remaining calories.
Calories are never set below 1,200 for women or 1,500 for men.
Results are estimates for general information only and are not medical advice. Talk to your doctor or a registered dietitian before making major changes to your diet or exercise, especially if you are pregnant or have a health condition.
How many macros should you eat on keto?
A ketogenic diet keeps carbohydrate low enough that your body starts burning fat and producing ketones for fuel. Most people need to stay somewhere between 20 and 50 grams of net carbs a day to get there, with protein kept moderate and fat making up the rest of your calories.
This calculator builds those numbers in a fixed order: calories first, then carbs, then protein, and finally fat.
How the calculator sets each number
Each macro is worked out from the one before it, so it helps to know the order.
- Calories. Your daily burn is estimated with the Mifflin–St Jeor equation, published in 1990, multiplied by an activity factor. That total is then adjusted for your goal of weight loss, maintenance or muscle gain.
- Net carbs. These are fixed at the level you choose. They do not change with your calories.
- Protein. About 1.8 grams per kilogram of lean mass if you enter your body fat, or 1.3 grams per kilogram of body weight if you leave it blank.
- Fat. Whatever calories remain after carbs and protein come from fat.
The tool will not set calories below 1,200 a day for women or 1,500 for men, even if the goal adjustment would take you lower.
A worked example
Suppose a woman weighing 160 pounds (72.6 kg) gets a calorie target of 1,800, chooses 25 grams of net carbs and skips the body fat field.
| Macro | How it is set | Grams | Calories |
|---|---|---|---|
| Net carbs | Her chosen level | 25 | 100 |
| Protein | 1.3 g x 72.6 kg | 94 | 376 |
| Fat | Remaining calories / 9 | 147 | 1,324 |
If she adds a body fat reading of 30 percent, her lean mass is about 50.8 kg (112 lb). At 1.8 grams per kilogram, protein lands at about 92 grams, almost the same. The lean-mass method matters most for people carrying a lot of body fat, where a body-weight formula would push protein higher than needed. The body fat calculator gives you a reasonable estimate from a few tape measurements.
Making the numbers work on your plate
Net carbs are total carbohydrate minus fiber. Leafy greens, broccoli, cauliflower, zucchini, avocado, nuts and seeds bring plenty of fiber for very few net carbs, which helps you stay inside your limit without feeling deprived. Check your fiber against the fiber calculator, because it often drops when bread, beans and fruit leave the menu.
Treat your protein number as a target to hit each day and your fat number as a ceiling. If you feel full before reaching your fat grams, there is no need to add butter or oil to finish them.
For ideas, start with the low-carb breakfast recipes and the wider low-carb recipe collection. Many people feel tired or headachy in the first week, often called keto flu, and drinking enough water with a little extra salt usually helps.
If you take medication for diabetes or blood pressure, are pregnant, or have kidney or liver problems, talk to your doctor before starting keto, since doses sometimes need adjusting quickly.
Frequently asked questions
How many net carbs should I eat to stay in ketosis?
Most people reach ketosis at 20 to 50 grams of net carbs a day, and 20 to 25 grams is the most common starting point. Very active people can often go higher. You can test a higher level once you have settled in.
Is too much protein bad on keto?
Moderate protein is fine for most healthy adults and helps protect muscle while you lose fat. The calculator’s 1.3 to 1.8 gram range is in line with common sports nutrition guidance. There is no need to cut protein to very low levels out of fear of leaving ketosis.
Do I have to eat all my fat grams?
No. When your goal is weight loss, fat is the flexible macro, and eating a bit less than the target simply adds to your deficit. Hit your protein, stay under your carbs, and eat fat to comfortable fullness.
How is this different from a regular macro calculator?
A standard macro calculator splits calories by percentages, so carbs rise and fall with your total. Here, net carbs stay locked at the level you pick, protein is tied to your body, and fat absorbs every change in calories.