Macro Calculator
Split your calories into protein, carbs, and fat.
Other Tools
Libraries
Calories decide whether your weight moves; macros decide what that weight is made of, how you feel while moving it, and how well you perform. This macro calculator takes your daily calorie budget and splits it into protein, carbohydrate, and fat grams across five diet patterns — balanced, low-carb, high-protein, keto, and low-fat — so the same 2,000 calories can become a muscle-retention cut, an endurance machine's fuel plan, or a ketogenic protocol. Below the tool you will find the complete reference: what each macro actually does in your body, the evidence behind protein targets, how to choose a split for your specific goal, how to turn daily grams into real meals, and honest answers to the questions people argue about most.
What are macronutrients?
Macronutrients are the three nutrient families your body needs in large quantities: protein, carbohydrates, and fat. Each carries a fixed energy density known as the Atwater factors — protein 4 kcal per gram, carbohydrates 4 kcal per gram, and fat 9 kcal per gram. Those three numbers are the entire mathematics of macro planning: a 2,000-kcal day is 2,000 kcal no matter how you arrange it, but the arrangement determines what your body does with those calories.
The three macros are not interchangeable fuel. Protein is primarily structural material — it builds and repairs muscle, enzymes, hormones, and immune cells, and the body has no significant protein storage, so a daily supply matters. Carbohydrates are the preferred fuel for high-intensity work and the central nervous system; they are stored as glycogen in muscle and liver. Fat is the dense energy reserve, the carrier of the fat-soluble vitamins A, D, E, and K, and the raw material for key hormones including testosterone and estrogen. Cutting any one of them to zero has consequences; the skill is proportioning them to your goal.
A useful mental model: protein sets your structure, fat sets your hormones and health floor, and carbohydrates fill the remaining budget around your activity. This is why the presets below all keep protein and fat deliberate and let carbs be the flexible variable — and why "how many carbs per day" has a different answer for a marathoner than for an office worker with the same calorie target.
How the macro calculator works — the five presets
You enter your daily calorie budget (from the calorie calculator or your own tracking data) and pick a diet pattern; the calculator converts each percentage into calories and then into grams — protein and carbohydrate calories divided by 4, fat calories divided by 9. The five presets are fixed, named patterns with defined logic rather than arbitrary sliders, which keeps the result reproducible and explainable.
| Preset | Protein | Carbs | Fat |
|---|---|---|---|
| Balanced | 30% | 40% | 30% |
| Low carb | 40% | 20% | 40% |
| High protein | 45% | 35% | 20% |
| Keto | 25% | 5% | 70% |
| Low fat | 35% | 55% | 10% |
Each preset exists for a real use case. Balanced is the default for general health and mixed training. Low carb suits people who control appetite better with fewer starches without needing ketosis. High protein serves cutting phases and muscle-focused diets where sparing muscle outranks fuel variety. Keto is the therapeutic-and-performance protocol that restricts carbohydrates to about 5% to shift the body into ketone metabolism — a commitment with real adaptation costs, not a casual slider. Low fat is the classic endurance-athlete pattern that maximizes carbohydrate room for high training volumes.
Protein: the macro that pays for muscle
Protein is made of amino acids; nine of them are essential — the body cannot make them and must receive them from food. Digestion breaks dietary protein down, and the body reassembles the amino acids into its own structures: contractile muscle fibers, enzymes, antibodies, transport proteins, and hormones. Resistance training signals which structures to build; dietary protein supplies the bricks. Without the signal, extra protein is not stored as muscle; without the bricks, the signal cannot be executed.
How much do you need? The recommended dietary allowance (about 0.8 g per kg of body weight) is the minimum to prevent deficiency in sedentary adults — not an optimum for anyone training. Research on people who lift consistently supports a range of roughly 1.6–2.2 g per kg of body weight per day to maximize muscle retention and growth; during a calorie deficit the upper half of that range is the safer residence because protein's thermic effect and satiety both help the diet, and muscle preservation becomes harder in an energy shortage. Spread across three to five feedings of at least 0.3 g per kg each, this fits comfortably into ordinary meals.
Protein quality varies with leucine content and digestibility, but over a full day of mixed eating, variety handles quality for you: animal proteins (meat, fish, eggs, dairy) are complete, and complementary plant pairs — legumes with grains, such as the fava beans and bread of a traditional Middle Eastern breakfast — together cover the essential amino acids. The table below gives honest per-100 g reference values for the proteins that actually appear in everyday kitchens.
| Food | Protein (g) | Calories |
|---|---|---|
| Chicken breast, cooked | 31 | 165 |
| Tuna, canned in water | 26 | 116 |
| Lean beef, cooked | 26 | 250 |
| Salmon, cooked | 20 | 208 |
| Shrimp, cooked | 24 | 99 |
| Egg, whole | 13 | 155 |
| Greek yogurt, nonfat | 10 | 59 |
| Cottage cheese | 11 | 98 |
| Whey protein powder | 80 | 400 |
| Lentils, cooked | 9 | 116 |
| Chickpeas, cooked | 8.9 | 164 |
| Fava beans, cooked | 7.6 | 110 |
| Tofu, firm | 8 | 76 |
| Peanut butter | 25 | 588 |
| Almonds | 21 | 579 |
| Full-fat milk | 3.2 | 61 |
| White rice, cooked | 2.7 | 130 |
| Oats, dry | 17 | 389 |
Carbohydrates: the performance macro
All carbohydrates end up as glucose, but the packaging differs: sugars hit the bloodstream quickly, starches arrive in chains that digest at various speeds, and fiber — technically a carbohydrate — mostly feeds gut bacteria and slows everything else down. The quality question is not "how many grams" but "in what wrapper": 100 g of carbohydrate from oats, lentils, fruit, and vegetables comes packaged with fiber, water, vitamins, and slow digestion; the same 100 g from soft drinks and candy arrives naked and fast.
Carbohydrates are stored as glycogen — roughly 300–500 g across muscle and liver in an average adult — and that storage is the tank for intense effort: lifting, sprinting, sparring, interval work. This is why the low-fat preset (55% carbs) exists for high-volume endurance training and why a keto athlete must go through weeks of adaptation before high-intensity performance normalizes. If you train hard most days, the 40% balanced default or higher serves you; if you train lightly or prioritize fat loss appetite control over performance, the low-carb and keto patterns trade some top-end fuel for steadier hunger.
Fiber deserves its own sentence: target roughly 25–38 g per day (14 g per 1,000 kcal is the common guideline), which on any preset is best reached through legumes, vegetables, fruit, and intact grains rather than supplements. Fiber slows glucose delivery, feeds the microbiome, and is the difference between a 40%-carb diet that feels steady and one that swings you between sugar highs and crashes.
Fat: the health floor you must not drill through
Dietary fat carries the fat-soluble vitamins, builds cell membranes, and provides the raw material for steroid hormones. Two fatty acids — linoleic acid (omega-6) and alpha-linolenic acid (omega-3) — are essential: the body cannot synthesize them, and a diet that drills fat too low eventually develops deficiency symptoms. This is why every preset in this calculator keeps fat at or above roughly 0.5–0.6 g per kg of body weight when translated to a typical calorie budget, and why the low-fat preset still reserves 10% of calories for fat.
Within the fat budget, the type distribution matters as much as the total. Emphasize monounsaturated fats (olive oil, nuts, avocado) and polyunsaturated fats including the marine omega-3s EPA and DHA from fatty fish; keep saturated fat moderate; and treat industrial trans fats — the hydrogenated oils of cheap pastries and fried fast food — as a minimize-always category, since they remain the one fat class with consistently negative cardiovascular evidence. On a keto preset at 70% fat, these quality rules stop being decoration and become the whole diet's character: build the fat tower on olive oil, eggs, fish, nuts, and dairy rather than processed meats and seed-oil fryers.
Which split fits your goal?
For fat loss, bias toward the high-protein preset (45/35/20) or run balanced with protein pinned at the top of the 1.6–2.2 g/kg range: protein defends muscle in an energy shortage, keeps satiety manageable, and costs slightly more calories to digest. Do not drop fat below the health floor chasing bigger deficits — cut from carbohydrates first, because dietary fat is structural while carbohydrate is operational fuel.
For muscle gain, the balanced preset (30/40/30) with a modest calorie surplus is the workhorse: carbohydrates fuel the training that builds the stimulus, and the extra insulin environment supports recovery. Skin-and-bones beginners can push carbs higher; anyone gaining fat faster than muscle should trim the surplus, not the protein. For general health and long-term maintenance, the honest answer is that several splits work: the Mediterranean-style balanced pattern wins adherence studies not through magic ratios but through food quality, fiber, and enjoyable meals — the split you can live with beats the split you can only survive for two weeks.
A special word on keto (25/5/70): it is a legitimate, well-studied pattern — for epilepsy management historically, and for people whose appetite and adherence genuinely improve in ketosis — but it is not a faster route to fat loss despite water-scale impressions in week one. That early drop is glycogen and its stored water, not fat. Choose keto because your life works better inside it, not because the internet said it burns fat faster; the research repeatedly shows energy balance still rules.
From daily grams to actual meals
A macro plan becomes real when it survives contact with a kitchen. The practical method: divide your daily protein across three to five meals first (protein anchors each meal and keeps per-meal amino acid availability useful), then attach carbohydrates where they serve you — around training, or at the meal you enjoy most — and let fat fill in as the cooking medium and flavor carrier. On a 2,000-kcal balanced target this might look like: breakfast of eggs with ful (fava beans) and a slice of bread; a lunch of chicken with rice and a large salad with olive oil; a dinner of fish or lentils with vegetables; and a yogurt-and-fruit snack in between.
Two habits carry most of the value. First, build repeatable meal templates — the same breakfast on weekdays, two rotating lunches — so logging becomes effortless and intake variance collapses; variety lives in dinner and seasonings. Second, think in "portion units" you can eyeball: a palm of protein, a fist of carbohydrate, a thumb of fat, unlimited watery vegetables. Eyeballing is less precise than a scale, but a plan you can execute at a restaurant with your eyes is worth more than a perfect plan that only works at home with a food scale. The dedicated meal planner tool turns these templates into a full day with per-item macros and a running total.
Adjusting the split as your body responds
Run any chosen split for two to three weeks under consistent measurement — same scale, same time of day, weekly averages — before judging it. If weight trend, training performance, hunger, and digestion all point the right way, change nothing. If fat loss stalls with everything else clean, the first lever is total calories, not the macro ratio; if you feel flat and weak in training on low carbs, raise carbohydrate (and reduce fat to keep calories equal) before abandoning the plan. The split serves the outcome, never the reverse.
Recalculate after every 4–5 kg of body-weight change, because a smaller body spends less and your protein floor shifts with it. Diets that succeed long-term are revisited, not abandoned: the preset that carried you through a 12-week cut will need re-balancing for the maintenance that follows, and the muscle-gain split of a 70 kg beginner is not the split of the 82 kg intermediate he becomes.
Tracking macros in the real world
A gram target is only as good as the logging habit that feeds it. The professional workflow: read the per-100-gram column on the package (not the per-serving figure, which the manufacturer chooses to flatter), weigh the portion in the state you will actually eat it (cooked weight for rice and pasta, with a one-time calibration of your household cups and spoons against the scale), and enter the grams. For whole foods without labels, a food database or this site's food library covers the per-100 g values. Two weeks of this builds a calibrated eye that stays accurate within about 10% — good enough for every purpose except final-stage cuts.
The three errors that quietly ruin otherwise honest logs: the cooking oil error (a tablespoon of oil added to the pan is 120 kcal that evaporates from memory the moment it leaves the bottle — log it), the weekend amnesia error (two relaxed days per week can carry a third of the week's calories and undo four disciplined days), and the liquid calorie error (juices, lattes, and sugary teas bypass the fullness system almost entirely). Correct those three and most "my macros do not work" cases resolve themselves; the macro calculator was never the broken part.
Finally, know when to stop: the goal of tracking is a plan you can execute, not a surveillance state over food. Hit weekly averages, accept 10% error as the natural noise floor of real kitchens, and graduate to eyeballed portions once your weight trend proves the eyes are calibrated. Precision is a tool you pick up for specific missions — plateaus, deadlines, competition prep — and put down again when the mission ends.
Frequently asked questions about this tool
How many grams of protein per day do I really need?
If you train with weights or play sport seriously, research supports roughly 1.6–2.2 g per kg of body weight daily — a 75 kg person lands between 120 and 165 g. Sedentary adults are fine near 0.8–1.0 g per kg, which is the deficiency-prevention level, not an optimum. During a fat-loss diet, live in the upper half of the range: muscle is easiest to lose when calories are short.
Do macro ratios matter if calories are right?
For body weight alone, calories dominate — controlled feeding studies show weight change tracks energy intake regardless of ratio. For body composition, performance, hunger, and health, the ratio matters a lot: adequate protein preserves muscle in a deficit, carbohydrate availability sets training quality, and fat below the floor damages hormones and vitamin absorption. Get calories right first, then use the ratio to decide what the weight is made of and how the diet feels.
Is the keto split safe long-term?
For most healthy adults, nutritional ketosis at 25/5/70 is tolerable for months and shows respectable outcomes in weight-loss trials. The honest caveats: the first one to two weeks carry the "keto flu" adaptation; fiber often runs low unless vegetables are deliberate; athletic top-end intensity can suffer; and anyone with kidney disease, liver disease, or on glucose-lowering medication needs medical clearance first. It is one legitimate pattern among five — not a superiority claim.
Can I eat more protein than the calculator says?
Yes, within reason. Healthy kidneys handle substantially more protein than sedentary guidelines recommend, and slightly overshooting your target costs little — excess protein is mostly oxidized for energy, which does displace carbohydrate calories if your calorie budget is fixed. The practical ceiling is where protein crowds out so much fat and carbohydrate that meals become monotonous, fiber drops, and training fuel suffers. People with diagnosed kidney disease are the population that should treat protein as a prescribed number, not a floor.
Do carbs at night turn into fat?
No more than carbs at noon do. Fat gain follows the total energy balance over days, not the clock; controlled studies feeding the identical calories either earlier or later show no meaningful difference in fat outcomes. Night carbs can even aid sleep and next-day training recovery. What actually matters at night is total daily intake discipline and not eating half the day's calories from dessert-quality sources after dinner.
What is a macro cycle or refeed?
A refeed is a planned higher-carbohydrate day (often +50–100 g, calories near maintenance) inserted into a long diet, typically once or twice a week. The mechanism that matters is practical: restored glycogen for training, a psychological break, and better adherence — not the metabolic "starvation mode reset" of popular lore. Refeeds earn their place on long cuts; on a short 4-week diet they are mostly a preference.
How do I count macros in mixed dishes?
Decompose the dish into its components and log each: a piece of mahshi, a stew, or a koshari bowl is still rice + protein source + fat + vegetables in known proportions. For home cooking, log the raw ingredients you actually used divided by portions served — that is more accurate than any database entry for "one plate". Restaurant meals: pick the nearest decomposed equivalent, accept ±20% error, and keep such meals a minority of the week.
Is 30% protein too much for kidneys?
For people with healthy kidneys, no — years of higher-protein diets in athletic populations show no adverse renal outcomes in the research. The 30% figure on a 2,000-kcal budget is 150 g, squarely inside the evidence-supported range for a training adult. The caution belongs to diagnosed kidney disease and to combined extremes (very high protein plus very low hydration for long periods). If you have a kidney diagnosis, set protein targets with your physician.
Should macros be exact every day?
No — hit weekly averages instead. Protein behaves best as a daily anchor (within about ±20 g), but carbohydrate and fat can swing meaningfully day to day as long as the week totals land near plan. This is what makes social life compatible with a macro diet: a heavier Saturday and a lighter Tuesday average out. Precision is a tool for plateau-breaking, not a forever lifestyle.
Which preset should a beginner choose?
Balanced (30/40/30), almost always. A beginner's results come from training consistency and overall diet adherence, not ratio optimization; the balanced preset teaches the skill of combining a protein source, a carbohydrate source, vegetables, and a sensible fat portion at every meal — a template that transfers to any future goal. Graduate to high-protein for a serious cut, or experiment with keto only if appetite control is your specific battle.