Major medical distributors are up for the year, on average easily surpassing the S&P 500. The industry's big three -- McKesson (NYSE:MCK), AmerisourceBergen (NYSE:ABC), and Cardinal Health (NYSE:CAH) -- have an advantage of scale that make them great long-term ideas for anyone looking for a solid investment. Here's why.

You can't overlook their dividends

All three have solid dividends. McKesson has raised its quarterly dividend for seven consecutive years, bumping its quarterly payout 5% this year to reach $0.41 per share. It has a 1% yield -- less than the S&P average of about 2%, but still solid -- and a conservative 11% payout ratio over the trailing 12 months (TTM).

Man holding $100 bills.

Image source: Getty Images.

Cardinal has seen 15 consecutive years of dividend growth. The company just raised its quarterly dividend by 25% to $0.48 per share, giving it a nice yield of 3.5% with a sustainable payout ratio of 36.4% (TTM).

AmerisourceBergen also has 15 years of consecutive dividend growth. It raised its quarterly dividend 5% this year to $0.42 per share with a yield of 1.7%. Like McKesson, it has a conservative payout ratio: 23.7% (TTM). 

McKesson has had a huge year

Irving, Texas-based McKesson is the biggest of the three. Its fourth-quarter revenue was $58.5 billion, up 12%, and full-year revenue hit $231.1 billion, up 8%. A lot of the company's growth was in its U.S. pharmaceutical and specialty solutions segment, where revenue was up $13%. Its medical-surgical solutions segment did equally well, with revenue of $2.2 billion, up 13%. 

McKesson's fourth-quarter adjusted earnings per diluted share were $4.27, compared with $3.69 a year ago -- an increase of 16%. Even with COVID-19 concerns, the company said it expects 2% to 4% growth in 2021. 

Then there's the share price, which as of Thursday was up almost 17% for the year. On Wednesday, it closed at $161.72, with its 52-week high of $172.18 within sight.

AmerisourceBergen may be the best bargain

AmerisourceBergen, located in Valley Forge, Pa., is trading at about $99, up 13.6% since the start of the year and reaching new 52-week highs.

It's still a bargain, though, if you look at the company's most recent earnings. In the second quarter, revenue was $47.4 billion, 9.5% above the same quarter last year. Under Generally Accepted Accounting Principles (GAAP), diluted earnings per share came in at $4.64, a dramatic 3,470% jump from the same quarter in 2019. The company is in a strong cash position with $3.69 billion on the books. 

While things are going boffo, the company did lower its earnings per share guidance for fiscal 2020 to a range of $7.35 to $7.65, down from its previous estimate of $7.55 to $7.80, because of coronavirus concerns. 

Cardinal's growth has been more impressive lately

Cardinal Health, located in Dublin, Ohio, is the smallest of the big three, and it has had more modest -- but solid -- growth this year.

In the third quarter, Cardinal reported revenue of $39.2 billion, up 11% over the same quarter in 2019. This was driven in large part by its pharmaceutical segment, which had $35.1 billion in revenue, up 12% from last year. Its medical segment had revenue of $4.1 billion, a 5% rise.

Cardinal's consolidated operating earnings were $719 million, an increase of 8%. Its diluted earnings per share attributable to Cardinal were $1.19, up 20% from 2019.

Despite expecting more coronavirus headwinds in the fourth quarter, the company is sticking with its full-year guidance of non-GAAP diluted earnings per share between $5.20 and $5.40. 

Its stock price started out at $50.58 on Jan. 1 and dropped to a low of $41 on March 23, but since then, it has risen more than 36% to $56.80 as of Thursday, up 12% for the year.

With this trio, it's hard to make a bad decision

An investment in any of these three companies on Jan. 1 would have netted you at least 10% and possibly as much as 18% this year. If you bought in during late February or early March, you would likely have seen a bigger rise.

Of the three, Cardinal may be the best priced, with a price-to-earnings (P/E) ratio of 10.6. Amerisource Bergen is also well-priced, with a P/E of just less than 13. McKesson's stock has had the best run so far of the three, but its P/E of 31.8 shows it to be a little pricier. With the added bonus of a solid dividend, all three look like nice long-term plays.