Calculate Keto Macros for Ketosis Instantly (Protein, Fat & Carbs)
Calculate personalized macros for ketogenic diet. Get your ideal fat, protein, and carb intake based on 75-20-5 keto ratios. Achieve and maintain ketosis for effective weight loss.
How to Use Keto Calculator
How to Use Keto Calculator
What is a Keto Calculator?
A keto calculator determines your personalized macronutrient targets for the ketogenic diet. The keto diet is a high-fat, moderate-protein, very low-carb eating plan that puts your body into ketosis - a metabolic state where you burn fat for energy instead of carbohydrates.
Step-by-Step Guide
Step 1: Enter Basic Information
Age
- Enter your age (15-100 years)
- Metabolic rate changes with age
Gender
- Select Male or Female
- Gender affects basal metabolic rate (BMR)
Weight
- Enter your current weight
- Choose kg (kilograms) or lbs (pounds)
Height
- Enter your height
- Choose cm (centimeters) or ft (feet as decimal, e.g., 5.7 for 5'7")
Step 2: Select Activity Level
Choose the option that best describes your typical daily activity:
Sedentary (1.2x multiplier)
- Little to no exercise
- Desk job, mostly sitting
- Minimal physical activity
Lightly Active (1.375x)
- Light exercise 1-3 days per week
- Casual walking or light gym sessions
- Standing job with some movement
Moderately Active (1.55x)
- Moderate exercise 3-5 days per week
- Regular gym workouts or active sports
- Active job requiring movement
Very Active (1.725x)
- Hard exercise 6-7 days per week
- Intense training or competitive sports
- Very physically demanding job
Extremely Active (1.9x)
- Hard daily exercise plus physical job
- Professional athlete training
- Construction or manual labor job
Step 3: Choose Your Goal
Weight Loss
- Creates 500 calorie deficit
- Lose approximately 1 lb (0.45 kg) per week
- Best for most people starting keto
Maintain Weight
- Maintains current weight
- No calorie adjustment
- Good for transitioning to maintenance
Muscle Gain
- Adds 300 calorie surplus
- Gain approximately 0.5 lb (0.23 kg) per week
- For building muscle on keto
Step 4: Calculate
Click "Calculate Keto Macros" to see:
- BMR - Calories burned at rest
- TDEE - Total daily energy expenditure with activity
- Target Calories - Adjusted for your goal
- Macro Breakdown - Fat, protein, and carbs in grams
Understanding Your Results
Keto Macro Ratios
The ketogenic diet uses specific macro ratios:
Fat: 75% of calories
- Primary energy source on keto
- 9 calories per gram
- Focus on healthy fats: avocados, olive oil, nuts, fatty fish
Protein: 20% of calories
- Preserves muscle mass
- 4 calories per gram
- Aim for moderate amounts to avoid gluconeogenesis
Carbs: 5% of calories
- Very low to maintain ketosis
- 4 calories per gram
- Typically 20-30g net carbs per day
Net Carbs vs Total Carbs
Net Carbs = Total Carbs - Fiber
- Track net carbs, not total carbs
- Fiber doesn't raise blood sugar or kick you out of ketosis
- Target: 20-30g net carbs daily for ketosis
- Some people can stay in ketosis up to 50g net carbs
What is Ketosis?
Ketosis is a metabolic state where:
- Your body burns fat for fuel instead of glucose
- Liver converts fat into ketones for energy
- Blood ketone levels are 0.5-3.0 mmol/L
- Takes 2-4 days to enter ketosis
Signs of Ketosis:
- Increased energy and mental clarity
- Reduced hunger and cravings
- Fruity breath odor (acetone)
- Weight loss (especially water weight initially)
BMR and TDEE
BMR (Basal Metabolic Rate)
- Calories your body burns at complete rest
- Used for basic functions: breathing, circulation, cell production
- Calculated using Mifflin-St Jeor equation
TDEE (Total Daily Energy Expenditure)
- BMR × Activity Level multiplier
- Total calories burned per day including activity
- Your maintenance calorie level
Keto Food Guidelines
Foods to Eat (Low Carb, High Fat)
Healthy Fats
- Avocados and avocado oil
- Olive oil and coconut oil
- Butter and ghee
- Nuts and seeds (almonds, macadamia, chia, flax)
- Fatty fish (salmon, mackerel, sardines)
Proteins
- Grass-fed meat (beef, lamb)
- Poultry (chicken, turkey)
- Eggs (whole eggs with yolk)
- Full-fat dairy (cheese, Greek yogurt)
- Seafood and shellfish
Low-Carb Vegetables
- Leafy greens (spinach, kale, lettuce)
- Cruciferous vegetables (broccoli, cauliflower, Brussels sprouts)
- Zucchini and cucumber
- Bell peppers and tomatoes
- Asparagus and green beans
Foods to Avoid (High Carb)
Grains and Starches
- Bread, pasta, rice, cereal
- Wheat, oats, corn
- Quinoa and other grains
Sugars
- Candy, cookies, cakes
- Soda and fruit juice
- Honey, maple syrup, agave
High-Carb Fruits
- Bananas, apples, oranges
- Grapes and mangoes
- Dried fruits
Starchy Vegetables
- Potatoes and sweet potatoes
- Corn and peas
- Most root vegetables
Processed Foods
- Low-fat products (often high in sugar)
- Most packaged snacks
- Vegetable oils (soybean, canola)
Tips for Keto Success
Getting Started
- Clear Out Carbs - Remove high-carb foods from your kitchen
- Meal Prep - Plan and prepare keto meals in advance
- Track Macros - Use a food tracking app (MyFitnessPal, Carb Manager)
- Stay Hydrated - Drink plenty of water (keto is diuretic)
- Electrolytes - Supplement sodium, potassium, magnesium
Avoiding Keto Flu
During the first week, you may experience:
- Headaches and fatigue
- Irritability and brain fog
- Muscle cramps
- Nausea
Prevent it by:
- Drinking extra water (3-4 liters daily)
- Adding salt to food (1-2 tsp daily)
- Taking magnesium and potassium supplements
- Getting enough sleep
Maintaining Ketosis
- Stay Under 20-30g Net Carbs - Most critical factor
- Don't Overeat Protein - Excess converts to glucose
- Eat Enough Fat - Don't fear fat, it's your fuel
- Test Ketones - Use blood, breath, or urine test strips
- Be Patient - Fat adaptation takes 3-4 weeks
Common Mistakes
- Not eating enough fat - Leads to hunger and low energy
- Eating too much protein - Can prevent ketosis
- Not tracking macros - Easy to go over carb limit
- Forgetting electrolytes - Causes keto flu symptoms
- Giving up too soon - Takes time to adapt
Intermittent Fasting + Keto
Many people combine keto with intermittent fasting (IF) for enhanced results:
Common IF Patterns:
- 16:8 - Fast 16 hours, eat within 8-hour window
- 18:6 - Fast 18 hours, eat within 6-hour window
- OMAD - One meal a day
- 5:2 - Eat normally 5 days, restrict calories 2 days
Benefits:
- Faster weight loss
- Increased fat burning
- Better insulin sensitivity
- Easier to stay within calorie goals
Start Slowly:
- Get fat-adapted first (2-4 weeks)
- Begin with 12-hour fasts
- Gradually extend fasting window
- Listen to your body
Tracking Progress
Measurements to Track
- Weight - Weekly weigh-ins (same time of day)
- Body Measurements - Waist, hips, chest, arms, thighs
- Progress Photos - Weekly or biweekly photos
- Ketone Levels - Optional but helpful for beginners
- How You Feel - Energy, hunger, mental clarity
Adjusting Macros
After 2-4 weeks, adjust if needed:
- Not losing weight? Reduce calories by 100-200
- Losing too fast? Increase calories slightly
- Very hungry? Increase fat intake
- Low energy? Check electrolytes, increase calories
- Out of ketosis? Lower carbs to 20g net
Important Notes
- Consult a Doctor - Especially if you have medical conditions or take medications
- Not for Everyone - Pregnant/nursing women, children, type 1 diabetics should avoid
- Medication Adjustments - Blood pressure and diabetes meds may need adjustment
- Individual Variation - Some people need stricter carb limits than others
- Long-Term Use - Keto can be safe long-term but consider cycling occasionally
- This is Guidance - Calculator provides estimates, adjust based on results
Frequently Asked Questions
Most Viewed Tools
TOTP Code Generator
Generate time-based one-time passwords from a TOTP secret key. Enter your base32 secret, choose a period and digit length, and get the current and next codes with a live countdown timer. Useful for testing and debugging 2FA integrations.
Use Tool →JSON to Zod Schema Generator
Generate Zod validation schema code from a JSON sample object. Infers z.string(), z.number(), z.boolean(), z.array(), z.object(), and z.null() types automatically. Handles nested objects, arrays of objects with optional field detection, and outputs copy-ready TypeScript with import and z.infer type alias.
Use Tool →JSONL / NDJSON Formatter
Format, validate, and inspect JSON Lines (JSONL) and NDJSON files. Validates each line individually, reports parse errors by line number, outputs compact JSONL or a pretty-print preview, and lets you download the cleaned file.
Use Tool →Secret and Credential Scanner
Scan pasted text, code, or config files for accidentally exposed API keys, tokens, passwords, and private keys. Detects 50+ secret types across AWS, GitHub, Stripe, OpenAI, and more — all client-side, nothing leaves your browser.
Use Tool →TLS Cipher Suite Checker
Check TLS protocol version compatibility and cipher suite strength ratings against current best practices. Supports IANA and OpenSSL cipher names — rates each suite as Strong, Weak, or Deprecated and explains why.
Use Tool →Password Entropy Calculator
Calculate the information-theoretic bit entropy of any password or API key. Detects character set pools automatically, shows the total number of possible combinations, and estimates crack time across five attack scenarios from rate-limited web logins to GPU cracking clusters.
Use Tool →TOML Config Validator
Validate TOML configuration file syntax and report errors with line numbers. Paste any TOML content — Cargo.toml, pyproject.toml, config.toml — and instantly see a green checkmark with key counts and structure stats, or a precise error message pointing to the exact line. Includes a collapsible JSON structure preview to confirm what was parsed.
Use Tool →Content Security Policy Generator
Build Content Security Policy headers interactively. Toggle directives like script-src, style-src, and img-src, select allowed source tokens, and add custom origins. Instantly outputs your CSP as an HTTP header, meta tag, Nginx directive, or Apache header.
Use Tool →Related Health & Wellness Tools
BMI Calculator
FeaturedCalculate your Body Mass Index and health category
Use Tool →Heart Rate Zone Calculator
Calculate target heart rate zones for exercise training. Get personalized HR zones for fat burn, cardio, anaerobic, and peak performance based on age, resting heart rate, and fitness level.
Use Tool →Protein Calculator
Calculate your daily protein needs based on weight, activity level, and fitness goals. Get personalized recommendations for muscle gain, fat loss, or athletic performance with meal distribution guidance.
Use Tool →Water Intake Calculator
Calculate your daily water intake needs based on weight, activity level, and climate. Get personalized hydration recommendations in liters, ounces, cups, and glasses.
Use Tool →BMR Calculator
Calculate your Basal Metabolic Rate (BMR) - the calories your body burns at complete rest. Uses the Mifflin-St Jeor equation for accurate BMR calculation.
Use Tool →Body Fat Percentage Calculator
Estimate body fat percentage using the US Navy method with simple body measurements. Calculate fat mass, lean mass, and understand your body composition category.
Use Tool →Running Pace Calculator
Calculate running pace, speed, and finish times. Get pace per km/mile, predicted race times, and split times. Perfect for runners training for 5K, 10K, half marathon, or marathon.
Use Tool →Calorie Calculator
Calculate daily calorie needs based on age, weight, height, and activity level. Get personalized calorie goals for weight loss, maintenance, or weight gain using the Mifflin-St Jeor equation.
Use Tool →Share Your Feedback
Help us improve this tool by sharing your experience