Free macro calculator. Turn your daily calorie target into grams of protein, carbs, and fat for fat loss, maintenance, or muscle gain in seconds.
Calories matter, but macros define your results.
Calculate your ideal protein, carbs, and fat intake based on your calorie goal.
Based on widely used nutrition guidelines.
Macronutrients, or macros, are the three categories of nutrients your body needs in gram quantities every day: protein, carbohydrates, and fat. Micronutrients like vitamins and minerals matter too, but you measure those in milligrams. Macros are the ones that build your calorie total and shape how your body composition changes over weeks and months.
Protein is made of amino acids. It is the raw material for muscle, skin, hair, enzymes, and most of the structural tissue in your body. Every gram of protein delivers 4 kcal. Unlike carbs and fat, your body cannot store protein in a dedicated form, which is why intake needs to be consistent across the day rather than loaded into a single meal.
Carbohydrates break down into glucose, the fuel your muscles and brain prefer for hard work. Every gram of carbs also delivers 4 kcal. Some carbs digest quickly, like fruit and rice, and some slowly, like oats and legumes, but once they reach the bloodstream the body treats them the same way. Stored carbs (glycogen) sit inside muscle and liver waiting to power your next session.
Fat is the densest macro at 9 kcal per gram. It regulates hormones, helps you absorb vitamins A, D, E and K, and is the primary fuel for lower-intensity activity. Dropping fat too low for too long tends to flatten testosterone, menstrual function, and mood, which is why most evidence-based plans keep fat at 20 to 30 percent of calories even during aggressive fat loss phases.
The calculation above follows a simple order: pick a calorie target, set protein first in grams per kilogram of bodyweight, set fat as a percentage of total calories, then fill the remaining calories with carbs. Running the numbers by hand looks like this for a 75 kg person eating 2200 kcal in a fat loss phase:
That is the identical logic this calculator runs in your browser. You change a value, it recomputes instantly, and your inputs save locally so they are still there when you come back tomorrow.
Research on trained lifters consistently lands in the 1.6 to 2.2 grams per kilogram range for people chasing muscle growth or preserving muscle during a cut. Going above 2.2 g per kg does not add extra muscle in almost any study, but it does increase satiety, which makes a dieting phase easier to survive. Going below 1.4 g per kg increases the risk of losing lean tissue alongside fat when calories are low.
For fat loss, the higher end of the range is the safer bet. When you are in a calorie deficit, protein protects muscle from being broken down for energy, keeps you full for longer per calorie, and costs the most energy to digest (roughly 25 percent of its own calories, compared to 8 to 10 percent for carbs and 2 to 3 percent for fat). That digestion cost alone can account for 80 to 120 kcal per day on a high-protein plan.
For muscle gain, protein requirements sit a touch higher but the real lever is total calories and training stimulus. Eating 3.0 g per kg will not grow muscle faster than 2.2 g per kg if you are not lifting hard. Eating 1.2 g per kg while lifting hard leaves progress on the table. The sweet spot for serious lifters in a surplus is 1.8 to 2.4 g per kg.
Carbs are not uniquely fattening. Every well-designed study that matches calories and protein between a low-carb and higher-carb group has found roughly the same fat loss on both. The real driver of fat loss is the calorie deficit, not which macro supplies the calories.
What low-carb diets sometimes do well is help people eat fewer calories without counting, because protein and fat are more filling per calorie than ultra-processed carbs. That is an adherence effect, not a metabolic one. If you track intake and hit your calorie and protein targets, carbs can sit almost anywhere from 15 to 60 percent of your diet without changing the scale result.
For anyone who trains with intensity, carbs earn their keep. They refill muscle glycogen, keep hard sessions feeling sharp, and make training something you look forward to rather than grind through. The few cases where a carb-lower approach genuinely wins are metabolic syndrome, insulin resistance, and people who simply prefer the eating style. None of those cases apply to most readers.
The three goal buckets call for small but meaningful shifts in the split:
Everything above assumes a reasonable calorie target to start from. If you still need to dial that in, run our calorie calculator first, then come back here to split those calories into macros.
| Goal | Protein (g/kg) | Fat (% cal) | Carbs |
|---|---|---|---|
| Fat loss | 1.8 to 2.2 | 20 to 30 | Remainder |
| Maintenance | 1.6 to 2.0 | 25 to 30 | Remainder |
| Muscle gain | 1.8 to 2.4 | 20 to 25 | Remainder |
Calories decide whether you gain or lose weight. Macros decide what the weight is made of. A 500 kcal deficit with 0.8 g per kg of protein will lose weight, but a meaningful chunk of that loss will be lean tissue. The same 500 kcal deficit with 2.0 g per kg of protein and a real lifting plan will lose almost pure fat.
So the honest answer is both, in order. Calories first: if that number is wrong, macros cannot save the plan. Macros second: once calories are in range, the protein target is the single highest-leverage nutrition variable you can control. After protein, fat and carbs are more about personal preference, training style, and how full you like to feel at meals.
The people who get noticeably leaner or more muscular over a 6 to 12 month window almost always have two things in common. Their calorie target is set roughly right for their goal, and their protein intake is high and consistent. Everything else is optimisation on top of those two.
A macro calculator turns a daily calorie target into gram-by-gram targets for protein, carbs, and fat. You enter your calories, bodyweight, and goal, and the tool applies research-backed ratios to split those calories into the three macros so your body has what it needs to hit the goal you picked.
Start with a calorie target that matches your goal. Set protein first, usually between 1.6 and 2.4 grams per kilogram of bodyweight. Set fat next at 20 to 30 percent of total calories. Fill the rest with carbs. This calculator runs all of that automatically once you enter your numbers.
For most adults who train, 1.6 to 2.2 grams per kilogram of bodyweight is the evidence-backed range. A 75 kg person lands around 120 to 165 g per day. Push toward the top of the range during fat loss to protect muscle, and during muscle gain to support growth.
A common and effective fat loss split is roughly 30 percent protein, 25 percent fat, and 45 percent carbs, adjusted for bodyweight and activity. The exact percentages matter less than hitting a high protein target, keeping fat above 20 percent of calories, and staying in a modest calorie deficit you can sustain for weeks.
No. Carbs are not inherently fattening. Weight loss depends on calories, not on which macro supplies them. Low-carb diets can help some people eat fewer calories naturally, but controlled studies that match calories and protein show similar fat loss on high-carb and low-carb plans.
Track calories if you are just starting out and want the simplest possible tool. Track macros once calorie control feels easy and you want to get specific about body composition. Macros add one layer of precision on top of calories, most usefully for hitting your protein number every day.
This calculator applies protein, fat, and carb ratios that align with current sports nutrition literature, including recommendations from the International Society of Sports Nutrition. The numbers are population guidelines, tuned for healthy adults with a body composition goal.
Individual needs vary. Training history, sleep, stress, medical conditions, and genetics can all shift the ideal split by 10 to 20 percent in either direction. Treat the output as a well-informed starting point, then adjust from real results: weigh in weekly, track performance in the gym, and nudge protein or calories by 100 to 150 kcal if your trend is not moving the way you want.
The tool runs entirely in your browser. No data leaves your device, nothing is stored on our servers, and your last-used inputs are saved to local storage so you can come back without retyping.
OKKAI Community
Do you track what macros you eat?
Core feature
Point your camera at any meal — restaurant dish, homemade food, snack, smoothie. OKKAI identifies what you're eating and returns a complete nutritional profile in seconds.
Community
Every meal logged by OKKAI users — from Stockholm to Seoul.
Features
Intelligence
OKKAI ingests your sleep, exercise, food, weight, age, location and weather data. It breaks food down to its smallest compounds, computes vitamin and mineral half-lives, and models your body's current state as accurately as possible from all available data.
The OKKAI engine keeps track of what cannot be seen.
Computed every hour.
Your body is never static. Vitamins deplete, minerals interact, absorption rates shift with activity and time of day.
The engine recomputes every hour in order to give a suggestion on what to eat and when.
Integration
OKKAI reads from and writes to Apple Health — bi-directionally. Every meal pushes macros, vitamins, and minerals into your health record. Every workout and sleep session flows back into OKKAI's analysis.
Reads from Health
Writes to Health
FAQ
Social
What people on Instagram say.