redtools.

Macro Calculator

Protein/carbohydrate grams = share kcal ÷ 4; fat grams = share kcal ÷ 9.

  • Free
  • No sign-up
  • Runs in your browser

How to use Macro Calculator

Set the labelled inputs for Macro Calculator, calculate, review the units and assumptions, and export your result.

Formula and assumptions

Protein/carbohydrate grams = share kcal ÷ 4; fat grams = share kcal ÷ 9.

Example

2,000 kcal at 20/50/30 gives 100 g protein, 250 g carbohydrate, 66.6667 g fat.

Limits and output

Adult educational estimate only; not a diagnosis or individualized treatment, diet or exercise prescription. Not for children, pregnancy, lactation or medical conditions unless the tool explicitly concerns pregnancy dating. Shares must total 100%; chosen targets are your assumptions, not recommendations.

Good to know

RedTools is an early version of an everyday utility workspace. Image, text, calculation, and developer inputs are processed in your browser.

Your favorites, recently used tool IDs, and theme choice are stored on this device. Tool inputs are not automatically saved. Invoice drafts are saved on this device only when you choose Save draft locally. Hosting can receive ordinary page requests; this app includes no analytics.

Image and PDF tools, including compression and conversion, run locally in your browser.

Icons: Solar by 480 Design · CC BY 4.0. Components: Be UI and shadcn/ui.

↑↓ to move · Enter to open · Esc to close