Keto Calculator: Complete Guide to Macro Targets

An open notebook with a hand-drawn pie chart, a black pen, and half an avocado with its pit on a light grey surface.

Keto Calculator: Complete Macro Target Guide

The content on this page is for general informational and educational purposes only and is not intended as medical advice, a recommendation, or an endorsement of any specific medication, treatment, or health product. Always consult a qualified healthcare provider before making decisions about medications, supplements, or changes to your health regimen. BodySpec does not prescribe, dispense, promote, offer, sell, or facilitate access to any of the pharmaceutical products discussed below.

A keto calculator is a dietary tool that helps you determine the exact daily amounts of fat, protein, and carbohydrates you need to reach and maintain nutritional ketosis. By inputting your weight, activity level, and body composition data, a macro calculator removes the guesswork, ensuring your body successfully transitions from burning glucose to burning fat for fuel.

Every single body requires a slightly different approach to achieve nutritional ketosis. Here is a complete look at how keto macros work, how to calculate them accurately based on your body composition, and the clinical formulas that ensure you’re hitting the right targets.

What Are Keto Macros?

The term "macros" refers to macronutrients: carbohydrates, protein, and fat. On a standard diet, carbohydrates typically make up the majority of your daily calories. The ketogenic diet flips this script entirely.

A classic therapeutic ketogenic diet involves severely restricting carbohydrates and moderating protein intake while drastically increasing fat intake (Zilberter & Zilberter, 2018). The goal is to force your body to switch from burning glucose (sugar) for energy to burning fat. When this metabolic switch happens, your liver produces molecules called ketones, putting you in a state of "ketosis."

For the average adult aiming for nutritional ketosis, a standard keto macro breakdown looks roughly like this:

  • Fat: 70–80% of daily calories
  • Protein: 15–20% of daily calories
  • Carbohydrates: 5–10% of daily calories

However, these percentages are just starting points. A 130-pound office worker looking to improve their metabolic health will need vastly different actual gram amounts than a 200-pound athlete looking to preserve muscle mass while cutting fat.


Pairing DEXA with Keto

Learn how BodySpec DEXA scans can help if you're starting keto.

<x-interviewer subject=""keto and body composition"" />

Book a BodySpec DEXA scan today and see exactly how your body composition changes over time.


The Formulas Behind Keto Calculators

Most precision keto calculators rely on established resting metabolic rate (RMR) equations to determine your baseline calorie needs before applying macro ratios. The two most common and clinically validated formulas are the Mifflin-St. Jeor equation and the Katch-McArdle formula.

A beige notebook with a black spiral sits next to a black smartphone displaying a pie chart. A gray pen rests above the phone, and a small green plant is visible in the top left corner.

The Mifflin-St. Jeor Equation

Developed in 1990, the Mifflin-St. Jeor equation is widely considered one of the most reliable formulas for estimating resting metabolic rate in both non-obese and obese individuals (Frankenfield et al., 2005). It calculates your energy needs based on your gender, age, height, and total body weight.

Because it relies on straightforward measurements, it’s an excellent starting point for someone who does not know their exact body fat percentage. The formulas differ for men and women:

  • Men: (10 × weight in kg) + (6.25 × height in cm) - (5 × age in years) + 5
  • Women: (10 × weight in kg) + (6.25 × height in cm) - (5 × age in years) - 161

The Katch-McArdle Formula

If you have access to accurate body composition data—such as from a BodySpec DEXA scan—you can use the Katch-McArdle formula. Body-composition-based equations like Katch-McArdle outperformed anthropometry-only equations for classification accuracy in healthy women across BMI ranges, though all equations have notable error margins and indirect calorimetry is preferred when available (Molina-Luque et al., 2021).

Instead of using total body weight, Katch-McArdle isolates your lean body mass (LBM). Muscle tissue is significantly more metabolically active than fat tissue, meaning it burns more calories at rest. Calculating your needs based on lean mass provides a much more personalized target. This approach can be beneficial for individuals with higher muscle mass or lower body fat percentages.

The formula is the same for both men and women:

  • Katch-McArdle: 370 + (21.6 × LBM in kg)
An abstract, stylized illustration of a muscle fiber, depicted in shades of red and green, with a bright yellow glow emanating from its center. Dash and dot shapes radiate from the muscle, suggesting energy or activity, all against a textured, light beige background.

How to Set Your Daily Macro Targets

Setting up your keto diet involves a step-by-step process of narrowing down your nutrient needs.

1. Calculate Your Total Daily Energy Expenditure (TDEE)

Before allocating your specific macros, you need to determine exactly how many calories you burn in a day. The equations above calculate your resting metabolic rate (RMR)—the calories you burn if you stayed in bed all day.

To find your Total Daily Energy Expenditure (TDEE), you must multiply your RMR by an activity multiplier:

  • Sedentary (desk job, little to no exercise): RMR × 1.2
  • Lightly Active (light exercise 1-3 days/week): RMR × 1.375
  • Moderately Active (moderate exercise 3-5 days/week): RMR × 1.55
  • Very Active (hard exercise 6-7 days/week): RMR × 1.725
  • Extra Active (very hard daily exercise or physical job): RMR × 1.9
