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.

    Frequently Asked Questions

    What is the most calorie-dense food?

    Pure oils and fats are the most calorie-dense at 9 kcal/g. Nuts and nut butters are about 5-6 kcal/g. Pure sugar is 4 kcal/g.

    Why does calorie density matter?

    Research shows people tend to eat a similar volume of food daily. Choosing lower-density foods lets you eat more volume for fewer calories.

    How does water affect calorie density?

    Water adds weight but zero calories, so water-rich foods (fruits, vegetables, soups) have very low calorie density.

    Ready to run the numbers?

    Open Calorie Density Calculator