Enter your daily calories and a percentage split. We convert it to grams using 4 kcal/g for protein and carbs and 9 kcal/g for fat.
Educational content only. Not medical advice. See a qualified clinician.
Your result appears here after you tap Calculate / Convert (or press Enter).
How it is calculated
Protein g = calories × protein% ÷ 4. Carbs g = calories × carbs% ÷ 4. Fat g = calories × fat% ÷ 9.
Accepted ranges for healthy adults are roughly 45–65% carbohydrate, 20–35% fat and 10–35% protein. People with diabetes, kidney disease or other conditions should adjust with a dietitian.
Sources: Institute of Medicine — Dietary Reference Intakes (AMDR) · WHO — Healthy diet fact sheet. Content last updated: . Educational content — not a substitute for professional medical advice.
Embed this calculator on your site
Copy the code below and paste it into your website, blog or intranet. It is free.
Measure waist at the midpoint taught by your clinic when possible.
Body calculators are population tools; muscle mass and ethnicity shift interpretation.
Seek clinician advice before major diet or training changes if you use glucose-lowering medicines.
Free online health tool and medical education calculator for diabetes literacy. Built for worldwide use (mg/dL and mmol/L, NGSP % and IFCC mmol/mol where relevant). No signup. Values stay on your device.
FAQ — Macro Calculator (Protein, Carbs, Fat)
What are macros?
Macronutrients — protein, carbohydrate and fat — the nutrients that supply calories.
How many calories per gram?
Protein and carbohydrate: 4 kcal/g. Fat: 9 kcal/g. Alcohol: 7 kcal/g.
What is the best macro split?
There is no single best split. Reference ranges for adults: carbs 45–65%, fat 20–35%, protein 10–35%.
Do the percentages need to add to 100?
Ideally yes. The calculator shows the total you entered.
Can BMI diagnose diabetes?
No. BMI is only one risk-literacy marker. Diagnosis needs clinical evaluation and labs.