While it seemed high, if you have a 1 floor building, and a 10 floor building you have floors ((1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 +10) + (1)) / 11 = 5 floor average height.
Not: Average the building heights (10 + 1) / 2 = 5.5 and then cut that in half = 2.75 average floor height.
PS: Put another way a 1 story building has 1 floor of people a 100 floor building has 100 floors of people so the average person is not evenly split between both buildings. So, 100 1 story buildings and 1 100 story building average to 50 floors. (+/- and off by 1 errors as you go up 99 floors to reach 100th floor, but people also go to basements.)
That random post is way off. I was curious and even if you only include buildings 10 stories and up, the average is under 20. And if you have ever been to the boroughs, you would know that there are many houses and buildings under 10 stories.