UTILS.
Private by default
🍗

Macro Calculator

Split your daily calories into grams of protein, carbs and fat from a ratio preset.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Choose a daily calorie target and a macronutrient ratio preset to see how many grams of protein, carbohydrate and fat you should eat, plus the calories each provides. Everything is computed live in your browser.

Frequently asked questions

How are grams derived from calories?
Each ratio splits your total calories, then the calories per macro are divided by 4 kcal per gram for protein and carbs and 9 kcal per gram for fat.
Which preset should I pick?
Balanced is 30/40/30, low-carb shifts energy to protein and fat, high-protein favours protein, and keto keeps carbs very low — pick the one matching your plan.

More tools