How to calculate the median?
Look there purely.
http://www.mathebibel.de/median
Possibly use the translator.
!