Daily Meal Calories Calculator Formula

Understand the math behind the daily meal calories calculator. Each variable explained with a worked example.

Formulas Used

Calories per Meal

calories_per_meal = round(daily_calories * (1 - snack_pct / 100) / num_meals)

Calories per Snack

calories_per_snack = num_snacks > 0 ? round(daily_calories * snack_pct / 100 / num_snacks) : 0

Protein per Meal (est.)

protein_per_meal = round(daily_calories * (1 - snack_pct / 100) / num_meals * 0.075)

Total Daily (verification)

total_check = daily_calories

Variables

VariableDescriptionDefault
daily_caloriesDaily Calorie Target(cal)2000
num_mealsNumber of Main Meals3
num_snacksNumber of Snacks2
snack_pctSnack Calories (% of total)(%)20
snack_totalDerived value= daily_calories * snack_pct / 100calculated
meal_totalDerived value= daily_calories * (1 - snack_pct / 100)calculated

How It Works

How to Distribute Daily Calories

Formula

Snack Calories = Daily Target x Snack %

Meal Calories = (Daily Target - Snack Calories) / Number of Meals

Common Distributions

  • 3 meals, no snacks: Breakfast 25%, Lunch 35%, Dinner 40%
  • 3 meals, 2 snacks: Meals 80%, Snacks 20%
  • 5-6 small meals: Equal portions throughout the day
  • Protein Target

    A general estimate is 30% of calories from protein, or about 0.075 g protein per calorie per meal. Active individuals may need more. This calculator provides a rough protein guideline.

    Worked Example

    2000 daily calories, 3 meals and 2 snacks, snacks = 20%.

    daily_calories = 2000num_meals = 3num_snacks = 2snack_pct = 20
    1. 01Snack total = 2000 x 0.20 = 400 cal
    2. 02Meal total = 2000 - 400 = 1600 cal
    3. 03Per meal = 1600 / 3 = 533 cal
    4. 04Per snack = 400 / 2 = 200 cal
    5. 05Protein per meal (est.) = 533 x 0.075 = 40 g

    Frequently Asked Questions

    Is it better to eat 3 meals or 5 smaller meals?

    Both approaches can work for weight management and health. Research shows total daily intake matters more than meal frequency. Choose the pattern that fits your schedule, keeps you satisfied, and helps you meet your calorie and protein targets.

    Should I eat more calories at certain meals?

    Many people do well with a larger lunch and moderate dinner, as this aligns with natural energy needs. However, the research is mixed. Consistency and total daily intake are more important than the distribution for most people.

    How do I know my daily calorie target?

    A rough estimate is body weight (lbs) x 12-15 for maintenance (lower for sedentary, higher for active). For weight loss, subtract 300-500 calories. For a precise number, consult a registered dietitian or use a TDEE calculator.

    Ready to run the numbers?

    Open Daily Meal Calories Calculator