Advertisement
Advertisement
HEALTH

Diet Quality Score Calculator — your own weights, your own targets

Score weekly servings of five food groups against targets and weights that you set yourself, with every step of the arithmetic shown and no verdict attached.

This is not a published index and it is not a diagnosis. The targets and weights below are yours to set. The score is arithmetic on your own choices, and it says nothing about whether anyone's diet is good or bad.
These three are adequacy components: they score in proportion to how close the entry is to your target, and reaching the target scores the full weight. Nothing above the target scores extra.
These two are moderation components: full points at or below the first level, zero points at or above the second, and a straight line between them. Where you set those two levels is your own judgement, not ours.
Score against your own targets and weights
 
Points from the three adequacy components
Points from the two moderation components
Total weight available
Component furthest from its own full points
This score is not a published index, not a health assessment and not a judgement about anyone's diet. It is arithmetic on targets and weights you chose. A dietitian or clinician is the person to discuss diet with.
Advertisement

The diet quality score calculator above is honest about something most scoring tools are not: the scoring rules are yours. You set the targets, you set the weights, you set the levels at which the moderation components stop earning points, and the tool does the arithmetic. It is a structured way of writing down what you already think matters, and it is not a measurement of diet quality.

Arb Digital builds free calculators that either implement a published standard and cite it, or make the assumptions the reader's own and say so plainly. This page is firmly the second kind, and the rest of this article explains why the first kind is not available at this level of input.

Why This Does Not Implement HEI, DASH or a Mediterranean Score

Published diet quality indices exist and are well documented. The Healthy Eating Index is developed jointly by the National Cancer Institute and the USDA Center for Nutrition Policy and Promotion, and its overview page at the National Cancer Institute describes it as a scoring metric for overall diet quality and for individual dietary components, measuring alignment with the Dietary Guidelines for Americans.

The HEI development and scoring page sets out the structure of HEI-2020 in detail: thirteen components totalling 100 points, split into nine adequacy components worth 60 points — total fruits, whole fruits, total vegetables, greens and beans, whole grains, dairy, total protein foods, seafood and plant proteins, and fatty acids — and four moderation components worth 40 points, being refined grains, sodium, added sugars and saturated fats.

That structure is the reason this page does not claim to implement it. HEI components are scored on a density basis, per 1,000 calories or as a share of energy, which requires a full dietary assessment: everything eaten, in measured amounts, converted into food pattern equivalents and nutrients. Five numbers describing weekly servings cannot produce those densities, and a page that took five servings figures and printed an "HEI score" would be publishing something that is not one.

The same objection applies to DASH scoring and to the various Mediterranean diet scores. Each has a specific published definition, specific components and specific cut-points, usually derived from a food frequency questionnaire with dozens of items and often scored against the median intake of the study population rather than against absolute targets. Reproducing the name without the method would be misleading, so this page uses neither.

What This Calculator Actually Does

It scores five components, three of them adequacy and two of them moderation, against levels you set.

An adequacy component scores in proportion to how close your entry is to your target, capped at the full weight. Eating twice your fruit target earns exactly the same as eating it once, because the score is about reaching a level rather than maximising a quantity.

A moderation component scores the full weight at or below the level you nominate for full points, zero at or above the level you nominate for zero points, and a straight line in between. Both levels are inputs, which is the honest way to handle components where reasonable people and reasonable guidelines disagree about where the lines sit.

The weights are also inputs. If you think vegetables matter more than sugary drinks, put a larger number in the vegetable weight and the total scale adjusts. The tool reports the total weight available alongside the score, so a score of 57 always comes with the 100 it was out of.

The Formula / How It's Calculated

For each adequacy component, points = weight × min(1, servings ÷ target). For each moderation component, points = weight × clamp((zero level − servings) ÷ (zero level − full-points level), 0, 1). The score is the sum, and the denominator is the sum of the weights.

Work the defaults through by hand. Fruit at 10 against a target of 14 gives 10/14 = 0.7143, times 20, so 14.286. Vegetables at 14 against 21 gives 0.6667 × 20 = 13.333. Whole grains at 7 against 21 gives 0.3333 × 20 = 6.667. Adequacy subtotal: 34.29 of 60.

Red and processed meat at 6, with full points at 3 and zero at 14, gives (14 − 6) ÷ (14 − 3) = 8/11 = 0.7273, times 20, so 14.545. Sugary drinks at 4, with full points at 0 and zero at 7, gives (7 − 4) ÷ 7 = 0.4286 × 20 = 8.571. Moderation subtotal: 23.12 of 40.

Total: 57.40 out of 100. Change any weight and both the score and the denominator move together. Our weighted average calculator covers the general form of this arithmetic if you want to build a scheme with different components entirely.

Advertisement

What a Serving Is, and Why That Is the Weak Point

The largest source of error here is not the arithmetic. It is that "a serving" means different things to different people and to different guidance documents. A serving of fruit might be one medium apple, or 80 grams, or half a cup, depending on whose definition you use. Vegetables are worse, because a handful of salad leaves and a portion of cooked broccoli are the same nominal serving and very different amounts of food.

Recall is the second problem. Asking someone how many servings of vegetables they ate last week produces an estimate, and dietary recall is systematically biased: foods people feel positively about tend to be over-reported and foods people feel negatively about tend to be under-reported. That bias runs in opposite directions across the adequacy and moderation components on this page, which pushes the score upwards from both ends.

The practical response is to pick one definition of a serving, write it down, and use the same one every time you fill the form in. A score compared against your own earlier score under the same definitions carries some information. A score compared against someone else's, or against a published index, carries almost none.

Five Components Is Not a Diet

