Medical costs are calculated for diabetes mellitus types I and II for all age groups of Mexican people and sex into range of 2012-2050. Probabilities of entrance or disease detection, in treatment and death are calculated for each age group and sex. The maximum probabilities for each case are 13.66% (50-54), 7.37% (55-59) and 7.14% (80-84) for male. Analogously, for female are 29.67% (50-54), 7.66% (55-59) and 4.96% (80-84), respectively. The treatment costs are similarly between men and women. The maximum number of people in treatment is between 65 and 74 years old, increasing after 50 years of age because of other sickness appear linking with diabetes mellitus. The sickness appears in early age, 5 years old.