A general overview of the cost of living index for Ocean City, MD is displayed above. In Ocean City, MD, the overall cost of living index is 118, which is 3% lower than the Maryland average and 18% higher than the U.S. average. The following categories are used to calculate the overall cost of living index: goods/services (33%), housing (30%), groceries (13%), utilities (10%), transportation (9%) and health care (5%). From the list, it is clear that the categories of goods/services and housing are responsible for the largest portions of the overall cost of living index. As a general rule, everyday goods and services provide an accurate measure of the general cost of goods in any given city. In the case of Ocean City, MD, the city's goods and services are 8% higher than the Maryland average and 17% higher than the U.S. average.