According to the CDC, 88.1 percent of the population has a regular place to go for medical care, but the cost and the quality of health-care service often vary widely from state to state. 

The most recent estimates from the Centers for Medicare & Medicaid Services say the average American spends more than $10,000 per year on personal health care, including monthly insurance premiums, doctor visit costs and dental visits.

WalletHub compared the 50 states and Washington, D.C., on the quality of health care they offer, including health-care costs, consumer access and patient outcomes for the ranking based on a 100-point scale.

Emergency room waiting times, access to health clinics and the number of doctors, nurses and dentists per capita were also analyzed to determine the outcomes in the ranking.

These, according to WalletHub, are the best states, in ascending order, for health care:

10. Maryland

Cost ranked second, which measured the cost of both medical and dental visits, average monthly insurance rates, and out-of-pocket medical expenses. Maryland had the fewest hospital beds per capita.