This calorie density calculator divides the calories in a food portion by its edible weight. Enter the calories and grams from the same label or recipe calculation to see kilocalories (kcal) per gram, energy per 100 g and the weight for a calorie amount you choose. Add another food to compare equal weights. The result describes food energy, without setting a daily intake target or assigning a health score.

Compare calories at the same edible weight

Calculation runs locally in your browser. This tool does not send or save your entries. The starting values are invented arithmetic examples, not food database records.

Enable JavaScript for the interactive result, or use the formula and worked example below.

What is the calorie density formula?

The calorie density formula is portion calories divided by edible portion grams. Multiply that unrounded density by the comparison weight to get its energy. Multiply by 100 to express energy per 100 g. Divide your chosen calorie amount by density to get the equivalent edible mass. The FDA’s label guide, accessed November 20, 2026, explains that calories refer to the stated serving and scale with the number of servings. The normalization here is derived arithmetic using that relationship, rather than an FDA classification system.

A search for a calorie density index calculator may suggest a rating or cutoff. This tool supplies the energy-to-mass ratio directly. No low, medium or high bands are imposed, and the answer is not a score for choosing foods. For interpretation beyond the arithmetic, see volume eating and low-calorie-density foods.

A worked equal-weight comparison

Suppose an example label gives 150 kcal for 75 g of edible food A. Its density is 150 ÷ 75 = 2 kcal/g, or 200 kcal per 100 g. An invented food B has 120 kcal per 100 g, giving 1.2 kcal/g. At an equal weight of 150 g, A provides 300 kcal and B provides 180 kcal. For a chosen amount of 200 kcal, A’s equivalent mass is 100 g and B’s is about 166.7 g. These examples illustrate calculation only; they are not measured values for particular foods.

The comparison weight can differ from either label’s original serving. Keep both original serving weights in their own fields and put the common weight in the comparison field. Equal masses also do not imply equal physical volumes: a bowl, cup or piece is not interchangeable with grams without a measured weight.

Which weight and preparation state should you enter?

Edible mass means the part represented by the energy value. Exclude bones, shells and other discarded parts. For a drained food, pair drained edible grams with energy calculated for that drained food. For a prepared recipe, use the total calculated recipe energy and the finished edible recipe weight. Include ingredients that remain in the meal, such as cooking oil or sauce.

Keep raw and cooked bases consistent. Do not divide calories listed for a raw portion by the weight of a different cooked portion. If the label has separate as-sold and as-prepared columns, select a matching calorie-and-weight pair. If the preparation basis is unclear, confirm the source before calculating rather than treating the missing information as zero.

What happens with invalid or zero entries?

An invalid-input example is 150 kcal with 0 g: dividing by a zero weight has no defined density. The tool clears the result and asks for a positive edible weight. Negative numbers, blank required fields, nonnumeric text and values outside the displayed limits are also rejected. Disabling the second food excludes its fields from calculation.

A stated energy value of 0 kcal is preserved as entered. Its calculated density is zero, but an equivalent weight cannot be inferred by dividing by that density, even when the chosen energy amount is zero. An absent calorie value is unknown, not zero. Extremely small inputs that exceed browser arithmetic precision are rejected rather than shown as a reliable answer.

How accurate are these results?

The calculation retains unrounded values internally. Entered values are repeated as typed. Display uses up to 3 decimal places for density, whole calories for energy outputs and 1 decimal place for equivalent weight. A positive result smaller than the display step uses a less-than sign. These are presentation rules, not claims about measurement accuracy. Portion estimates and the source energy value can introduce more uncertainty than the division itself.

Method release: November 11, 2026. No nutrient database is bundled or queried; each result uses your supplied label or recipe values. Record the source’s preparation state and version or label date alongside your food log. This calculator does not calculate protein, fiber or micronutrients. The high-protein foods chart covers a separate comparison.

Use the result only if counting suits you

People with a history of disordered eating should skip calorie counting and calorie-density comparisons and talk to a clinician. Read is counting calories healthy? and how to track protein without counting calories for gentler options. If you are under 18, pregnant, have kidney disease, take diabetes or prescription weight-loss medicines or follow a medically managed diet, ask your care team or prescriber before using comparisons to change your intake.

A practical next step, if you choose to log calories, is to save the food’s preparation state, its label serving weight and its calculated energy per gram together. Then weigh the edible portion you actually eat and scale from that same basis. The guide to how to count calories explains food logging and its limits.

Sources

  1. U.S. Food and Drug Administration. How to Understand and Use the Nutrition Facts Label. Serving Information and Calories sections; accessed November 20, 2026. Source for serving-based label arithmetic; density and inverse mass are this page’s derived calculations. FDA label guide.

This article is general information, not medical advice. If you have a health condition, are pregnant, or follow a diet set by your doctor, talk to them or a registered dietitian before changing how you eat.