A healthy diet during childhood is fundamental for optimum growth and development during early years of life and may prevent diseases related with dietary habits during childhood1,2 as well as childhood overweight and obesity, associated with a range of psychosocial and medical complications1-3. Therefore, monitoring dietary intake among children is essential for identifying deviations between actual and recommended intake and developing dietary interventions aiming to improve children's nutritional and health status4.
One way to study overall diet is by diet quality indices (DQI’s). These scores provide nutritional information based on a numeric scale. The development and application of these tools evolves rapidly, along with the exploration of the relationship between these indices and disease5. Dietary scores could be useful tools to evaluate the level of adherence to well-studied dietary patterns known for their beneficial role regarding health outcomes such as Mediterranean Diet6,7.
The Mediterranean Diet is a healthy plant-based dietary pattern, in which fruits, vegetables, olive oil, whole grains, cereals, legumes/nuts are consumed in high amount and frequency, consumption of fish, poultry, eggs and dairy products is moderate while red meat, processed meats, sugar and fat rich foods are allowed only in small amounts8,9.
The Mediterranean Diet is also beneficial to children, as an inverse association between Mediterranean diet pattern and childhood overweight and obesity as well as diseases such asthma and metabolic syndrome has been described10-16. A well-known dietary index in order to assess adherence to a Mediterranean-like dietary pattern in children is the Mediterranean Diet Quality Index (KIDMED)17.
Primary data source of DQI’s are individual dietary data collection tools18. A widely used data collection tool in nutritional epidemiology studies are food frequency questionnaires (FFQ’s). The FFQ’s widespread use is due to their advantage of being a low cost method of obtaining data from a large number of participants with easy completion, suitable to estimate dietary intake over a long period of time19. However, a typical FFQ does not provide prompt information on adherence to healthy dietary patterns such as the Mediterranean.
The aim of the present work was to develop a computer program that could rapidly calculate the KIDMED score by using an FFQ rationale.
The work from Serra-Majem et al20,21 proposed a diet score that evaluates children’s adherence to the Mediterranean diet pattern using a 16-point scale. Dietary habits denoting high adherence scored with +1; dietary habits indicating deviation from the pattern scored with –1 and dietary habits with neutral association scored with 0. Based on the score which ranges from -4 to 12, the adherence to the Mediterranean diet is classified in three levels: ≤3, very low-quality diet; 4-7, diet which needs improvement to conform Mediterranean patterns; ≥8, optimal Mediterranean Diet.
Since KIDMED test uses a 16-item questionnaire to evaluate the adherence to the Mediterranean Diet, in this study 11 main food groups that correspond to KIDMED test were used: fruits, vegetables, fish, legumes/ pulses, nuts, dairy, starchy foods, fats/oils, baked goods/ pastries, sweets and fast-food. Following an FFQ structure, each main food group further categorized into multiple indicative food items, commonly found in various FFQ’s.
In the present program an FFQ rationale was used to calculate KIDMED, thus it was necessary to match the FFQ and the KIDMED questions. For the consumption of each food item the values 0, 0.05, 0.571, 1 and 2 were assigned when a participant reported “never” (no consumption), “1-2 times/month” (rare), “2-6 times/ week” (weekly), “1 time/day” (daily) and “2 times/day” (twice a day), respectively. For breakfast consumption the available options are “never”, “1-2 times/month”, “2-6 times/week” and “1 time/day” (Table 1). These assigned values correspond to the daily consumption of each food item. The overall food category sum was then compared with the threshold intake and the respective score was recorded, as proposed by the KIDMED scoring system. It should be noted that in accordance with KIDMED test, portion sizes are not included in the present program.

A software program (Figure 1) was developed for the calculation of the KIDMED score using Microsoft Visual Studio 2019 (Version 16.4.3) in Microsoft Visual Basic 16.0.
By clicking the “Start” button, the user is asked to state the consumption frequency of every listed food for each food category by clicking at the respective option button (Figure 2). When an option button is selected the respective circle turns from white to black indicating that the selection has been made. By clicking “Next” and “Back” buttons, the user can navigate through the food categories as well as change the options.
By clicking the “Finish” button, the program automatically calculates the KIDMED score, according to the method described above (Figure 3). Moreover, it can calculate the level of adherence to the Mediterranean Diet based on the assumption that if a score equal to 12 represents 100% adherence then a score equal to k represents (k/12) ×100 % compliance to the Mediterranean dietary pattern.
The present program is also suitable for research purposes. It allows the user to enter additional in-formation such as name, age, gender, height, and weight. Also, Body Mass Index (BMI) is automatically calculated. This information along with the KIDMED calculation, the level of adherence and the evaluation of the diet according to the KIDMED can be inserted into a table, allowing the user to save the results and start over again.
All the above information by clicking the “Export” button can be transferred to an Excel sheet (Figure 4), providing the ability to create a database.
The program is developed for the PC/Windows and was compatible with PC’s running Windows 7 and Windows 10 Home operating system, and is available on demand from the authors.




