Ocean City is a city located in Maryland. With a 2020 population of 6,889, it is the 30th largest city in Maryland and the 3982nd largest city in the United States. Ocean City is currently declining at a rate of -0.28% annually and its population has decreased by -3.00% since the most recent census, which recorded a population of 7,102 in 2010. Ocean City reached it's highest population of 7,173 in 2000. Spanning over 10 miles, Ocean City has a population density of 1,520 people per square mile.
The average household income in Ocean City is $78,774 with a poverty rate of 7.37%. The median rental costs in recent years comes to $1,046 per month, and the median house value is $290,900. The median age in Ocean City is 56.4 years, 53.2 years for males, and 59.5 years for females. For every 100 females there are 107.5 males.