Split calories into grams of protein, carbohydrate, and fat.
How this calculator works
Protein and carbohydrate grams are calories times the percent, divided by 4. Fat grams use 9 calories per gram. The three percents should add to 100. If they do not, the grams simply follow the percents you typed.
Questions
Do the percents have to sum to 100?
The page does not force it. Check the total yourself.
Is this a diet?
No. It is arithmetic.
Why is fat divided by 9?
That is the usual Atwater factor for fat.