A pair of black running shoes and a black water bottle resting on a light wood floor. The shoes are on the left, angled towards the viewer, and the water bottle stands upright on the right.

Your TDEE is your caloric ceiling. To lose weight, you will aim below this number; to gain weight, you will aim above it.

2. Set Your Carbohydrate Limit

On keto, your carbohydrate limit is a hard ceiling, not a goal to hit. The ketogenic dietary approach generally involves severely restricting carbohydrates to less than 50 grams per day to induce nutritional ketosis (Daley et al., 2025).

Net carbs are often calculated by taking total carbohydrates and subtracting fiber (and often sugar alcohols). Because fiber passes through your digestive system without being broken down into glucose, it does not prompt an insulin response or disrupt ketosis.

Several bright green asparagus spears and two round cucumber slices arranged neatly on a dark gray slate board with a dark background.

3. Determine Your Protein Target

Protein is vital for preserving lean muscle tissue, immune function, and overall health. Unlike carbohydrates, which are a limit, protein is a goal you should aim to hit every day. Moderate protein intake is essential, as excessive protein consumption can lead to gluconeogenesis—a process where the body converts amino acids into glucose, which can potentially disrupt ketosis (Malinowska & Żendzian-Piotrowska, 2024).

For moderately active individuals, a standard recommendation to maintain muscle mass is between 1.4 and 2.0 grams of protein per kilogram of body weight. However, precise needs will vary based on age, training status, and caloric intake (Jäger et al., 2017).

If you’re unsure of your exact needs, targeting a moderate protein intake that fits within the overarching 15-20% daily caloric bracket is the standard approach.

A close-up shot of a halved soft-boiled egg with a runny orange yolk, placed next to a small scattered pile of whole almonds, all resting on a light beige plate.

4. Fill the Rest With Fat

Once you have calculated your TDEE, set your carb limit, and determined your protein goal, the remainder of your daily calories comes from fat. Fat is your primary energy lever on the keto diet. (Remember: carbohydrates and protein contain 4 calories per gram, while fat contains 9 calories per gram.)

If your goal is weight loss, you will consume slightly less dietary fat than your TDEE requires, forcing your body to utilize stored body fat for energy. If your goal is maintenance or weight gain, you will increase your dietary fat intake accordingly.

An illustration of a large golden or yellow tear-shaped drop on a light background, bursting into smaller, colorful liquid particles. Green and light blue splash shapes are in the background, making it look like a vibrant, energetic explosion.

Advanced Keto Approaches

Once you understand the basic standard ketogenic diet (SKD), you might find that your activity levels require a slightly altered approach. Advanced macro calculation often involves adjusting for specific training styles.

  • Targeted Ketogenic Diet (TKD): Involves consuming a small amount of fast-digesting carbohydrates (usually 15-30 grams) strictly around the workout window. This is popular among athletes who need an explosive energy source for anaerobic exercise but want to remain in ketosis for the rest of the day.
  • Cyclical Ketogenic Diet (CKD): Involves strict keto adherence for 5-6 days, followed by a 1-2 day high-carbohydrate "refeed" to replenish muscle glycogen stores. This is typically reserved for advanced bodybuilders or athletes undergoing intense, high-volume training.
  • Modified Atkins or Ketogenic Mediterranean Diets: While some people refer to a "high-protein keto" diet, a more established approach aligns with recognized variants like the Modified Atkins Diet or Ketogenic Mediterranean Diet. These dietary frameworks shift the macros to provide roughly 30–35% of calories from protein, with fat intake ranging from about 45% to 65% depending on the specific variant (Ashtary-Larky et al., 2021). This variation is often used by those prioritizing muscle synthesis or body recomposition.

The Importance of Precise Measurement

When undertaking a significant dietary shift like keto, estimating your baseline metrics can lead to frustrating stalls. If you overestimate your calorie burn, you might overeat dietary fat and halt weight loss. If you underestimate your protein needs, you risk losing valuable lean muscle mass alongside fat.

The most effective way to optimize a keto calculator is to feed it accurate, clinical-grade data. A DEXA scan provides highly precise measurements of your body fat percentage, visceral fat, and lean and bone mass. By plugging exact lean body mass numbers into the Katch-McArdle formula, you remove the guesswork from your macro calculations, giving your body exactly what it needs to achieve your health goals.


Ready to Scan? Book your BodySpec DEXA Here!

Locations update to match map view
View map

Recommended articles
Diagram showing the layers of fat and muscle in the abdomen: Abdomen Muscles, Subcutaneous Fat, and Visceral Fat.
10 Nov
5 mins read
5 Ways to Impact Visceral Fat
A weight scale with a blue tape measure resting on top of it.
08 May
2 mins read
The Big Fat Experiment
Water is being poured from above into a clear glass, splashing and filling the glass against a light blue background with water droplets on the surface below.
04 Oct
3 mins read
Will Drinking Water Affect My Scan?