Macro Calculator
This calculator works out your daily protein, carbohydrate and fat targets from a calorie goal, then lets you track your actual eating against those targets. Enter your daily calorie target and choose a macro split, from balanced (30/40/30) through high protein, high carb or moderate splits, or set custom percentages for protein, carbs and fat. The targets bar shows your calorie goal alongside the grams of protein, carbs and fat that split works out to, using 4 calories per gram for protein and carbs and 9 for fat. Below that sits a searchable database of around 1,000 foods, filterable by category, each listed with calories, protein, carbohydrate, fat and fibre per 100g (or 100ml for liquids), drawn from the NZ Food Composition Database, USDA FoodData Central and FSANZ NUTTAB. Add any food to your daily log, adjust the serving size in grams, and the calculator scales the nutrition figures and totals them for you, with progress bars showing how close you are to each target through the day. Use it to plan meals around a weight loss, maintenance or muscle gain goal, or to see where your current eating sits against a sensible split. Food values are approximate averages that vary by brand and preparation, so check packaging where accuracy matters, and treat the targets as a practical guide rather than personalised dietary advice.
1. Daily Calorie Target
Your Daily Food Log
| Food | Serving (g/ml) | Cal | Protein | Carbs | Fat | |
|---|---|---|---|---|---|---|
| Add foods from the database below | ||||||
Food Database (all values per 100g or 100ml)
| Food | Cal/100g | Protein | Carbs | Fat | Fibre |
|---|
Data Sources and Assumptions
All nutritional values are per 100 grams (solid foods) or per 100 millilitres (liquids). Data sourced from the NZ Food Composition Database (Plant and Food Research / MPI), USDA FoodData Central, and FSANZ NUTTAB. Values are approximate averages and may differ by brand, preparation method, cut, and ripeness. For packaged foods, always check the nutrition information panel on the product label. Calorie values use the Atwater factors: protein 4 cal/g, carbohydrates 4 cal/g, fat 9 cal/g. Fibre values shown for reference but not included in the calorie calculation.
Understanding Macros
The three macronutrients provide calories: protein (4 cal/g), carbohydrates (4 cal/g), and fat (9 cal/g). A "macro split" divides your total daily calories among these three. For example, on a 2,000-calorie diet with a 30/40/30 split, you would eat 150g protein (600 cal), 200g carbs (800 cal), and 67g fat (600 cal).
Common Macro Splits
- Balanced (30/40/30): suitable for most people, general health
- High Protein (40/30/30): muscle building, weight loss, preserving lean mass
- High Carb (30/50/20): endurance athletes, high activity levels
- Moderate (25/45/30): general maintenance, moderate activity
Who this calculator is for
This calculator is for anyone setting protein, carbohydrate and fat targets to support a diet, body-composition goal or training programme.
What this calculator assumes
- The calorie target and macronutrient split you choose.
- Each gram of protein and carbohydrate provides about 4 calories, and fat about 9.
- Targets are a general guide; real needs vary with body size, activity and health.
- This is general information, not medical or dietary advice.
Related Calculators
Nutritional data is approximate. This tool is for educational and planning purposes. Consult a registered dietitian for personalised nutritional advice, especially if you have medical conditions or specific dietary requirements.