An ever-aging and increasingly insured population means that prescription medicine volume is going to climb for years to come. Two of the companies that are perfectly positioned to profit from that tidal wave of baby boomer demand are Rite Aid Corporation (RAD 20.00%) and CVS Health (CVS 1.49%).

Both are industry titans, and both have rewarded investors with better than market returns over the past year. But is one a better buy than the other? To find out, I created the following slideshow to see how the two match up on profitability, their balance sheet, and valuation.