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 (NYSE:RAD) and CVS Health (NYSE:CVS).

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. 

Todd Campbell owns shares of Rite Aid. Todd owns E.B. Capital Markets, LLC. E.B. Capital's clients may or may not have positions in the companies mentioned. The Motley Fool recommends CVS Health. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.