How we score
The IngredientsBuddy score is called SAS (Steps Away from Source): it counts how many steps the ingredients are from the plant, animal or mineral they came from, weighted by what they do in the product.
Rules version 2026-11-26.3. The score is calculated by fixed rules, never by AI, from two questions about each ingredient. The same rules are published as open data.
Question 1: how far is it from its source?
| Step | Meaning | Examples | Points |
|---|---|---|---|
| 1 | Unchanged | water, fresh fruit and vegetables, eggs, milk | 0 |
| 2 | Physically changed (milled, pressed, dried, fermented, cooked) | whole wheat flour, yeast, salt, cold-pressed oil, cheese | 1 |
| 3 | Extracted or refined | sugar, starch, protein isolates, refined oils | 2 |
| 4 | Chemically modified | modified starch, hydrogenated or interesterified fats, maltodextrin | 3 |
| 5 | Synthesised (made from scratch in a lab, no close natural counterpart in that form) | artificial sweeteners, synthetic colors, polysorbate emulsifiers | 4 |
Question 2: what is it doing in the product?
A functional ingredient is either a base ingredient that makes up the food itself (flour, eggs, milk, oil, water, salt) or one that preserves, leavens, controls acidity for safety or fortifies. A cosmetic one is added mainly to change color, flavor, sweetness, texture or appearance. Each ingredient's points are multiplied by its role:
| Role | Multiplier |
|---|---|
| functional | ×1 |
| cosmetic | ×1.5 |
A product with a single ingredient ignores the role.
Combining
Ingredients listed earlier weigh more. An ingredient at place p in the list (the first is p = 0) weighs 1 / (p + 1). Ingredients after “contains 2% or less of” are multiplied by ×0.25. A sub-list, like the parts of “enriched flour (wheat flour, niacin)”, shares its parent's weight by order: the item at place q inside the brackets gets a share in proportion to 1 / (q + 1)2, so the first item takes most of it.
The nutrition panel can lower an ingredient's weight. Each weight's share of the total is read as a rough percentage of the product. If that share would need more sodium, sugar or fat than the panel lists per 100 g, the ingredients that supply it (for example salt and baking soda for sodium) are scaled down to what the panel allows. The weight taken off goes to the main ingredients that the panel doesn't limit.
The raw score is the weighted average of the points times the role multiplier: the sum of weight × points × multiplier over the ingredients we know, divided by their total weight. Each result page shows this calculation. The raw score becomes a 1–4 score:
| Raw score | SAS |
|---|---|
| below 0.5 | 1 |
| 0.5 to below 1.5 | 2 |
| 1.5 to below 2.5 | 3 |
| 2.5 or more | 4 |
If ingredients still being researched make up more than 50% of the weighted list, we withhold the score instead of guessing. With some ingredients pending, the score is marked provisional.
Category overrides
The same substance can play a different role in different foods. These written rules override the usual role:
en:sodas: citric acid counts as cosmetic, phosphoric acid counts as cosmetic
Read the definitions for what each term means.