The software allows the user to rapidly calculate the level of the adherence to the Mediterranean dietary pattern according to KIDMED index, without the requirement of special computer skills on behalf of the user, since only mouse usage is needed. It is also suit-able for research purposes, due to its ability to create databases and determine the level of adherence to the Mediterranean diet even based on previously obtained FFQ’s. The application of this score in the pediatric population might be useful for the improvement of diet quality and the prevention of diseases related to diet during childhood.
The authors certify that there is no conflict of interest with any financial organization regarding the material discussed in the manuscript.
Department of Nutrition & Dietetics, Harokopio University, Athens, Greece
Aim: Development of a computer program that can easily calculate KIDMED score. Methods: KIDMED is an index that estimates the adherence level to Mediterranean diet in children and youth. In this work we present a computer program that can easily calculate this diet index using a Food Frequency Questionnaire rationale. Results: A software program was developed for the calculation of the KIDMED score using Microsoft Visual Studio 2019 (Version 16.4.3) in Microsoft Visual Basic 16.0. Conclusions: This user-friendly software might be a useful tool for research purposes but also for the prevention of diseases related with dietary habits during childhood.
Fabiano V, Albani E, Cammi GM, Zuccotti GV. Nutrition in developmental age: few rules to stay healthy. Minerva Pediatrica. 2020;72:182–195.
De Niet JE, Naiman DI. Psychosocial aspects of childhood obesity. Minerva Pediatrica. 2011;63:491–505.
Kosti RI, Panagiotakos DB. The epidemic of obesity in children and adolescents in the world. Central European Journal of Public Health. 2006;14:151–159.
van der Velde LA, Nguyen AN, Schoufour JD, Geelen A, Jaddoe VWV, Franco OH, et al. Diet quality in childhood: the Generation R Study. European Journal of Nutrition. 2019;58:1259–1269.
Kourlaba G, Panagiotakos DB. Dietary quality indices and human health: a review. Maturitas. 2009;62:1–8.
Zaragoza-Marti A, Cabanero-Martinez MJ, Hurtado-Sanchez JA, Laguna-Perez A, Ferrer-Cascales R. Evaluation of Mediterranean diet adherence scores: a systematic review. BMJ Open. 2018;8:e019033.
Soltani S, Jayedi A, Shab-Bidar S, Becerra-Tomas N, Salas-Salvado J. Adherence to the Mediterranean Diet in relation to all-cause mortality: a systematic review and dose-response meta-analysis of prospective cohort studies. Advances in Nutrition. 2019;10:1029–1039.
Castro-Quezada I, Roman-Vinas B, Serra-Majem L. The Mediterranean diet and nutritional adequacy: a review.Nutrients. 2014;6:231–248.
Widmer RJ, Flammer AJ, Lerman LO, Lerman A. The Mediterranean diet, its components, and cardiovascular disease.The American Journal of Medicine. 2015;128:229–238.
Kanellopoulou A, Giannakopoulou SP, Notara V, Antonogeorgos G, Rojas-Gil AP, Kornilaki EN, et al. The association between adherence to the Mediterranean diet and childhood obesity; the role of family structure: results from an epidemiological study in 1728 Greek students. Nutrition and Health. 2021;27:39–47.
Kosti RI, Kanellopoulou A, Fragkedaki E, Notara V, Giannakopoulou SP, Antonogeorgos G, et al. The influence of adherence to the Mediterranean diet among children and their parents in relation to childhood overweight/obesity: a cross-sectional study in Greece. Childhood Obesity. 2020;16:571–578.
Galan-Lopez P, Dominguez R, Pihu M, Gisladottir T, Sanchez-Oliver AJ, Ries F. Evaluation of physical fitness, body composition, and adherence to Mediterranean diet in adolescents from Estonia: the AdolesHealth Study. International Journal of Environmental Research and Public Health. 2019;16(22).
Tognon G, Hebestreit A, Lanfer A, Moreno LA, Pala V, Siani A, et al. Mediterranean diet, overweight and body composition in children from eight European countries: cross-sectional and prospective results from the IDEFICS study. Nutrition, Metabolism and Cardiovascular Diseases. 2014;24:205–213.
Arvaniti F, Priftis KN, Papadimitriou A, Papadopoulos M, Roma E, Kapsokefalou M, et al. Adherence to the Mediterranean type of diet is associated with lower prevalence of asthma symptoms among 10–12-year-old children: the PANACEA study. Pediatric Allergy and Immunology. 2011;22:283–289.
Douros K, Thanopoulou MI, Boutopoulou B, Papadopoulou A, Papadimitriou A, Fretzayas A, et al. Adherence to the Mediterranean diet and inflammatory markers in children with asthma. Allergologia et Immunopathologia.2019;47:209–213.
Velazquez-Lopez L, Santiago-Diaz G, Nava-Hernandez J, Munoz-Torres AV, Medina-Bravo P, Torres-Tamayo M. Mediterranean-style diet reduces metabolic syndrome components in obese children and adolescents. BMC Pediatrics.2014;14:175.
Pereira-da-Silva L, Rego C, Pietrobelli A. The diet of preschool children in the Mediterranean countries of the European Union: a systematic review. International Journal of Environmental Research and Public Health.2016;13(6).
Gil A, Martinez de Victoria E, Olza J. Indicators for the evaluation of diet quality. Nutricion Hospitalaria.2015;31(Suppl 3):128–144.
Lovell A, Bulloch R, Wall CR, Grant CC. Quality of food-frequency questionnaire validation studies in the dietary assessment of children aged 12 to 36 months: a systematic literature review. Journal of Nutritional Science.2017;6:e16.
Serra-Majem L, Ribas L, Garcia A, Perez-Rodrigo C, Aranceta J. Nutrient adequacy and Mediterranean diet in Spanish school children and adolescents. European Journal of Clinical Nutrition. 2003;57(Suppl 1):S35–S39.
Serra-Majem L, Ribas L, Ngo J, Ortega RM, Garcia A, Perez-Rodrigo C, et al. Food, youth and the Mediterranean diet in Spain. Development of KIDMED, Mediterranean Diet Quality Index in children and adolescents. Public Health Nutrition. 2004;7:931–935.