Life Calculator
Understand the numbers · Make life easier

User-set calories and macronutrient energy ratios

Convert a user-chosen calorie amount and energy percentages into estimated protein, fat and carbohydrate grams.

Start with your own numbers

Editable example

An example is filled in. Replace it with your own data to calculate.

Enter your chosen total energy and three energy percentages; the shares must total 100%.

Loading calculator…

Enter a total energy amount you have already chosen or confirmed.
Enter the energy percentage for protein, not a food weight percentage.
Enter the energy percentage for fat, not a food weight percentage.
Enter the energy percentage for carbohydrate; all three must total 100%.

Results update when inputs are complete. A plan is kept only when you save it. Inputs and results are not uploaded.

Saved plans →

Saved in this browser. Before changing devices, export a backup from My tools.

Example result

Estimated protein

100g

Gram amounts use general factors and are not personal dietary advice or actual absorption.

Estimated fat66.67 g
Estimated carbohydrate250 g
Energy allocated to protein400 Thermochemical kilocalories (4,184 J)
Energy allocated to fat600 Thermochemical kilocalories (4,184 J)
Energy allocated to carbohydrate1,000 Thermochemical kilocalories (4,184 J)

Worked steps

  1. Multiply the entered total energy by each energy share.
  2. Use 4 kcal per gram for protein and carbohydrate and 9 kcal per gram for fat.
  3. Shares are percentages of energy, not food weight. General-factor results are approximate.

Energy and all three percentages are chosen by the user and must total 100%. The example is arithmetic, not a recommended intake or ratio. General factors are 4 kcal per gram for protein and carbohydrate and 9 for fat. Fiber, sugar alcohol, alcohol and actual labeling methods may differ; this is not package labeling or actual absorption. Energy share is not food weight share. This tool does not determine individual energy needs, dietary safety or treatment. Ask a clinician or dietitian about individual needs.

Method and scope

The total energy and all percentages are user chosen. The example is arithmetic only, not a recommended target or diet.

General 4/9/4 kcal per gram factors are estimates; fiber, sugar alcohol, alcohol and food labeling methods can differ.

References:Taiwan FDA: energy calculations for nutrition labeling

Purpose

Convert a user-chosen total energy amount and three energy shares into approximate macronutrient grams.

Inputs

Enter the total kilocalories and each percentage for protein, fat and carbohydrate; their sum must equal 100%.

Formula

Multiply total energy by each percentage, then divide protein by 4, fat by 9 and carbohydrate by 4 kcal per gram.

Example

For 2,000 kcal at 20% protein, 30% fat and 50% carbohydrate, the estimates are 100 g, 66.67 g and 250 g respectively.

Reading the result

The percentages describe energy shares rather than the weights of foods, and each gram result is an approximation.

Limits

Fiber, sugar alcohol, alcohol and labeling methods may differ. This does not set personal targets or replace dietary advice.

Keep it handy for next time

Add User-set calories and macronutrient energy ratios to your home screen

This icon opens this tool. Confirm installation in your browser.

  1. iPhone: Open in Safari, tap Share → Add to Home Screen, then confirm.
  2. Android: Open in Chrome and choose Install app or Add to Home screen from the menu.
  3. In an in-app browser such as LINE or Facebook, use its menu to open the page in Safari or Chrome first.

Browser options vary. A shortcut does not provide cross-device synchronization, and an installed app may have separate storage. Export a backup from My tools first. The first load requires a connection.

Checking offline data.