Macro Calculator Online

Split your daily calories into protein, carb, and fat grams by ratio, right in your browser. A general estimate, not medical advice.

The Macro Calculator runs entirely in your browser. The calories and percentages you enter never leave your device and nothing is uploaded to ArrayKit.

Open the Protein Calculator

About Macro Calculator

Macro Calculator takes your daily calorie target and a protein/carb/fat ratio and converts it straight into grams you can track. Pick a built-in preset — balanced 30/40/30, keto 25/5/70, or high-protein 40/30/30 — or dial in a fully custom split for IIFYM-style flexible dieting. Protein and carbs are converted at 4 kcal per gram and fat at 9 kcal per gram, the standard energy values used by most nutrition apps and food labels. If your three percentages do not add up to 100%, the tool flags it so you can adjust before you commit to a plan. It is built for lifters, endurance athletes, and anyone following a structured eating plan who wants a quick gram breakdown without opening a spreadsheet. This is a general estimate using a standard formula, not medical advice, and every calculation runs locally in your browser.

Features

How to use the Macro Calculator

  1. Enter your daily calorie target
  2. Choose a preset ratio or select Custom
  3. Fine-tune the protein, carb, and fat percentages if needed
  4. Read off protein, carb, and fat grams, or copy the summary

Example

Input

2000 cal, 30/40/30

Output

P 150g · C 200g · F 67g

2000 calories split at a balanced 30% protein / 40% carb / 30% fat ratio.

Common errors & troubleshooting

Frequently asked questions

What is a Macro Calculator?
It is a tool that converts a daily calorie target and a protein/carb/fat percentage split into grams of each macronutrient, using 4 kcal/g for protein and carbs and 9 kcal/g for fat.
How does the Macro Calculator handle keto ratios?
Choose the Keto preset (25% protein, 5% carbs, 70% fat) or enter your own low-carb split, and the tool converts it into daily protein, carb, and fat grams using the standard kcal-per-gram values.
Do my macro percentages need to add up to 100%?
They should for the grams to represent your full calorie target. The Macro Calculator shows a warning if your protein, carb, and fat percentages do not sum to 100%, so you can spot the mistake before tracking against it.
Where should my daily calorie number come from?
Any source works — a target from a doctor, a TDEE calculator, or a coach's recommendation. Enter that number into the Macro Calculator and it handles the protein/carb/fat conversion.
Is the Macro Calculator medical advice?
No. It is a general estimate using a standard formula for converting a calorie and ratio into grams, not medical or nutrition advice. Talk to a registered dietitian or doctor before making significant diet changes.
Does the Macro Calculator store or upload my diet information?
No. Every calculation happens locally in your browser. The calories and percentages you enter are not uploaded to ArrayKit or stored anywhere.

Related tools

All ArrayKit tools