Margarita, I am not sure if there is a precise answer, but we normally use the word medium with size or physical measurment and middle on a scale of reference. For example, we wear a medium sized shirt, a person is medium height, medium range (distance) aircraft. Someone is middle aged or mid-career which refers to a time range/scale. I hope this helps :)