Convert protein, carbohydrate, and remaining fat percentages into approximate whole grams for one calorie target.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Protein and carbohydrate receive their entered shares of daily calories, and fat receives the exact percentage left to reach 100. General Atwater factors divide those energy shares by 4 kcal per gram for protein and carbohydrate and 9 kcal per gram for fat before grams are rounded.
Calories: 2000 Protein percent: 30 Carb percent: 40
Protein grams: 150 Carb grams: 200 Fat grams: 67 Fat percent: 30 Protein calories: 600 Carb calories: 800 Fat calories: 600
Nutrition-label reviews, meal-preparation plans, and sports diet plans translate an energy target into approximate gram amounts before particular foods are chosen.