The protein to calorie ratio calculator compares protein and energy for the same amount of food. Enter a label’s protein grams and calories to see protein per 100 kcal, calories per gram of protein, and an approximate protein-energy percentage. These are ways to describe a food, not a daily eating target or a food quality score.
Compare protein and calories
Your entries stay in this browser. The calculator sends nothing, saves nothing and needs no account. The starting values are an invented label example, not a food database entry.
JavaScript is needed for the interactive calculator. The worked example and formulas below also work by hand.

How do you read the inputs?
The FDA’s Nutrition Facts label guide (checked November 20, 2026) explains that the nutrient and calorie amounts usually refer to a serving, and some labels also have a separate package column. Choose both numbers from the same column. The serving size is a reference amount for the label, rather than advice about how much you should eat. Check the food description too: raw, cooked, drained and prepared foods are different entries.
The portion selectors help catch a common mismatch. If protein is per serving but energy is per 100 g, the calculator asks you to correct the basis before showing results. Selecting matching words cannot verify the actual amounts, so check the serving weight yourself. For a recipe, use total protein and total energy for the whole recipe, or use both values for the same measured portion. Do not mix a cooked protein entry with the energy for a raw ingredient.
What is the protein to calorie ratio formula?
Protein density means protein relative to energy. Let p be protein in grams and E be energy in kilocalories for the same amount of food. Divide protein by energy and multiply by 100 to get grams per 100 kcal. Reverse the division to get calories per gram of protein: E ÷ p. A food Calorie is a kilocalorie; if your label uses kilojoules, FAO Food and Nutrition Paper 77 (2003), section 3.1, gives 1 kcal = 4.184 kJ. The tool divides kJ by 4.184 before doing the ratios.
Approximate protein-energy percentage is 100 × 4 × p ÷ E. FAO (2003), section 3.5.1, lists the Atwater general protein factor as 4 kcal per gram. The factor is approximate: FAO also describes food-specific energy factors. The percentage estimates energy assigned to protein; it does not measure absorption, protein quality or the percentage of the food’s weight that is protein. It is also different from a label’s percent Daily Value.
What does a worked example look like?
For an invented label with 20 g protein and 200 kcal per serving, protein density is 100 × 20 ÷ 200 = 10 g per 100 kcal. Calories per gram of protein are 200 ÷ 20 = 10 kcal/g. Approximate protein energy is 4 × 20 = 80 kcal, giving 100 × 80 ÷ 200 = 40% of total energy.
That example has a calorie-to-protein ratio of 10:1. The order matters: it means calories divided by protein grams. The same ratio written as protein per energy points in the opposite direction. Read the protein to calorie ratio and the 10-to-1 rule for interpretation rather than treating a cutoff as a food ranking.
Doubling the example portion to 40 g protein and 400 kcal leaves the density at 10 g per 100 kcal, the inverse ratio at 10 kcal/g and the estimated energy share at 40%. Ratios stay the same only when both amounts scale together. Actual protein and calories eaten still increase with portion size.
What happens with zero or invalid inputs?
An invalid-input example is −5 g protein with 200 kcal: a negative nutrient entry is rejected, and the previous result is cleared. Blank fields, nonnumeric text and values outside the stated software ranges also show an explanation instead of a calculated result. A blank protein field is never silently changed into zero.
With 0 g protein and positive energy, protein density and the approximate protein-energy share are zero, but calories per gram of protein are unavailable because that division needs protein above zero. With zero energy, density and the energy share are unavailable. A label rounded to zero cannot support those divisions. If both entries are zero, all ratios are unavailable.
A protein-energy estimate above 100% triggers a warning to check the units, preparation state and portion. The calculator keeps the arithmetic visible so you can find the problem; it does not cap the answer or present it as a measured energy share. Small discrepancies may reflect label rounding or the general energy factor. Large discrepancies are a reason to recheck the source numbers. Protein above 100 g on a per-100-g basis also triggers a warning because the protein amount exceeds the total food weight.
What are the limits of a protein density comparison?
A protein density calculator describes the numbers you supply. Data basis: user-entered label or recipe values, method checked November 20, 2026; no nutrient database release is bundled. Results retain unrounded inputs internally and display ratios to at most one decimal place. Very small positive ratios display as less than the smallest displayed decimal rather than as zero. Label estimates and portion mistakes can matter more than the final display rounding.
The ratio leaves out taste, cost, fiber, micronutrients and your overall meal pattern. The high-protein foods chart can help you compare food options in context. No result here recommends a calorie deficit or says how much protein you personally need. Under 18, during pregnancy, with kidney disease, diabetes medicines or a medically managed diet, do not rely on this ratio to plan intake; ask your care team for guidance.
If you have a history of disordered eating, skip calorie comparisons and talk to a clinician. Read is counting calories healthy? and how to track protein without counting calories for a gentler approach.
For your next food log, check the portion you actually ate and record its protein amount. If you choose to log calories too, use the calories for that same portion. Keep the label or recipe description with the entry so you can repeat the calculation without guessing the preparation state. For a simpler routine, read how to track protein without counting calories.
Sources
- US Food and Drug Administration. How to Understand and Use the Nutrition Facts Label. Live guide checked November 20, 2026. FDA label and serving-size guide.
- Food and Agriculture Organization. Food energy: methods of analysis and conversion factors. Food and Nutrition Paper 77 (2003), chapter 3, sections 3.1 and 3.5. FAO energy units and conversion factors.
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.