How Moka Score works
Moka Score is an experimental, category-specific nutritional composition score based on available product data. It has not been scientifically validated. Scores from different product categories are not directly comparable. It is not an overall rating of healthiness, product quality, food safety or allergy suitability.
What Moka Score is—and is not
Moka Score summarizes selected aspects of a packaged product's nutritional composition using one of eight category-specific formulas. It is informational, not medical or dietary advice. It does not determine overall healthiness, product quality, food safety, contamination, freshness, regulatory compliance, allergy suitability, individual dietary suitability, serving size or consumption frequency.
Product information comes primarily from community-contributed Open Food Facts records and may be incomplete, estimated, inconsistent or outdated. Check the current package label where it matters.
How a product receives a score
Moka identifies the product and routes it to the most specific supported category. It then checks the required values, their units and measurement basis, and basic nutrition integrity. Missing data is not treated as zero. If a required value is missing, conflicting, invalid or otherwise not usable, the numeric score is withheld and shown as Not enough data.
Eligible formulas use unrounded intermediates, clamp the result to 0–100, and round the final result to the nearest whole number using half-up rounding: 64.49 becomes 64 and 64.50 becomes 65.
The eight category formulas
All formulas below produce 0–100 and start at 100. Values are per 100 g or per 100 ml as stated. min(1, x) caps a normalized contribution at 1.
1. General Food
Required per 100 g: added sugar AS (g), sodium NaMg (mg), saturated fat SFg (g), energy Kcal (kcal). Optional: fiber Fg and protein Pg (g).
S=min(1,AS/25), Na=min(1,NaMg/1000)
SF=min(1,SFg/12), E=min(1,Kcal/700)
Base=35S+25Na+25SF+15E
Interaction=min(12,8*(SNa+SSF+SE+NaSF+NaE+SFE))
Recovery=1.00 if Adjusted<20; .75 if 20≤Adjusted<35;
.50 if 35≤Adjusted<50; .25 if Adjusted≥50
Adjusted=Base+Interaction
Score=clamp(100-Adjusted+(available bonuses*Recovery),0,100)
Fiber bonus=10*min(1,Fg/10); protein bonus=5*min(1,Pg/20)Optional omissions remove their bonus; they do not withhold an otherwise eligible score. No total-sugar fallback is used.
2. Sugar-Sweetened Beverage
Required per 100 ml: added sugar AS (g), energy Kcal (kcal), sodium NaMg (mg).
Score=clamp(100-80*min(1,AS/10)-10*min(1,Kcal/100)
-10*min(1,NaMg/300),0,100)Accepted added sugar is required; total sugar is not substituted.
3. Zero/Diet Beverage
Required per 100 ml: total sugar TS (g), energy Kcal (kcal), sodium NaMg (mg).
Score=clamp(100-55*min(1,TS/7.5)-15*min(1,Kcal/50)
-10*min(1,NaMg/200),0,100)Total sugar is used directly. Non-sugar sweeteners are not a numeric term.
4. Juice/Smoothie
Required per 100 ml: total sugar TS (g) and energy Kcal (kcal).
Score=clamp(100-45*min(1,TS/10)-10*min(1,Kcal/100),0,100)Juice or smoothie identity is required; a juice drink does not automatically use this category.
5. Plain Dairy Beverage
Required per 100 ml: added sugar AS (g), saturated fat SFg (g), energy Kcal (kcal), sodium NaMg (mg). Optional: protein Pg (g). Eligibility requires AS==0.
Score=clamp(100-20*min(1,SFg/3.5)-10*min(1,Kcal/100)
-10*min(1,NaMg/300)+(5*min(1,Pg/5) if usable),0,100)Missing protein removes the bonus; missing or nonzero added sugar withholds the score.
6. Water
For verified plain, unsweetened water, Score=100. This identity rule is not a claim about purity, safety, medical effects or personal suitability.
7. Cheese
Required per 100 g: saturated fat SFg (g), sodium NaMg (mg), protein Pg (g).
Score=clamp(100-50*min(1,SFg/20)-30*min(1,NaMg/1200)
+10*min(1,Pg/25),0,100)Protein is required even though it is a positive term. Per-serving values are not converted to per 100 g.
8. Fat/Oil
Required for every subtype: saturated fat SFg and total fat TFg from the same known within-product basis and source revision; TFg>0.
FractionPenalty=80*clamp(SFg/TFg,0,1)
Pure oil: Score=clamp(100-FractionPenalty,0,100)
Other subtypes: Score=clamp(100-FractionPenalty
-7.5*min(1,NaMg/1500),0,100)Other subtypes also require sodium NaMg per 100 g. Supported subtypes are pure oil, butter, ghee, butter-oil blend, plant spread, reduced-fat spread and mixed-vegetable-oil spread. A product containing or packed in oil is not automatically a pure oil.
Category selection, data quality and withholding
The categories are General Food, Sugar-Sweetened Beverage, Zero/Diet Beverage, Juice/Smoothie, Plain Dairy Beverage, Water, Cheese and Fat/Oil. Specialized categories require clear product-identity evidence; nutrition values alone cannot establish identity. Conflicting or unresolved identities withhold the score rather than forcing a route.
Accepted values must be finite, nonnegative, compatible with the required unit and basis, and supported by usable source evidence. Where valid salt is available and sodium is absent, sodium may be derived as sodiumMg=(saltG/2.5)*1000. Contradictory sugar relationships or invalid fat ratios are not repaired or clamped. Explicit zero is valid when otherwise accepted; missing is never silently converted to zero. Moka does not perform density-based mass/volume conversion.
Moka reports Data Quality separately from Score Coverage. Data Quality can be High, Medium, Low or Insufficient; Score Coverage can be Complete, Partial or Insufficient. Permitted estimated or unknown added-sugar evidence may lower Data Quality while remaining usable. Optional inputs can make coverage Partial; unusable required inputs make it Insufficient and withhold the score.
Explanations, processing and NOVA
For an eligible score, Moka provides product-specific explanations based on the same accepted inputs used by the formula. They describe penalties, bonuses, zero effects and unavailable optional bonuses in factual terms. They describe calculation inputs, not what anyone should eat.
Processing is shown as informational context and does not numerically change the Moka Score. Source-provided NOVA-style information is presented separately. Ingredients and allergens are separate too: in Moka 1.0 they do not change the score, and missing allergen information does not mean allergen-free or safe.
How to interpret the bands
- 80–100: Strong nutritional profile for this category
- 60–79: Good nutritional profile for this category
- 40–59: Mixed nutritional profile for this category
- 0–39: More to consider for this category
- Score withheld: Not enough data
These bands are category-scoped. An 80 in one category is not nutritionally equivalent to an 80 in another, and the bands are not overall health, quality, safety or allergy judgments.
Limitations and version
Moka Score v1.0 is experimental and has not been scientifically validated. It depends on upstream product data that may be incomplete, estimated, incorrectly entered, inconsistent, outdated or associated with a different product revision. Conservative rules may withhold scores until better evidence is available. Coefficients, interactions, caps and bands are experimental production parameters, not clinical, regulatory or biological thresholds.
The score does not account for individual medical conditions, allergies, dietary requirements, portion patterns or overall diet. It is not individualized medical or dietary advice and is not a substitute for the current package label or professional guidance where appropriate.