Is the median is the same thing as the 50th percentile?

Only if the dataset (distribution) you are dealing with in symmetric.