Free Online Keto Macro Calculator

Use this free online keto macro calculator to work out your daily calories, protein, fat and net carbs for keto, low-carb, carnivore or a standard diet. Get electrolyte targets, macros per meal, a weight projection and printable results. Free, private and no sign-up.

Advanced options: body fat %, BMR formula, fiber, meals, your own maintenance calories

Results update as you type. Estimates only — not medical advice.

Net carb budget tracker

Add foods to see how much of your daily carb budget they use. Values are approximate and brands vary.

    Disclaimer: This free online keto macro calculator gives general estimates for adults and is not medical or dietetic advice. A ketogenic diet is not suitable for everyone. Speak to a doctor or registered dietitian before starting, especially if you are pregnant, breastfeeding, have diabetes, kidney, liver or heart disease, or take medication. See the full medical disclaimer below.

    Written by the Utiliby editorial team · Last updated October 12, 2026 · Reading time about 15 minutes

    What is a free online keto macro calculator?

    A keto macro calculator is a tool that converts your personal details into a daily calorie target and a gram-by-gram split of the three macronutrients: protein, fat and carbohydrate. “Macros” is simply short for macronutrients, the nutrients that supply calories. On a ketogenic diet the usual aim is to keep net carbohydrates very low, typically 20 to 50 grams a day, so that the body relies more on fat and on ketones made from fat. Because the carbohydrate allowance is so small, the other two macros matter more than they do on a standard diet: protein protects your muscle, and fat fills the calories that carbs normally would.

    This free online keto macro calculator goes further than a simple percentage split. It estimates your calories with a recognised equation, applies a calorie goal, sets protein by body weight or lean mass, fixes carbs by diet preset, and gives the remaining calories to fat. It then adds the details people usually have to look up elsewhere: net and total carbs with fiber, the ketogenic ratio, macros per meal, a week-by-week weight projection, typical sodium, potassium, magnesium and water ranges, and a net-carb tracker for common foods. It is built for people searching for a keto calorie calculator, a keto diet calculator, a net carb calculator, a low-carb macro calculator or a carnivore macro calculator, all in one place.

    How to use this calculator

    1. Pick Metric or Imperial units. Your numbers are converted for you when you switch.
    2. Enter your sex, age, height and weight. Use your current, honest weight.
    3. Choose an activity level, diet preset and goal. If you pick a custom goal or a target weight, extra fields appear.
    4. Adjust protein if you train. Results appear instantly below the form and update with every change.
    5. Optional: open Advanced options to enter body fat %, choose a different BMR formula, set your planned fiber, change meals per day or type in your own maintenance calories.
    6. Read the donut chart, macro table, per-meal split, energy balance and weight projection. Expand “Show how these numbers were calculated” to see every step with your own numbers.
    7. Use the net carb tracker to check how much of your daily carb budget your usual foods use.
    8. Copy, download or print your results, or copy a link to come back to the same inputs later.

    How the macros are calculated

    Want the full explanation behind these numbers? Read our complete guide to calculating keto macros.

    The calculator uses the Mifflin-St Jeor equation for basal metabolic rate (BMR) by default, multiplies by an activity factor for maintenance, adjusts by a goal multiplier, then splits the result into protein, fat and carbs.

    How keto macros are calculated Flow chart: BMR times activity factor gives maintenance calories; adding or subtracting a goal adjustment gives your calorie target; protein comes from grams per kilogram, net carbs from a preset, and fat from the remaining calories. 1. BMRMifflin-St Jeor 2. MaintenanceBMR × activity 3. Calorie target± goal (−25% … +20%) 4. Macro splitgrams per day Proteing/kg × body or lean mass× 4 kcal per gram Net carbsfixed by preset (15–100 g)× 4 kcal per gram Fat(calories − protein − carbs)÷ 9 kcal per gram
    From BMR to grams of protein, carbs and fat: the calculation flow used by this tool.

    Step 1: Basal metabolic rate (BMR)

    BMR is the energy your body uses at rest to keep you alive. Mifflin-St Jeor (1990) is the default because, in a widely cited comparison of prediction equations, it was more likely than the alternatives to land within 10% of measured resting energy expenditure. Two alternatives are available in the advanced options:

    Step 2: Activity factor and maintenance calories (TDEE)

    Total daily energy expenditure (TDEE) is BMR multiplied by an activity factor. Choose the level that matches your typical week, not your best week. People tend to overestimate exercise, so if you are unsure, pick the lower level.

    Activity levelFactorTypical week
    Sedentary1.2Desk job, little or no exercise
    Light1.3751–3 workouts per week
    Moderate1.553–5 workouts per week
    Very active1.7256–7 workouts per week
    Athlete1.9Twice-daily training or a physical job plus training

    Step 3: Calorie goal

    GoalAdjustmentWho it suits
    Lose – moderate−15%Most people; sustainable, preserves muscle
    Lose – aggressive−25%Short phases with high protein; harder to sustain
    Maintain0%Weight stable, improving habits
    Gain – moderate+10%Lean gain while strength training
    Gain – aggressive+20%Fast gain; expect extra body fat
    Custom or target weightYour choiceCalculated from 7,700 kcal per kg (about 3,500 kcal per lb)

    If your goal would take you below 1,200 kcal (women) or 1,500 kcal (men), the calculator raises the target to that minimum and tells you. It also warns when the target is below your estimated BMR or when the implied rate of change exceeds 1% of body weight per week.

    Step 4: Protein, carbs and fat

    Protein is set first (grams per kilogram × body weight or lean mass × 4 kcal), then carbs (fixed grams from the preset × 4 kcal), and fat takes whatever calories remain (÷ 9 kcal per gram). This order is the key to keto macro maths: protein and carbs are targets; fat is the flexible remainder.

    Worked example

    A 30-year-old man, 175 cm, 75 kg, moderately active, aiming to lose weight at −15% on standard keto with 1.6 g/kg protein:

    1. BMR = 10 × 75 + 6.25 × 175 − 5 × 30 + 5 = 1,699 kcal
    2. Maintenance = 1,699 × 1.55 = 2,633 kcal
    3. Target = 2,633 × 0.85 = 2,238 kcal
    4. Protein = 1.6 × 75 = 120 g = 480 kcal
    5. Net carbs = 25 g = 100 kcal
    6. Fat = (2,238 − 480 − 100) ÷ 9 = 184 g = 1,658 kcal

    That works out to roughly 74% fat, 21% protein and 5% carbs, the classic keto pattern.

    Keto macro ratios explained: fat, protein and carbs

    Most written keto guidance describes macros as percentages of calories: about 70–80% fat, 15–25% protein and 5–10% carbohydrate. Percentages are a handy summary, but grams are what you actually track, and the carb limit in grams is the one that matters most for ketosis. A fixed 25 g of net carbs is a smaller percentage of a 2,600 kcal day than of a 1,400 kcal day, so percentages shift as your calories change.

    70/25/5
    Example keto split (fat/protein/carbs).
    StyleFat / protein / carbs (% kcal)At 2,000 kcalNotes
    Classic keto75% / 20% / 5%167 g / 100 g / 25 gVery low carb, moderate protein. Common starting point.
    Standard keto70% / 25% / 5%156 g / 125 g / 25 gHigher protein for muscle retention and satiety.
    High-protein keto60% / 35% / 5%133 g / 175 g / 25 gFor lifters or people who find fat very filling; ketone levels may be lower.
    Relaxed keto / low-carb65% / 25% / 10%144 g / 125 g / 50 gAbout 50 g of net carbs at 2,000 kcal; ketosis is less certain.

    The “ketogenic ratio” used in some clinical settings compares grams of fat with grams of protein plus carbohydrate (for example 2:1 or 4:1). The calculator displays this ratio for reference. Clinical ketogenic diets for conditions such as drug-resistant epilepsy are medically supervised and should not be self-prescribed from an online calculator.

    How many carbs on keto? Net carbs vs total carbs

    The carb limit is the defining rule of a ketogenic diet. Typical ranges are:

    What are net carbs and how do you calculate them?

    Net carbs are the carbohydrates your body digests and absorbs. The common formula is: net carbs = total carbohydrates − fiber − (some) sugar alcohols. For example, a snack label shows 12 g total carbohydrate, 5 g fiber and 4 g erythritol: 12 − 5 − 4 = 3 g net carbs. Erythritol is usually subtracted in full, while maltitol and sorbitol have a larger effect on blood sugar and are commonly counted at half or not subtracted at all. Whole foods such as vegetables are easiest: avocado, spinach and cauliflower have a low net-carb count because much of their carbohydrate is fiber.

    Some people prefer to count total carbs because it avoids labelling errors and sugar-alcohol arguments. This calculator lets you plan a fiber amount and shows both net and total carbs, so you can follow whichever method you will stick to.

    How much protein on keto?

    A persistent myth says that eating protein will “kick you out of ketosis” because protein can be converted to glucose. The body makes glucose from protein mostly on demand, and for most people moderate-to-high protein intakes do not stop ketone production. Under-eating protein is the more common problem on a keto diet, because it increases the risk of losing muscle while you lose weight.

    If your protein and carbs take up all your calories, the calculator warns you instead of hiding the problem. Lower the g/kg setting, pick a lower-carb preset or choose a gentler goal.

    How much fat on keto?

    On keto, fat is the “dial” that fills the calories left after protein and carbs. It usually provides 60–80% of calories, and it gives the diet its satiety. When you want to lose weight, part of your fat intake comes from body fat, so you do not need to eat fat until you are uncomfortably full. If your result looks very high, eat to satisfaction within your calorie target rather than forcing every gram.

    Food quality matters. Favour monounsaturated and omega-3 sources such as olive oil, avocado, nuts, seeds and fatty fish, and include eggs, dairy, and meat according to your preference. Saturated fat intake can raise LDL cholesterol in some people on low-carb diets, so people with elevated cardiovascular risk should have their lipid levels checked and discuss fat choices with their clinician.

    Keto macros for your goal and lifestyle

    Keto macros for weight loss

    Choose “Lose – moderate (−15%)” with 1.6 g/kg protein and 20–30 g net carbs. Weight loss on keto still comes down to a calorie deficit; the diet’s advantage for many people is reduced appetite and easier adherence rather than a metabolic loophole. Use the target-weight option if you have a date in mind and check that the implied weekly rate stays under about 1% of body weight.

    Keto macros for maintenance

    Select “Maintain weight” and adjust only if your weight drifts for two weeks. Many people find they can raise net carbs to 30–50 g at maintenance without leaving ketosis.

    Keto macros for muscle gain and bodybuilding

    Use “Gain – moderate (+10%)”, protein at 1.8–2.2 g/kg and consider body fat % with the lean-mass option. Train hard and progressively; expect slower gains than with a high-carb diet if you do very high-volume work. Some athletes use a small amount of carbs around training, often called targeted keto, which you can mimic with a custom carb setting.

    Keto macros for women

    Women generally have lower calorie needs, so the calculator’s 1,200 kcal minimum matters more. Typical results are 1,400–1,900 kcal with 20–25 g net carbs, 70–100 g protein and 100–150 g fat. Hormonal changes, menstrual cycle irregularity and bone health are worth monitoring, and keto is not recommended during pregnancy or breastfeeding without medical supervision.

    Keto macros for men

    Men typically see 1,800–2,600 kcal for fat loss with 100–160 g protein and 130–200 g fat. Larger frames and higher muscle mass raise protein needs, so check the lean-mass setting if you know your body fat.

    Keto macros for beginners

    Start with standard keto (25 g net carbs), a moderate deficit and 1.6 g/kg protein. Track carbs closely for the first two to four weeks and plan electrolytes, then refine calories and protein once you are fat-adapted.

    Strict keto, lazy keto and dirty keto

    Strict keto tracks everything and keeps net carbs near 15–20 g. Lazy keto only tracks carbs. “Dirty” keto meets the macros with heavily processed foods; it can fit the numbers but may fall short on fiber and micronutrients. The calculator’s numbers work for any of these, but nutrient quality still matters for long-term health.

    Carnivore macro calculator settings

    Choose the Carnivore preset for 0 g carbs. Because all calories then come from protein and fat, high protein targets can squeeze fat to zero at low calories. Lower g/kg slightly or raise calories if the tool warns you.

    Low-carb and moderate-carb macros

    The 50 g and 100 g presets are for people who want fewer carbs without strict ketosis. They are more forgiving and easier to sustain socially, but they are not designed to produce consistent ketosis.

    Keto after 40 and older adults

    Muscle loss accelerates with age, so protein at 1.6 g/kg or higher and resistance training are particularly important. Check blood pressure, kidney function and medication needs with a clinician first, as dosing can change on low-carb diets.

    Keto macros at different calorie levels

    If you are searching for “keto macros for 1,500 calories” or “keto macros for 2,000 calories”, the table below shows a 70% fat / 25% protein / 5% carbs split at common calorie levels. Your exact numbers from the calculator will differ because protein is set by body weight and carbs by a fixed gram limit.

    CaloriesFat (70%)Protein (25%)Net carbs (5%)
    1,200 kcal93 g75 g15 g
    1,400 kcal109 g88 g18 g
    1,500 kcal117 g94 g19 g
    1,600 kcal124 g100 g20 g
    1,800 kcal140 g112 g22 g
    2,000 kcal156 g125 g25 g
    2,200 kcal171 g138 g28 g
    2,500 kcal194 g156 g31 g
    3,000 kcal233 g188 g38 g

    Electrolytes, water and fiber on keto

    Lower insulin levels on a very-low-carb diet make the kidneys excrete more sodium and water, and stored glycogen releases water, which is one reason people lose weight quickly at first. Common symptoms in the first one to two weeks (headache, tiredness, dizziness, cramps) are often called “keto flu” and are frequently linked to fluid and electrolyte shifts.

    How fast will I lose weight on keto?

    A rough rule is that a deficit of about 7,700 kcal equals 1 kg of body weight (3,500 kcal per lb). That rule is a simplification: as you lose weight, your energy needs fall, so real-world loss slows over time. The weight projection chart models this by lowering your maintenance calories as your weight drops. In the first week or two, many people on low-carb diets also lose several pounds of water as glycogen stores empty, which is not fat loss and is not shown in the projection. Plateaus are normal; they are usually a sign to re-check your tracking, activity and calories rather than to cut calories sharply.

    A sustainable rate for most adults is 0.5–1% of body weight per week. Faster loss increases the risk of muscle loss, gallstones and fatigue.

    Net carbs in common foods

    Use these approximate values to see how quickly carbs add up. They are rounded from USDA FoodData Central entries; brands, ripeness and cooking change them. The tool’s tracker uses a larger list.

    Food and servingNet carbs
    Avocado, ½ medium (100 g)≈ 1.8 g
    Spinach, raw, 1 cup (30 g)≈ 0.4 g
    Zucchini, 1 cup sliced (113 g)≈ 2.4 g
    Cauliflower, 1 cup raw (107 g)≈ 3.2 g
    Broccoli, 1 cup chopped raw (91 g)≈ 3.6 g
    Egg, 1 large≈ 0.4 g
    Cheddar cheese, 1 oz (28 g)≈ 0.4 g
    Almonds, 1 oz (28 g)≈ 2.6 g
    Pecans, 1 oz (28 g)≈ 1.2 g
    Chia seeds, 1 oz (28 g)≈ 2.1 g
    Raspberries, ½ cup (62 g)≈ 3.3 g
    Strawberries, ½ cup sliced (83 g)≈ 4.7 g
    Blueberries, ½ cup (74 g)≈ 9.0 g
    Apple, 1 medium≈ 21 g
    Banana, 1 medium≈ 24 g
    White bread, 1 slice≈ 12 g
    Cooked white rice, 1 cup≈ 44 g
    Cola, 12 fl oz≈ 39 g

    Ketosis, ketones and testing

    Nutritional ketosis is generally defined as blood beta-hydroxybutyrate (BHB) of about 0.5–3.0 mmol/L. It is a normal, controlled state and is different from diabetic ketoacidosis (DKA), a dangerous emergency in which ketones are far higher (commonly above 10 mmol/L) and blood sugar and acid levels are abnormal. DKA mainly affects people with type 1 diabetes, and can occur in people on some diabetes medicines (such as SGLT2 inhibitors) following very-low-carb diets.

    Most people reach measurable ketosis within two to four days at 20–30 g net carbs, but it can take a week or more.

    How to adjust your macros after 2 to 4 weeks

    What you noticeTry
    No weight change for 2–3 weeksRe-check portions and tracking, then reduce calories by 5–10% or add activity.
    Losing faster than 1% body weight per weekRaise calories by 5–10% to protect muscle and energy.
    Constant hungerIncrease protein and fiber, add non-starchy vegetables, keep meals regular.
    Low energy or poor workoutsCheck sodium, potassium, magnesium and calories; consider a small increase in carbs around training.
    Ketones lowLower net carbs toward 20 g, check hidden carbs, review protein and alcohol.
    Gaining weight when you want to loseRe-check calorie tracking and portion sizes of calorie-dense fats (oils, nuts, cheese).

    Common keto macro mistakes

    Keto side effects and who should avoid it

    Short-term effects can include headache, fatigue, constipation, bad breath, muscle cramps and changes in exercise performance. Longer-term, cholesterol can rise in some people, and very restrictive versions can lead to nutrient shortfalls. A ketogenic diet is not suitable for everyone. Talk to a doctor before trying it if you:

    Accuracy and limitations

    All calorie equations are estimates. Differences in muscle mass, genetics, hormones, medications, sleep, stress and non-exercise activity mean your real needs may differ by several hundred calories. The calculator does not account for alcohol calories, sugar-alcohol effects, medical conditions, pregnancy or lactation. Treat the first result as a hypothesis: follow it for two to three weeks, track your weight trend and measurements, and adjust. For a personalised plan, see a registered dietitian.

    Privacy: all calculations run in your browser. Nothing you enter is sent to a server. Entries are saved only if you tick “Remember my entries”, and they stay on your device.

    Use these free online tools together with this one:

    Frequently asked questions

    What is a keto macro calculator?

    A keto macro calculator is a tool that turns your age, sex, height, weight, activity level and goal into a daily calorie target and a split of protein, fat and carbohydrate in grams. This free online keto macro calculator also shows net carbs, fiber, electrolytes, macros per meal and a weight projection.

    How do I calculate my keto macros?

    First estimate your basal metabolic rate (BMR), multiply it by an activity factor to get maintenance calories, then add or subtract calories for your goal. Set protein from your body weight or lean mass, fix net carbs at a low number such as 20 to 50 grams, and let fat make up the remaining calories (divide by 9 to get grams).

    How many carbs should I eat on keto?

    Most people aim for 20 to 50 grams of net carbs per day. Strict keto is often 15 to 20 grams, standard keto about 20 to 30 grams, and a more relaxed low-carb plan up to 50 grams. Your own tolerance varies with activity, body size and metabolism.

    Should I count net carbs or total carbs?

    Keto plans usually count net carbs, which are total carbohydrates minus fiber (and, for some sugar alcohols, minus part or all of those). Some people prefer total carbs because it is simpler and avoids label errors. This calculator shows both so you can pick the method you will follow consistently.

    How much protein should I eat on keto?

    A common range is 1.2 to 2.0 grams of protein per kilogram of body weight (about 0.55 to 0.9 g per pound), or roughly 1.3 to 2.2 g per kg of lean body mass if you lift weights. Protein should be high enough to protect muscle but not so high that it crowds out fat and calories.

    How much fat should I eat on keto?

    Fat is the remaining calories after protein and carbs, usually 60 to 80 percent of total calories. For weight loss, fat is also supplied by your body stores, so you do not need to eat fat to the point of being overfull. Eat enough to feel satisfied within your calorie target.

    What is the best keto macro ratio for weight loss?

    A typical keto split is about 70 to 75 percent fat, 20 to 25 percent protein and 5 to 10 percent carbs. Weight loss still depends mainly on a sustained calorie deficit, so the exact ratio matters less than hitting your calories, protein and carb limit consistently.

    Is this free online keto macro calculator accurate?

    It is an estimate. Equations such as Mifflin-St Jeor predict calorie needs reasonably well for most adults, but individual metabolism can differ by several hundred calories. Track your weight and measurements for 2 to 3 weeks, then adjust calories up or down by 5 to 10 percent.

    What calorie deficit should I use on keto?

    A moderate deficit of about 10 to 20 percent below maintenance suits most people. The calculator offers 15 percent (moderate) and 25 percent (aggressive) presets, plus a custom option. It also enforces a minimum of 1,200 kcal for women and 1,500 kcal for men for unsupervised dieting.

    Do I need to know my body fat percentage?

    No, it is optional. Without it the calculator uses Mifflin-St Jeor and protein per kilogram of body weight. If you do know your body fat percentage (for example from a DEXA scan, calipers or a smart scale), you can switch to the Katch-McArdle formula and base protein on lean body mass.

    Which BMR formula does the calculator use?

    By default it uses Mifflin-St Jeor. In the advanced options you can choose the revised Harris-Benedict equation, or Katch-McArdle if you enter your body fat percentage, or type in your own maintenance calories if you have measured or tracked them.

    How many calories should I eat on keto per day?

    It depends on your size, activity and goal. Many adult women land between about 1,400 and 2,000 kcal and many men between about 1,800 and 2,600 kcal when losing weight, but your result may be higher or lower. Use the calculator rather than a generic number.

    What are good keto macros for women?

    Women usually need fewer calories than men, so the same 20 to 25 gram net carb limit makes up a slightly larger share of calories. A typical result is 1,400 to 1,900 kcal with 20 to 25 g net carbs, 70 to 100 g protein and 100 to 150 g fat, adjusted for height, weight and activity. Pregnant or breastfeeding women should not use this plan without medical advice.

    Can I build muscle on keto?

    Yes, many people maintain or gain muscle on a ketogenic diet when calories and protein are adequate and they lift weights. Choose a small calorie surplus (+10 percent), set protein at 1.6 to 2.2 g per kg, and expect gains to be slower than with a higher-carb diet for some people.

    What is lazy keto?

    Lazy keto means limiting carbs (often to 20 to 50 grams a day) without tracking calories, protein or fat. It is simpler to follow but gives you less control over weight loss. You can use the calorie and protein numbers here as a rough guide even if you only track carbs.

    What is the difference between keto and carnivore macros?

    Carnivore is an animal-foods-only way of eating with close to zero carbs, so nearly all calories come from protein and fat. Choose the carnivore preset to set carbs to 0 g, and consider raising calories or lowering protein so fat is not squeezed out.

    Do I need electrolytes on keto?

    Many people feel better when they pay attention to sodium, potassium and magnesium during the first weeks, because lower insulin makes the kidneys excrete more sodium and water. The calculator shows typical ranges, but people with kidney, heart or blood pressure conditions or on certain medicines must get individual advice first.

    How long does it take to get into ketosis?

    It often takes two to four days of eating very few carbs, but for some people it takes a week or longer. Exercise, fasting and keeping carbs near 20 grams can speed it up. Blood, urine or breath tests can show whether you are in ketosis.

    Why is my fat target so high or so low?

    Fat is the leftover after protein and carbs are set. A larger calorie target or a lower protein setting raises fat grams, while a tight calorie target or high protein lowers them. If fat falls below about 55 percent of calories on a keto preset, consider lowering protein per kg or loosening the deficit.

    What if my protein and carbs exceed my calories?

    The calculator warns you and sets fat to 0 g. That usually means your calorie target is very low for your protein setting. Reduce protein per kg, choose a lower-carb preset, or choose a gentler goal so there is room for fat.

    Can I use this calculator if I am pregnant, have diabetes or take medication?

    Do not rely on it. A ketogenic diet is not suitable for everyone, including people who are pregnant or breastfeeding, have type 1 diabetes, pancreatic, liver or kidney disease, or a history of eating disorders, and it can change the dose you need for diabetes or blood pressure medicines. Speak to your doctor first.

    Is anything I enter stored?

    No data is sent to any server; all calculations run in your browser. By default nothing is saved. If you tick the option to remember your entries, they are stored only in this browser on this device and you can clear them with Reset. The Copy link button puts your entries in the link itself.

    Can I save or print my results?

    Yes. You can copy a text summary, copy a shareable link, download a CSV file, save and re-import your settings as a JSON file, or print and save as PDF. The print view includes only your results, charts and disclaimer, not the whole web page.

    Why does the calculator set a minimum calorie level?

    Very low calorie intakes can lead to muscle loss, nutrient shortfalls and gallstones, and should be supervised by a clinician. The tool therefore raises your target to 1,200 kcal (women) or 1,500 kcal (men) if your goal would take you lower, and warns you when you go below your estimated BMR.

    Sources and further reading

    Medical disclaimer

    This calculator and article are for general information and education only. They are not medical, nutritional or dietetic advice, and do not create a doctor–patient or dietitian–client relationship. Results are estimates based on standard equations and the numbers you enter; they are not a diagnosis, treatment or guarantee of weight loss, ketosis or any health outcome.