Ocean City, MD is a barrier island. It is about 10 miles long. On one side is the ocean and on the other is the bay. At its widest point it is 1 mile. But that's in really few spots. Mostly it is only a few blocks. There is one highway that runs the length of the island. The boardwalk is 3 miles along the ocean from the inlet north. Best thing is the beach is very clean and its free.