Skip to content
← All tools
Free tool

Macro Calculator

Find your daily protein, carbohydrate, and fat targets with an IIFYM (If It Fits Your Macros) split. Enter your stats, pick a goal and a diet preset, and get the exact grams you need — free, instant, no sign-up.

Sex
Daily / job activity

Mostly seated — office, driving, studying

Exercise

Regular training

Goal

Stay at your current weight

Diet preset
Example — enter your details

Daily calorie target

2,663kcal

Protein / Carbs / Fat

Protein

165g

25% · 660 kcal

Carbs

286g

43% · 1,144 kcal

Fat

95g

32% · 855 kcal

Swoodie sets its own daily macro targets from your profile and diet style — they can differ from this calculator's — and tracks every meal against them — scan a plate or barcode to log protein, carbs, and fat instantly.

Get Swoodie free

Weight-loss guide
In the app

Your macros in Swoodie

The calculator splits your calories into protein, carbs and fat once. In the Swoodie app the split is part of your daily target, and every meal you log fills the three bars.

  • Swoodie Goals & Stats screen, Goals tab: Weekly pace 0.5 kg/wk and Target weight 64.0 kg with − and + buttons, the note “Your target already includes your usual activity — workouts and steps are shown for reference and don't add to your daily budget.”, Daily water goal 8 cups per day, and a Daily targets card with BMR 1,462 BASE, TDEE 1,901 TOTAL and SUGGESTED 1,462 DAILY, “To keep this healthy, we've set your goal to the lowest we recommend for you.”, the modes Auto (selected), Custom and Adaptive, “Targets recalculate from your body stats.” and Diet style: Standard (selected), Keto, Low-carb, High-protein, Low-GI and Insulin resistance.
    SplitGoals & Stats holds your daily targets and the diet style that sets the split.
  • Swoodie Meal Journal for Today: a ring at 77% showing 1120 of 1,462, bars for Protein 79/112g, Fat 47/39g and Carbs 98/165g, a week strip with the 4th selected and a Coach Ollie card.
    JournalThe meal journal fills the protein, fat and carb bars meal by meal.
  • Swoodie Profile screen: a ring with 342 LEFT in the middle, beside Energy 1120 / 1462 kcal, Protein 79 / 112 g and Water 6 / 8 cups, above the buttons Log meal, Log water and Log move, a Goals & Stats row and a Macros card with Protein, Carbs and Fat rings.
    TodayYour Profile keeps today's calories and macros in view.
Pick a diet style
Standard, keto, low-carb, high-protein and more: the style changes how your target splits across protein, carbs and fat, never the calories. Free on every plan.
Your own grams
Prefer to set the grams yourself? Custom macro targets let you type your own protein, carb and fat goals, and every meal is tracked against them. They come with Swoodie Lite or Premium.
Log it your way
Photo, barcode, text or search, or Quick Add: type the calories straight in, with no photo and no AI.
A target that keeps up
Switch your target mode to Adaptive and Swoodie retunes your daily calories and macros every Monday from your logged meals and your weight trend, and shows its working. Adaptive targets come with Swoodie Lite or Premium.

Start with your number: calorie and macro tracking is free on every plan.

Want a full plan, not just a number?

Get your personalized targets and a 7-day plan in about a minute — free, no account needed.

Build your free plan →
Recommended next stepTrack it in Swoodie

How do I calculate my macros?

