Calorie Density Calculator Formula

Understand the math behind the calorie density calculator. Each variable explained with a worked example.

Formulas Used

Calories Per Gram

cal_per_g = calories / weight_g

Calories Per Ounce

cal_per_oz = (calories / weight_g) * 28.35

Density Category (0-9 scale)

density_rating = (calories / weight_g) * 2

Variables

VariableDescriptionDefault
caloriesCalories in Portion(kcal)250
weight_gPortion Weight(g)100

How It Works

How to Calculate Calorie Density

Formula

Calorie Density = Calories / Weight (grams)

Density Categories

  • Very low: less than 0.6 kcal/g (most vegetables, fruits)
  • Low: 0.6-1.5 kcal/g (grains, lean proteins)
  • Medium: 1.5-4.0 kcal/g (meats, bread, cheese)
  • High: 4.0-9.0 kcal/g (nuts, oils, butter)
  • Eating more low-density foods helps with satiety and weight management.

    Worked Example

    A 100 g serving of almonds has 250 kcal.

    calories = 250weight_g = 100
    1. 01Calorie density: 250 / 100 = 2.5 kcal/g.
    2. 02This is a medium-density food.
    3. 03Per ounce: 2.5 x 28.35 = 70.9 kcal/oz.

    Ready to run the numbers?

    Open Calorie Density Calculator