How many years are given to a student for completion of an Ed.M., and how many for an Ed.D.?

On average, 5 years for a Ed.M., and 10 years for an Ed.D.