The list here covers fruit, vegetables, whole grains, red and processed meat, and sugary drinks. That leaves out a great deal: fish and seafood, legumes, nuts, dairy, fats and oils, sodium, alcohol, portion sizes, total energy, and everything about how food is prepared. The Healthy Eating Index uses thirteen components for a reason.

It also leaves out everything that is not food. Eating patterns, budget, cooking facilities, allergies, medical conditions requiring specific diets, cultural food traditions and simple availability all shape what someone eats, and none of them appear in a servings form. A score does not know whether someone eats little fruit because they dislike it or because there is no shop nearby.

So a low number here is not evidence of a poor diet, and a high one is not evidence of a good one. It is evidence about five numbers, weighted the way you weighted them. If you want depth on individual components, our fibre intake calculator, sugar intake calculator and micronutrient intake calculator each go further on their own topic than a composite score can.

Where to Get Targets Worth Using

If you want your targets to reflect published guidance rather than instinct, the guidance itself is the place to go. The Dietary Guidelines for Americans are developed jointly by the US Departments of Health and Human Services and Agriculture and updated every five years, with the 2025–2030 edition current at the time of writing. National guidance elsewhere differs, sometimes substantially, and the guidance that applies where you live is the one to use.

Two things to watch when transcribing a guideline into a target. First, guidance is usually stated per day and this form is per week, so multiply by seven. Second, guidance is often stated in weights or cups rather than servings, so you will need to decide what a serving means before the number transfers.

And a guideline is a population-level recommendation, not a personal prescription. Energy needs, medical conditions, pregnancy, age and activity all change what is appropriate for an individual, and that is a conversation with a dietitian or a clinician rather than a number to copy off a website.

Using a Score Without Being Ruled by One

Scores are motivating and that is both their use and their danger. A single figure makes progress visible in a way that five separate numbers do not, and tracking it over months can show a direction that any individual week would hide.

The danger is that a single figure invites optimisation of the figure rather than of the thing it stands for. Because adequacy components cap at the target, this scheme deliberately gives nothing for overshooting — but it is still possible to game any scoring system, and the score is only as meaningful as the honesty of the inputs.

The more useful reading is component by component. The grid on this page names the component furthest from its own full points, which is a description of where the arithmetic is losing the most, not a recommendation about what to change. What to do about it, if anything, is not a question a calculator is qualified to answer. Our food points calculator and macro calculator handle different framings of the same general problem, and the water intake calculator covers fluid, which no diet score includes.

Want tools like this built for your own audience?

Arb Digital designs and builds free interactive calculators that either implement a published standard and cite it, or hand the assumptions to the reader and say so. Browse what we have already published, or tell us what your audience keeps searching for.

Browse the Free Tools Hub Talk to Arb Digital

Common Mistakes to Avoid

  • Calling this an HEI or DASH score. It is neither. Those indices have published component lists, density-based scoring and specific cut-points that five weekly servings figures cannot produce.
  • Comparing your score with someone else's. The weights and targets are user-set, so two scores computed under different settings are not comparable at all.
  • Changing a serving definition mid-way. A serving is not a standard unit. Fix one definition and reuse it, or your own trend becomes meaningless.
  • Mixing daily guidance into a weekly form. Published targets are usually per day. Multiply by seven before entering them.
  • Reading a low number as a verdict. Five components are not a diet, recall is unreliable, and this page makes no assessment of anyone's eating.

Related Free Tools From Arb Digital

Go deeper on single components with the fibre intake calculator, the sugar intake calculator and the micronutrient intake calculator. The macro calculator and food points calculator cover different framings of intake, the water intake calculator covers fluid, and the weighted average calculator and percentage calculator let you build or check a scoring scheme of your own. Everything else is on the free online tools hub.

Frequently Asked Questions

Is this the Healthy Eating Index?

No. HEI-2020 has thirteen components totalling 100 points, scored on a density basis per 1,000 calories, which requires a full dietary assessment. Five weekly servings figures cannot produce those densities, so this page uses its own reader-set scheme instead and says so.

Where do the default targets come from?

They are round starting points, not published recommendations, and they are all editable. If you want targets that reflect guidance, take them from the dietary guidance that applies where you live and remember to convert daily figures into weekly ones.

How are the moderation components scored?

Full weight at or below the level you set for full points, zero at or above the level you set for zero points, and a straight line between the two. Both levels are your choice, because published guidance differs on where they belong.

Does eating more than my target earn extra points?

No. Adequacy components cap at the full weight once the target is reached, so overshooting scores the same as meeting it. The score is about reaching a level rather than maximising a quantity.

Can I compare my score to someone else's?

No, unless you are both using identical targets, weights and serving definitions. Because every scoring parameter is user-set, two scores from different settings are not measuring the same thing.

Does a low score mean my diet is unhealthy?

No, and this page makes no such statement. It covers five components out of many, relies on recalled servings, and knows nothing about energy intake, medical needs, budget or availability. It is not an assessment of anyone's diet.

Why does a serving definition matter so much?

Because a serving is not a standard unit and definitions differ between guidance documents. Using one definition consistently is what makes your own scores comparable over time; nothing else about the arithmetic can fix an inconsistent input.

This page is a scoring tool for general information only. It is not medical or dietary advice, it is not a published dietary index, and it makes no assessment or diagnosis of anyone's diet or health. Every target and weight in it is chosen by the reader. If you have questions about what you eat, a medical condition affecting your diet, or you are considering a significant dietary change, speak to a registered dietitian or a qualified clinician.

Advertisement
Advertisement

Take it further

Need something more advanced? Try the free AI Website Audit & Keyword Research tools, or browse our free WordPress plugins.