NathanTools
NathanTools
Text Tools 13
SEO Tools 7
Image Tools 19
YouTube Tools 38
Device Tests 4
PDF Tools 10
Calculators 52
Electrical Calculators 10
Time Tools 7
Random Tools 9
Converters 14
Developer Tools 11
Hash Generators 5
Password & Security 2
Network & DNS 3
Website Tools 9

Macro Calculator

Enter your details and goal, then pick a diet style to see how many grams of protein, carbs and fat to eat each day and per meal.

100% free No sign-up Works on any device
years
cm
kg
Diet style
–
calories a day
–Protein
–Carbs
–Fat
ProteinCarbsFat

Updated November 2026 · Calories from the Mifflin-St Jeor equation · Ranges from the US Dietary Reference Intakes · Calculation runs in your browser

How to use the macro calculator

  1. Enter your sex, age, height, weight and activity level.
  2. Choose your goal: lose, maintain or gain weight.
  3. Pick a diet style, or choose Custom and set your own percentages.
  4. Read your daily grams of protein, carbs and fat, and how much to eat at each meal.

How macros are calculated

Protein (g) = calories × protein % ÷ 4 Carbs (g) = calories × carb % ÷ 4 Fat (g) = calories × fat % ÷ 9

Example: a 30-year-old man, 178 cm and 80 kg, who is moderately active, burns about 2,740 kcal a day. To lose about 1 lb a week he eats 2,240 kcal. With a balanced 30/40/30 split that's 2,240 × 0.30 ÷ 4 = 168 g protein, 2,240 × 0.40 ÷ 4 = 224 g carbs and 2,240 × 0.30 ÷ 9 = 75 g fat: about 56 g, 75 g and 25 g over three meals.

Diet styles compared

Diet styleProteinCarbsFatSuits
Balanced30%40%30%Most people; a good default
High protein40%35%25%Fat loss while keeping muscle, strength training
Low carb40%20%40%People who prefer fewer starches and sugars
Keto25%5%70%Ketogenic diets; check with a doctor first
US guidelines (AMDR)10–35%45–65%20–35%General adult recommendation

Several presets fall outside the US guideline ranges on purpose, because they're popular approaches people ask about. If you're unsure, stay within the guideline ranges.

Tips for hitting your macros

  • Start with protein. Build each meal around a protein source, then fill in carbs and fat.
  • Weigh food for a week or two. Portion sizes are easy to misjudge; a kitchen scale and a tracking app help you learn.
  • Get close, not perfect. Within about 5–10 g of each target is fine. Your weekly average matters more than any single day.

Just want a calorie number? Use the calorie calculator. To compare activity levels and formulas, use the TDEE calculator.

For healthy adults only, and not medical advice. If you're pregnant or breastfeeding, have diabetes, kidney disease or another condition, or are under 18, speak to a doctor or registered dietitian before changing your diet.

Frequently asked questions

Macronutrients, or macros, are the three nutrients that provide calories: protein and carbohydrate (4 kcal per gram each) and fat (9 kcal per gram). Counting macros means aiming for a set number of grams of each, rather than only a calorie total.

The calculator estimates your daily calorie needs from your age, sex, height, weight and activity (Mifflin-St Jeor × activity factor), adjusts them for your goal, and splits the total by the percentages you choose. Protein and carb calories are divided by 4 to get grams, and fat calories by 9.

The calorie deficit matters most for weight loss. Within that, a higher protein intake helps you keep muscle and feel full, which is why many people use a high-protein or balanced split. The best ratio is the one you can stick to. US dietary reference intakes suggest 10–35% of calories from protein, 45–65% from carbs and 20–35% from fat for adults.

The RDA for adults is 0.8 g of protein per kg of body weight a day, which is the minimum to avoid deficiency. Active people and those trying to build muscle or keep it while losing weight often aim for about 1.2–2.0 g per kg. The calculator shows your protein in grams per kg so you can compare.

A ketogenic diet keeps carbs very low, usually under about 50 g a day and often 20–30 g, with most calories from fat. The keto preset uses 5% carbs, 25% protein and 70% fat. Talk to a doctor before starting keto if you have diabetes, kidney disease or take medication.

Yes. Choose Custom and enter your own percentages for protein, carbs and fat. They need to add up to 100%.
All Calculators
Age Calculator Find your exact age in years, months and days. BMI Calculator Calculate body mass index from height and weight. Loan Calculator Monthly payment, total interest and amortization schedule. Mortgage Calculator Monthly mortgage payment with taxes, insurance and PMI. Time Calculator Add or subtract time, or find the time between two times or dates. Date Calculator Days between two dates, or add and subtract days from a date. Scientific Calculator Trigonometry, logarithms, powers, roots and memory. Percentage Calculator Percent of a number, percentage change, increase and decrease. Tip Calculator Work out the tip and split the bill between friends. GPA Calculator Semester and cumulative GPA, weighted or unweighted. Grade Calculator Weighted course grade and the final exam score you need. Fraction Calculator Add, subtract, multiply and divide fractions with steps. Compound Interest Calculator Grow savings with compound interest and monthly deposits. Car Loan Calculator Monthly car payment with trade-in, sales tax and fees. Calorie Calculator Daily calories to maintain, lose or gain weight. TDEE Calculator Total daily energy expenditure at every activity level. BMR Calculator Basal metabolic rate with three formulas. Body Fat Calculator Body fat % from a tape measure (US Navy method). Due Date Calculator Pregnancy due date and how far along you are. Ovulation Calculator Fertile window and ovulation dates for the next 6 cycles. Inflation Calculator What US dollars are worth across years, 1913 to today. Sales Tax Calculator Add tax to a price, take it out, or find the rate. Discount Calculator Sale price, savings and stacked discounts. Margin Calculator Profit margin, markup and selling price. Concrete Calculator Cubic yards and bags for slabs and post holes. Square Footage Calculator Area of rooms and plots in sq ft and m². Paint Calculator Gallons or litres of paint for a room. Time Card Calculator Weekly hours worked, overtime and pay. Sleep Calculator When to go to bed or wake up, in sleep cycles. Graphing Calculator Plot functions and explore them with pan and zoom. Roman Numeral Converter Convert numbers to Roman numerals and back. Square Root Calculator Square, cube and nth roots, simplified. Ratio Calculator Simplify ratios, solve proportions, split amounts. Average Calculator Mean, median, mode and weighted average. Standard Deviation Calculator Sample and population SD and variance, with steps. Quadratic Formula Calculator Solve ax² + bx + c = 0 with steps and a graph. Percent Error Calculator Percent error and percent difference, with steps. LCM & GCF Calculator Least common multiple and greatest common factor, with steps. Log Calculator Logarithms in any base, natural log and antilog. Exponent Calculator Powers with negative, fractional and huge exponents. Factorial Calculator Exact n! up to 10,000, double factorial and gamma. Remainder Calculator Quotient and remainder with long division steps. Scientific Notation Calculator Convert and calculate in scientific and E notation. Pythagorean Theorem Calculator Find the hypotenuse or a leg of a right triangle. Trigonometry Calculator sin, cos, tan and inverses in degrees or radians. Complex Number Calculator Add, multiply, divide and convert complex numbers. Exponential Growth Calculator Growth and decay, doubling time and half-life. Multiplication Table Printable times tables up to 30 × 30, plus a quiz. Decimal to Fraction Converter Decimals, fractions and percents, including repeating decimals. Simple Interest Calculator I = P × r × t, solving for any value. APY Calculator APR to APY (effective annual rate) and back.
Esc
↑ ↓ to moveEnter to open