d•dailytoolbox

Macro calculator

Turn your calorie target into protein, fat and carbs.

Choose your own targets. Percentages must total 100.

What is this tool?

Convert a chosen calorie total and percentage split into grams of protein, fat and carbohydrate. It is a mathematical breakdown of inputs you supply, rather than a tool that decides your nutritional needs or recommends a particular diet.

How to use it

  1. Read the input labels and limits below, then choose the operation that matches your task.
  2. Enter the calorie total you want to divide.
  3. Set protein, fat and carbohydrate percentages so their sum equals 100.
  4. Calculate and review the gram values together with the entered split.
  5. Check the result against the worked example or original file before copying, downloading or using it elsewhere.

Worked example

At 2,000 calories, a 25% protein share assigns 500 calories to protein, equivalent to 125 grams at four calories per gram. Fat uses a different divisor, so equal percentages do not mean equal gram amounts.

Questions & limits

Protein and carbohydrate use 4 kcal per gram; fat uses 9 kcal per gram. The initial split is an example, not a personalized recommendation. A clinician or registered dietitian can help set suitable targets.

Why must the percentages add up to 100?

Protein, carbohydrate and fat shares divide your entered calorie total. If their percentages do not total 100, the split cannot represent that total. The initial values are an example you can change.

Why are fat grams lower for an equal calorie share?

Fat is calculated at nine calories per gram, compared with four for protein and carbohydrate. The same calorie share therefore corresponds to fewer grams of fat.

Using estimates responsibly

These calculations depend on the measurements and assumptions you enter. Check the units and avoid interpreting a single number as a complete assessment. A result can be mathematically correct while still being unsuitable for your personal situation. The page explains the equation and its scope so you can understand what was calculated. It does not diagnose a condition, recommend treatment or replace individual advice. If the result will inform a health decision, discuss your circumstances with a qualified professional.

Features & limits

Accepts a calorie target from 1–10,000 and non-negative percentages that total 100. Protein and carbohydrate use 4 kcal per gram; fat uses 9. The displayed starting split is an example, not a personalized recommendation.

This tool runs in a modern browser with JavaScript enabled. It processes the values or files you enter on your device. Loading the site still makes hosting requests. The separate contact form sends messages to the administrator; it is not part of tool processing. Keep an original copy and inspect any exported result before relying on it.

Frequently asked questions

Why are fat grams lower for an equal calorie share?

Fat is calculated at nine calories per gram, compared with four for protein and carbohydrate. The same calorie share therefore corresponds to fewer grams of fat.

What can I use macro calculator for?

Convert a chosen calorie total and percentage split into grams of protein, fat and carbohydrate. It is a mathematical breakdown of inputs you supply, rather than a tool that decides your nutritional needs or recommends a particular diet.

What are this tool’s limits?

Accepts a calorie target from 1–10,000 and non-negative percentages that total 100. Protein and carbohydrate use 4 kcal per gram; fat uses 9. The displayed starting split is an example, not a personalized recommendation.

Can I try a worked example?

At 2,000 calories, a 25% protein share assigns 500 calories to protein, equivalent to 125 grams at four calories per gram. Fat uses a different divisor, so equal percentages do not mean equal gram amounts.

Do I need an account or upload my input?

No tool account is required. Processing takes place in your browser; your tool input is not sent to the contact inbox. Use a trusted device, keep your originals and avoid including passwords or private credentials in examples.

Related tools