Skip to main content

Ketogenic Calculatorv1.0.0

Daily keto macros from Mifflin-St Jeor BMR, scaled by an activity multiplier to TDEE and adjusted by a calorie deficit or surplus percentage. Net carbs are fixed first (default 20 g for ketosis), protein is set from lean body mass times grams per pound (default 0.7), and fat fills the remaining calories at 9 kcal per gram. Lean body mass is derived from weight and body fat percentage.

Keto Diet
Low-Carb Nutrition
Lean Body Mass
Weight Management
Reference

Documentation

Generate ketogenic diet targets that hold net carbs low for ketosis, scale protein to your lean body mass, and let fat fill the remaining calorie budget. Enter your body metrics, activity level, and weight goal so the calculator can apply the Mifflin-St Jeor equation for Basal Metabolic Rate (BMR) and your activity multiplier for Total Daily Energy Expenditure (TDEE). After the calorie deficit or surplus is applied, the tool sets protein grams from lean mass, subtracts fixed net carbs, and assigns the remaining energy to fat. This keto-specific approach differs from general macro tools that distribute protein, carbs, and fat through percentage presets.

  • Select your Unit System (Imperial or Metric) to switch the height and weight fields to the matching format.
  • Choose your Gender, which adjusts the BMR formula by +5 for males and -161 for females.
  • Enter your Height and Weight in the visible unit fields. Decimals and fractions such as 5.5 or 5 1/2 are accepted.
  • Enter your Age in years. Age lowers BMR over time.
  • Enter your Body Fat Percentage. If you do not know your exact value, estimate visually or use calipers. Body fat drives the lean body mass figure that sets your protein target.
  • Select your Activity Level from Sedentary (1.2) to Very Active (1.725), or pick Custom and enter your own multiplier.
  • Choose your Goal to Lose, Maintain, or Gain, then set the Deficit or Surplus Percentage that adjusts your calorie target.
  • Set your Net Carbs per Day. The standard keto recommendation is 20g or fewer for steady ketosis.
  • Adjust the Protein Ratio in grams per pound of lean body mass to match your activity level.
  • Click Calculate to run the math, or let the auto-calculation update as you type. Click Reset to restore defaults.
  • Open Settings to reveal the step-by-step view that shows BMR, TDEE, and macro derivations with your inputs substituted in.

Mifflin-St Jeor BMR for males: BMR = 10 x weight(kg) + 6.25 x height(cm) - 5 x age + 5. For females: subtract 161 instead of adding 5. TDEE = BMR x activity multiplier. Protein (g) = lean body mass (lbs) x protein ratio. Fat (g) = (target calories - protein calories - carb calories) / 9.

Plan and refine a ketogenic eating strategy across a range of low-carb scenarios with this keto-specific calculator. Whether you are entering ketosis for the first time or tuning macros around training, the targets adapt to your body composition and weight goal while keeping net carbs anchored at a ketosis-friendly level.

  • Weight Loss: Set a calorie deficit of 10 to 20 percent to create a sustainable keto plan. Entering your current body fat percentage helps the calculator protect lean mass while maximizing fat burn.
  • Muscle Building: Switch to a 5 to 10 percent calorie surplus and raise the protein ratio to 1.0 to 1.2 g per pound of lean mass to support hypertrophy while staying in ketosis.
  • Athletic Performance: Use the Moderately Active or Very Active setting to match training volume. Raise net carbs toward the upper keto limit if you follow a targeted or cyclical protocol.
  • Health Management: Calculate baseline macros with the Maintain Weight goal to establish a steady nutritional framework anchored to your lean body mass.
  • Meal Planning: Divide the daily fat, protein, and net carb outputs across meals to build keto-friendly grocery lists and weekly portion guides.
  • Progress Tracking: Recalculate as your weight and body fat shift so your targets always reflect your current physique.
  • Education: Enable the step-by-step view to see exactly how BMR, TDEE, and macro allocation are derived from your inputs.

This tool is intended for informational and educational purposes only. It does not provide medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider for any health-related concerns or decisions.

Inputs, outputs, and what the Ketogenic Calculator computes

The form above accepts the following inputs and produces the outputs listed below. This summary is rendered in the page so the parameters are visible to crawlers, assistive tech, and indexing agents that don't fetch the embedded tool frame.

Inputs

  • Imperial · default: imperial
  • Metric · default: metric
  • Male · default: male
  • Female · default: female
  • Feet (text input) · default: 5
  • Inches (text input) · default: 7
  • Centimeters (text input) · default: 170
  • Pounds (text input) · default: 154
  • Kilograms (text input) · default: 70
  • Age (years) (text input) · default: 30
  • Body Fat Percentage (%) (text input) · default: 20
  • Sedentary (desk job, little to no exercise) · default: 1.2
  • Lightly Active (light walking, less than 20 minutes exercise per day) · default: 1.375
  • Moderately Active (physical labor or regular exercise a few times per week) · default: 1.55
  • Very Active (intense daily exercise or physically demanding job) · default: 1.725
  • Custom · default: custom
  • Custom Activity Multiplier (text input) · default: 1.2
  • Lose Weight · default: lose
  • Maintain Weight · default: maintain
  • Gain Muscle · default: gain
  • Calorie Deficit (%) (text input) · default: 20
  • Net Carbs per Day (g) (text input) · default: 20
  • Protein Ratio (g per pound of lean body mass) (text input) · default: 0.7
  • Default Protein Ratio (g per lb lean mass) (text input) · default: 0.7
  • Show step-by-step calculation

Controls

Calculate · Reset

Worked example

If you do not know your exact value, estimate visually or use calipers.