# Macro Calculator (Carbs / Protein / Fat Split)

Convert a daily calorie target into grams of carbohydrate, protein and fat. Pick a preset split — balanced (50/30/20), low-carb (35/40/25), keto (10/20/70) or high-protein (40/35/25) — or define your own percentages.

> Canonical page: https://elysiatools.com/en/tools/macro-calculator

- **Category:** Health

- **Keywords:** macro calculator, macronutrient, carbs protein fat, calorie split, iifym, keto macros, high protein diet, nutrition calculator

## Overview

The Macro Calculator helps you instantly convert your daily calorie target into precise gram targets for carbohydrates, proteins, and fats. By choosing from popular nutritional presets or entering custom percentages, you can align your daily meal planning with your specific dietary goals.

## Inputs

- **Target daily calories** (number): e.g. 2000
- **Macro split preset** (select)
- **Custom carb %** (number): e.g. 45
- **Custom protein %** (number): e.g. 30
- **Custom fat %** (number): e.g. 25
- **Decimal places** (number)

## When to use

- When planning a new diet phase, such as muscle building, fat loss, or weight maintenance, and you need to establish daily macronutrient targets.
- When transitioning to a specific dietary protocol like ketogenic, low-carb, or high-protein and requiring exact gram splits.
- When customizing your macronutrient ratios to match a personalized nutrition plan prescribed by a dietitian or coach.

## How it works

- Enter your target daily calorie intake in the calories field.
- Select a pre-defined macro split preset (balanced, low-carb, keto, or high-protein) or choose custom to input your own percentages.
- Adjust the decimal precision for the output values if you require fractional gram measurements.
- Click calculate to view the breakdown of carbohydrates, proteins, and fats in both grams and calories.

## Use cases

- Calculating daily keto targets to ensure carbohydrate intake remains under a strict threshold while maximizing healthy fats.
- Setting up a high-protein meal plan for bodybuilding to support muscle recovery and growth.
- Determining balanced macronutrient splits for general health maintenance and steady energy levels throughout the day.

## Frequently asked questions

### How are the gram values calculated for each macronutrient?

Carbohydrates and proteins contain 4 calories per gram, while fats contain 9 calories per gram. The calculator multiplies your total calories by each percentage and divides by these values.

### Can I use my own custom macronutrient percentages?

Yes, select the 'Custom' preset option and enter your desired percentages for carbohydrates, proteins, and fats.

### Do the custom percentages need to equal 100%?

Yes, for accurate calculations, your custom carbohydrate, protein, and fat percentages should sum to exactly 100%.

### What presets are available in the calculator?

The calculator includes Balanced (50/30/20), Low-carb (35/40/25), Keto (10/20/70), and High-protein (40/35/25) presets.

### Can I adjust the decimal precision of the results?

Yes, you can set the decimal places option to display whole numbers or precise fractional grams.

## Related tools

- [Blood Alcohol Content (BAC) Estimator](https://elysiatools.com/en/tools/bac-calculator): Estimate your BAC from sex, weight, drinks and time using the Widmark formula. Returns g/dL and ‰, predicts sober time, and flags the impairment tier and legal driving limits.
- [Carrying Capacity Estimator (Fit K from Time-Series Data)](https://elysiatools.com/en/tools/carrying-capacity-estimator): Least-squares logistic fit of K, r, t₀ from `time, population` observations, with fitted curve, residuals, and plateau warnings.
- [Fetal Development Timeline (by Gestational Week)](https://elysiatools.com/en/tools/fetal-development-timeline): See week-by-week fetal development from conception to birth (40 weeks). Enter your LMP date or a known gestational age and the tool highlights the current week with size, weight and milestones.
- [Hydration Sweat Rate Calculator](https://elysiatools.com/en/tools/hydration-sweat-rate-calculator): Calculate sweat rate, net fluid loss, and a recommended hourly drinking range from pre/post body weight, fluid intake, urine volume, and session duration.
- [Protein Intake Calculator (by Body Weight & Activity)](https://elysiatools.com/en/tools/protein-intake-calculator): Estimate your daily protein target in grams from body weight and activity level. Coefficients (g per kg bodyweight) follow the ISSN 2017 position stand and the Morton et al. 2018 meta-analysis.
- [Running Pace Calculator (Distance / Time / Pace)](https://elysiatools.com/en/tools/running-pace-calculator): Solve for pace, finish time or distance given the other two. Enter a known distance and either a finish time or a pace, and get the missing value plus speed and optional Riegel race predictions.
- [Sleep Calculator (90-Minute Cycles)](https://elysiatools.com/en/tools/sleep-calculator): Find the best bedtime or wake time based on the brains 90-minute sleep-cycle rhythm. Enter a target wake time and get recommended bedtimes, or enter a bedtime to project forward.
- [A-a Gradient (Alveolar-Arterial O₂)](https://elysiatools.com/en/tools/a-a-gradient-calculator): Calculate the alveolar-arterial O₂ gradient to distinguish hypoxemia causes. PAO₂ = FiO₂×(P_atm−47) − PaCO₂/0.8; A-a = PAO₂ − PaO₂. Normal ≈ (Age+10)/4. Elevated → V/Q mismatch, shunt, diffusion impairment. Derived from StatPearls, LITFL, Cornell PICU, and Martin 1999. Not medical advice.

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion

## Related content

- [Nutrition, Body Composition, and Sleep Calculators](https://elysiatools.com/en/hubs/nutrition-body-composition-sleep-calculators): Calculate daily macros, protein targets, lean body mass, TDEE and BMR, hydration and sweat rate, walking calorie burn, and optimal sleep-wake times with step-by-step body-metric tools.
- [Health Tools](https://elysiatools.com/en/hubs/health-utility): Explore 29 health tools for utility workflows and compare closely related utilities quickly.
- [Meditation, Sleep, and Relaxation Tools](https://elysiatools.com/en/hubs/meditation-sleep-relaxation): Compare guided meditation, breathing routines, PMR, sleep-cycle planning, stress self-checks, and supporting audio tools in one hub for calmer daily routines.
- [Endurance Training Pace, Heart Rate, and Effort Tools](https://elysiatools.com/en/hubs/endurance-training-metrics): Compare pace calculators, heart-rate zone tools, VO2 max estimates, cycling power, calorie burn, and training-load metrics in one hub for running, cycling, swimming, and triathlon planning.
