# 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://test.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://test.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://test.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://test.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.
- [Grip Strength Dynamometer & Rate of Force Development (RFD) Tutor](https://test.elysiatools.com/en/tools/grip-strength-dynamometer-and-rate-of-force-development-tutor): Interpret Jamar / Camry / EH101 grip readings against age/sex population norms (Massy-Westropp 2011: z-score, percentile, % of norm), sarcopenia weakness cutoffs (EWGSOP2, AWGS, Fried), the 10% asymmetry rule; compute rate of force development from force-time curves (0–50…0–250 ms windows, peak RFD, impulse, time-to-peak per Maffiuletti 2016); and repeated-trial fatigue index.
- [Henderson-Hasselbalch Buffer Recipe & Concentration Table](https://test.elysiatools.com/en/tools/henderson-hasselbalch-buffer-recipe-concentration-table): Pick one of eight bench buffer systems, enter target pH, concentration and volume, and get the Henderson-Hasselbalch acid/salt split with weighable masses, temperature-corrected pKa, buffer capacity and ionic-strength estimate.
- [Hydration Sweat Rate Calculator](https://test.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.
- [Pharmacokinetic Bolus vs Infusion Overlap Tutor](https://test.elysiatools.com/en/tools/pharmacokinetic-bolus-vs-infusion-overlap-tutor): Overlay one-compartment IV bolus, intermittent short-infusion and continuous-infusion concentration curves at the same daily dose: accumulation ratio, steady-state Cmax/Cmin, AUC per interval, time to steady state, peak:trough fluctuation and loading doses.
- [Protein Intake Calculator (by Body Weight & Activity)](https://test.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.

## Samples

- [Web Image Processing Python Samples](https://test.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://test.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://test.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://test.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://test.elysiatools.com/en/hubs/nutrition-body-composition-sleep-calculators): Estimate macros, protein, lean body mass, TDEE, hydration, walking burn, sleep cycles, and sleep debt without turning the results into medical advice.
