Skip to main content
HSCalculadora

Macros by Goal Calculator

Split a calorie target into protein, carbs and fat.

kcal

Results update as you type.

Protein
—
Carbohydrates—
Fat—

This calculator provides estimates based on population research. Results are not medical advice. Consult a qualified healthcare provider before making health or nutrition decisions.

How it works

Once you know how many calories to eat each day, the next question is how to divide them between protein, carbohydrate and fat, the three macronutrients that supply energy. A macros by goal calculator answers that by splitting your chosen calorie target into grams of each macro according to a ratio suited to your objective. This tool offers three common templates: a balanced 30/40/30 split that works well for general health and maintenance, a low-carb 40/20/40 split favoured for fat loss and appetite control, and a high-protein 40/35/25 split geared toward building or preserving muscle. Because protein and carbohydrate each provide about 4 calories per gram while fat provides about 9, the calculator converts each macro's slice of your calories into grams you can actually track. Getting your macros right, not just your total calories, influences body composition, satiety, energy levels and training performance. Adequate protein preserves muscle during a calorie deficit and keeps you full; carbohydrates fuel intense exercise and brain function; and fats support hormones and the absorption of fat-soluble vitamins. A macros by goal calculator turns an abstract ratio into a concrete daily plan of grams, which is far easier to hit using a food-tracking app or nutrition labels. Ratios are starting points, not rigid rules, so adjust based on how you feel, perform and progress. Whatever the split, prioritising whole, minimally processed foods and enough protein tends to matter more than chasing perfect percentages.

Formula

Grams = calories × ratio ÷ energy per gram (protein & carbs 4 kcal/g, fat 9 kcal/g)

Each goal assigns a percentage of total calories to protein, carbohydrate and fat. The calculator multiplies your calorie target by each percentage to find the calories for that macro, then divides by the macro's energy density to convert to grams. Protein and carbohydrate yield about 4 calories per gram, so their calories are divided by 4, while fat yields about 9 calories per gram and is divided by 9, giving the grams to eat daily.

Source:USDA / Institute of Medicine Acceptable Macronutrient Distribution Ranges

We review all our tools from time to time to ensure accuracy.

Worked example

Daily calorie target:2000Goal:balanced
At 2000 kcal balanced: protein 600 kcal ÷ 4 = 150 g, carbs 800 ÷ 4 = 200 g, fat 600 ÷ 9 ≈ 67 g.

How to use this calculator

  1. 1

    Enter your values

    Enter daily calorie target and goal.

  2. 2

    Adjust the options

    Fine-tune any options to match your situation.

  3. 3

    Read your result

    Protein updates instantly as you type — no button to press.

Frequently asked questions

Which macro split should I choose?

It depends on your goal and preferences. A balanced 30/40/30 split suits general health and is easy to sustain. Low carb, around 40/20/40, can help with fat loss and blood-sugar control and suits people who feel better on fewer carbs. High protein, roughly 40/35/25, favours muscle building and preservation, especially during a deficit or heavy training. There is no single best ratio, so pick the one matching your objective and adjust based on results and how you feel.

How much protein do I really need?

General health needs are around 0.8 grams per kilogram of body weight, but active people and those losing weight benefit from much more, commonly 1.6 to 2.2 grams per kilogram, to build or preserve muscle and stay full. The high-protein and low-carb templates here push protein higher for that reason. If a percentage-based split gives you far less protein than these body-weight targets, lean toward the higher-protein option or raise protein directly.

Why does fat have 9 calories per gram?

Fat is the most energy-dense macronutrient because of its chemical structure: its long chains of carbon and hydrogen store more energy per gram than the partially oxygenated structures of carbohydrate and protein, which each provide about 4 calories per gram. This is why small amounts of fat add up quickly in calorie terms, and why the calculator divides fat calories by 9 rather than 4 when converting to grams. Alcohol, for reference, sits between them at about 7.

Do macros matter more than total calories?

For weight change, total calories are the primary driver, but macros strongly affect the quality of that change and how you feel. The same calories with adequate protein preserve more muscle and control hunger better than a low-protein diet. Carb and fat balance influences energy, training and satiety. So think of it as a hierarchy: set calories first for weight direction, then tune macros, especially protein, for body composition, performance and adherence.

Should the grams be exact every day?

No, precision to the gram is unnecessary and unrealistic. Aim to land within roughly five to ten grams of your protein target and in the general vicinity for carbs and fat, averaged across the week rather than obsessing over a single day. Consistency and hitting protein reliably matter far more than perfection. Use these figures as flexible daily targets, and let real-world results over several weeks guide any adjustments to the ratio or totals.