Wallet Hub released a study showing the impact of the Affordable Care Act in all 50 states and the District of Columbia.

Its conclusion? Blue states are getting a better deal than red states, seeing significant gains in certain areas of health care. But if red states were to all opt into the Medicaid expansion (currently 26 states have not expanded Medicaid), Wallet Hub says that rankings would change drastically.

Other findings in the study say that for the most part expanding Medicaid gives states more positives than negatives, with states that opt to expand their programs looking at "significant return on investment."

But the expansion of Medicaid didn't exactly match up with reductions in uninsured. "While one might assume that all of the states opting for ACA-advised Medicaid expansion would see larger reductions in their uninsured population than states opting out, that isn’t necessarily the case. Rather, the change in a state’s uninsured population depends on its Medicaid requirements prior to the ACA’s expansion as well as its decision to opt in or out of federally advised expansion. That is why states like Rhode Island, Nevada, California, New Mexico and Arkansas will see their per capita uninsured populations decline the most, while Pennsylvania, Maine, Iowa, Wisconsin and Massachusetts will still see declines, but they will be less significant."

Small-business owners were found to benefit across all states. "The ACA provides tax credits to small businesses with fewer than 25 employees who make less than $50,000 per year on average. Based on analysis of Census payroll records, the average company of that size in every state would qualify for the tax credit."

The 11 aspects the study looked at are: Preexisting conditions per capita, savings per capita on out-of-pocket medical expenses, average change in premium, tax credit-eligible small businesses per capita, changes in per capita uninsured population, emergency room visits per capita, average savings on uncompensated care spending per capita, cost benefit of Medicaid expansion, state spending required for federal funding, access to care and preliminary applications.

Utah ranks among the lowest when it comes to benefits. In fact, Utah is ranked 50th out of 51, with only Georgia performing worse than Utah. However if Utah were to opt into the Medicaid expansion, then it would rank 42nd.

This list ranks each state from those that benefit the most (1 being greatest) to the lowest benefiting state (51). For the full analysis of the ACA's impact on the states, you can view the study on Wallet Hub.

51 Georgia
Wikicommons

Rank if all states opted into the Medicaid expansion: 37

50 Utah
Shutterstock

Rank if all states opted into the Medicaid expansion: 42

49 Idaho
Wikicommons

Rank if all states opted into the Medicaid expansion: 35

48 South Dakota
Wikicommons

Rank if all states opted into the Medicaid expansion: 32

47 Arizona
Wikicommons

Rank if all states opted into the Medicaid expansion: 51

46 Texas
Wikicommons

Rank if all states opted into the Medicaid expansion: 36

45 North Carolina
Wikicommons

Rank if all states opted into the Medicaid expansion: 22

44 Iowa
Shutterstock

Rank if all states opted into the Medicaid expansion: 44

43 Florida
Wikicommons

Rank if all states opted into the Medicaid expansion: 20

42 Kansas
Shutterstock

Rank if all states opted into the Medicaid expansion: 48

41 Nevada
Shutterstock

Rank if all states opted into the Medicaid expansion: 47

40 Nebraska
Wikicommons

Rank if all states opted into the Medicaid expansion: 46

39 Mississippi
Wikicommons

Rank if all states opted into the Medicaid expansion: 9

38 South Carolina
Wikicommons

Rank if all states opted into the Medicaid expansion: 5

37 California
Wikicommons

Rank if all states opted into the Medicaid expansion: 49

36 Wisconsin
Wikicommons

Rank if all states opted into the Medicaid expansion: 26

35 Pennsylvania
Shutterstock

Rank if all states opted into the Medicaid expansion: 29

34 Montana
Shutterstock

Rank if all states opted into the Medicaid expansion: 24

33 Hawaii
Wikicommons

Rank if all states opted into the Medicaid expansion: 43

32 Alabama
Associated Press

Rank if all states opted into the Medicaid expansion: 10

31 Virginia
Shutterstock

Rank if all states opted into the Medicaid expansion: 41

30 Louisiana
Wikicommons

Rank if all states opted into the Medicaid expansion: 12

29 Missouri
Wikicommons

Rank if all states opted into the Medicaid expansion: 17

28 Minnesota
Wikicommons

Rank if all states opted into the Medicaid expansion: 50

27 Tennessee
Wikicommons

Rank if all states opted into the Medicaid expansion: 6

26 New Mexico
Wikicommons

Rank if all states opted into the Medicaid expansion: 31

25 Illinois
Wikicommons

Rank if all states opted into the Medicaid expansion: 45

24 Wyoming
Wikicommons

Rank if all states opted into the Medicaid expansion: 16

23 Indiana
Wikicommons

Rank if all states opted into the Medicaid expansion: 15

22 Oklahoma
Wikicommons

Rank if all states opted into the Medicaid expansion: 13

21 Colorado
Shutterstock

Rank if all states opted into the Medicaid expansion: 38

20 Washington
Wikicommons

Rank if all states opted into the Medicaid expansion: 39

19 Arkansas
Shutterstock

Rank if all states opted into the Medicaid expansion: 19

18 District of Columbia
Associated Press

Rank if all states opted into the Medicaid expansion: 4

17 Alaska
Shutterstock

Rank if all states opted into the Medicaid expansion: 21

16 Maine
Wikicommons

Rank if all states opted into the Medicaid expansion: 2

15 New Jersey
Wikicommons

Rank if all states opted into the Medicaid expansion: 34

14 Massachusetts
Wikicommons

Rank if all states opted into the Medicaid expansion: 30

13 Michigan
Wikicommons

Rank if all states opted into the Medicaid expansion: 28

12 Oregon
Shutterstock

Rank if all states opted into the Medicaid expansion: 14

11 Delaware
Shutterstock

Rank if all states opted into the Medicaid expansion: 27

10 Connecticut
Shutterstock

Rank if all states opted into the Medicaid expansion: 23

9 North Dakota
Wikicommons

Rank if all states opted into the Medicaid expansion: 23

8 New Hampshire
Wikicommons

Rank if all states opted into the Medicaid expansion: 18

7 Maryland
Shutterstock

Rank if all states opted into the Medicaid expansion: 25

6 Rhode Island
Wikicommons

Rank if all states opted into the Medicaid expansion: 11

5 Ohio
Wikicommons

Rank if all states opted into the Medicaid expansion: 8

4 Kentucky
Shutterstock

Rank if all states opted into the Medicaid expansion: 3

3 Vermont
Shutterstock

Rank if all states opted into the Medicaid expansion: 7

2 West Virginia
Wikicommons

Rank if all states opted into the Medicaid expansion: 1

1 New York
Wikicommons

Rank if all states opted into the Medicaid expansion: 4