Work out your daily calorie target, then split it between protein, carbs and fat. Protein and carbs have 4 kcal per gram and fat has 9. The calculator opens with a 30-year-old man, 178 cm (5'10") and 75 kg (165 lb), with a desk job, training 4–5 times a week, on the Balanced preset at maintenance. For him that comes to 2,663 kcal a day: 165 g protein, 286 g carbs and 95 g fat. The same profile for each goal:

  • Maintain, Balanced (30/40/30): 2,663 kcal — 165 g protein, 286 g carbs, 95 g fat
  • Lose weight, Balanced (about 0.5 kg / 1 lb a week): 2,113 kcal — 158 g protein, 212 g carbs, 71 g fat
  • Lose weight, High-Protein (40/30/30): 2,113 kcal — 165 g protein, 182 g carbs, 81 g fat
  • Gain muscle, Balanced (lean bulk): 3,076 kcal — 165 g protein, 345 g carbs, 115 g fat

The preset sets the split: Balanced is 30% protein, 40% carbs and 30% fat, High-Protein 40/30/30, Low-Carb 40/20/40 and High-Carb 25/55/20. Protein stops at 2.2 g per kg of body weight, which is 165 g for this profile. The calories protein would have taken go to carbs and fat in the preset's ratio, so at maintenance the Balanced result works out to about 25% protein, 43% carbs and 32% fat. These figures are estimates, so use them as a starting point and adjust after 2–3 weeks of tracking your weight.

What are macros?

Macronutrients — or macros — are the three main energy-providing nutrients in food: protein, carbohydrates, and fat. Each supplies a specific number of calories per gram: protein and carbs each deliver 4 kcal/g, while fat delivers 9 kcal/g. Hitting your daily calorie target is the single biggest lever for changing body weight; how you split those calories between protein, carbs, and fat determines your body composition — how much of any weight change is muscle versus fat.

What is IIFYM (If It Fits Your Macros)?

IIFYM stands for If It Fits Your Macros. Rather than following a rigid meal plan with specific "allowed" foods, IIFYM gives you a daily target for each macronutrient and lets you choose any foods that add up to those numbers. The approach blends the precision of counting with the flexibility to include any food you enjoy, which makes it easier to stick to long-term than restrictive diets.

The flexibility does not mean anything goes — you still need to hit your calorie target and ideally prioritise micronutrient-dense whole foods. But within those constraints, a Friday-night takeaway that fits your macros is perfectly compatible with your goals.

How the macro split is calculated

This calculator first computes your TDEE (Total Daily Energy Expenditure) using the Mifflin-St Jeor equation — or the Katch-McArdle formula if you supply a body-fat percentage — then multiplies it by a two-axis activity factor (daily occupation + structured exercise). See the TDEE calculator for a deeper breakdown of that step.

Your selected goal then sets your daily target from your TDEE with the rules the Swoodie app uses (never below your BMR or 1,200 kcal a day for women and 1,500 for men):

  • Lose weight — about 0.5 kg (1 lb) a week, ≈ 550 kcal below your TDEE, capped at 1% of your body weight a week and a quarter of your TDEE
  • Maintain — no adjustment
  • Gain muscle — a lean-bulk surplus of up to 0.5% of your body weight a week, at most +500 kcal (minimises fat gain)

That calorie total is then divided between protein, carbs, and fat according to the chosen diet preset:

  • Balanced — 30% protein / 40% carbs / 30% fat — the evidence-backed starting point for most people
  • High-Protein — 40% / 30% / 30% — ideal when building or preserving muscle, or on a deficit
  • Low-Carb — 40% / 20% / 40% — reduces carbohydrate and raises fat; suits those sensitive to carbs
  • High-Carb — 25% / 55% / 20% — maximises glycogen for endurance athletes and heavy training days
  • Protein never goes above 2.2 g per kg of body weight (counted on your weight at a BMI of 25 if you weigh more) — more brings no extra benefit — and the calories it would have taken go to carbs and fat in the preset's ratio.

Grams are calculated by dividing the allocated calories by the caloric density of each nutrient: (target kcal × ratio) ÷ 4 for protein or carbs, ÷ 9 for fat.

Which diet preset should I choose?

Balanced is the right default for most people. High-Protein is the best choice when you are on a calorie deficit and want to preserve muscle — protein is satiating and muscle-sparing. Low-Carb suits anyone who finds carbs trigger cravings or blood-sugar spikes. High-Carb is designed for endurance athletes or people doing heavy daily training who need full glycogen stores. You can also use the calorie deficit calculator to model the deficit side independently, or the protein intake calculator to fine-tune your protein target.

Turning your macros into real meals

Swoodie auto-calculates your macro targets from your profile and then tracks every meal against them in real time. Scan a plate or barcode and the app logs the protein, carbs, and fat instantly — no manual entry needed. It can also generate recipes and a weekly meal plan that hit your remaining macro budget for the day. If your primary aim is fat loss, see the full weight-loss guide.

This tool provides general estimates for healthy adults and is not medical advice. For personalised dietary guidance or if you have a medical condition, consult a registered dietitian or doctor.

Frequently asked questions

What is IIFYM?

IIFYM stands for 'If It Fits Your Macros'. It is a flexible dieting approach where you set daily targets for protein, carbohydrates, and fat and eat any foods that add up to those numbers — rather than following a rigid meal plan of specific allowed foods. The result is precision without restriction.

How many grams of protein, carbs, and fat should I eat?

It depends on your calorie target and diet preset. For a 2,000 kcal balanced split (30 / 40 / 30) you need about 150 g protein, 200 g carbs, and 67 g fat. A high-protein 40/30/30 split at 2,000 kcal gives about 200 g protein, 150 g carbs, and 67 g fat. Use this calculator with your own stats for a personalised result.

Which macro split is best for weight loss?

A high-protein split (40% protein / 30% carbs / 30% fat) combined with a calorie deficit is most effective for fat loss. High protein is satiating, preserves muscle while you are in a deficit, and has a higher thermic effect than carbs or fat. A balanced 30/40/30 split also works well for most people.

Can I change my macro split at any time?

Yes. Your macro split is a tool, not a contract. If you find that high-carb leaves you hungry, try high-protein. If low-carb makes training feel flat, switch to balanced or high-carb for a few weeks and see how your performance and hunger respond. The daily calorie target matters more than the exact split.

How accurate is this macro calculator?

Formula-based calorie estimates are typically within 5–15% of your true expenditure. Use the result as a starting point, track your weight for 2–3 weeks, and adjust your calorie target up or down by 100–200 kcal based on the actual trend. The macro ratios stay the same; only the total calories shift.