Set a daily calorie target and a macronutrient split, and this calculator converts the percentages into grams of protein, carbohydrate, and fat. It uses the standard energy values of 4 calories per gram of protein, 4 per gram of carbohydrate, and 9 per gram of fat, which is why the same calorie number produces very different gram totals across the three nutrients. Adjust the split to match a higher protein plan, a balanced plan, or a lower carb approach, and the grams update instantly. Everything is calculated locally in your browser, so your numbers stay private. This tool is for general information and planning only, not medical or nutritional advice, so treat the output as a starting point and confirm targets with a qualified professional if you have specific goals or conditions.
It multiplies your calorie target by each chosen percentage, then divides by 4 for protein and carbs and by 9 for fat, since fat carries 9 calories per gram.
Yes. The protein, carb and fat shares represent your whole calorie budget, so they should sum to 100 percent for the grams to add up.
Yes. You choose the percentages, so you can set a high protein, balanced or low carb split as you prefer.
Set a daily calorie target and a macronutrient split, and this calculator converts the percentages into grams of protein, carbohydrate, and fat. It uses the standard energy values of 4 calories per gram of protein, 4 per gram of carbohydrate, and 9 per gram of fat, which is why the same calorie number produces very different gram totals across the three nutrients.
Yes. Macro Split Calculator is completely free, with no sign-up and no usage limits.
Yes. Macro Split Calculator runs in any modern web browser. There is nothing to download or install.
Yes. Macro Split Calculator runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/macro-split-calculator)