As two of the top U.S. cable providers, Comcast (CMCSA 0.47%) and Charter Communications (CHTR 1.29%) each sit at the intersection of several big-ticket trends shaping the media, cable distribution, and telecom industries.

Their shares have each eviscerated the S&P 500's impressive performance over the past 12 months.

CMCSA Chart

CMCSA data by YCharts

However, though the recent winner between these two rivals is clear, let's take a bigger-picture view of Comcast and Charter Communications through a three-part analysis. 

Financial fortitude

The cable distribution industry operates under a unique set of rules, as these four important measures of solvency and liquidity for Comcast and Charter suggest:

Company

Cash and Investments

Debt

Cash From Operations

Current Ratio

Comcast

$4.0 billion

$61.7 billion

$19.5 billion

0.8

Charter Communications

$2.9 billion

$62.8 billion

$10.4 billion

1.3

Data source: Yahoo! Finance 

Comcast and Charter share more similarities than differences when it comes to their financial structures. More to the point, there isn't a meaningful difference between the two in terms of their cash and investments, debt, or current ratio.

However, Comcast's cash flow-producing capacity is a key advantage over Charter. Granted, generating $10.4 billion in cash from operations is nothing to sneeze at, but the basic arithmetic lies in Comcast's favor here. As the leader in the only point of differentiation between the two in this segment, Comcast deserves a win, though both companies appear to be in fine financial condition.

Winner: Comcast.

A family watches cable programming together on a couch.

Image source: Getty Images.

Durable competitive advantages

Comcast and Charter generate the bulk of their revenue by providing the same three core services -- cable video, internet, and phone -- to consumers and businesses across the United States.

What's more, Comcast's and Charter's customer bases are virtually the same size. Comcast's 10-K filing shows 28.6 million total customer relationships at the end of its fiscal 2016, compared with 26.2 million for Charter. 

However, the defining difference between the two lies in Comcast's ownership of significant media assets -- including NBC Universal TV's motion-picture content production, a cadre of local TV stations, and a theme-park operation. All told, these businesses contributed 39% of Comcast's consolidated revenue in 2016. Charter's business model controls just the "pipes" that deliver various telecom services to consumers, whereas Comcast controls the pipes and some of the content that flows through them. 

Comcast and AT&T are both said to be preparing to introduce over-the-top cable services that flow directly to consumers' mobile devices, to counter similar services from a host of tech companies. That development would only strengthen Comcast's strategic position over Charter. Comcast is in a better position to launch its own services thanks to the leverage its content assets provide it. So while Charter is no slouch, Comcast earns a win here.

Winner: Comcast.

Valuation

Let's look at three popular valuation metrics for these two cable distribution powers.

Company

P/E

P/Cash Flow

Comcast

21.9

10.3

Charter Communications

18.5

9.0

Data sources: Yahoo! Finance  and Morningstar 

Both companies are projected to grow at nearly identical rates both this year and next. Comcast is expected to grow revenue 5.2% this year and 6.6% next year, while analysts expect Charter to increase sales 5.1% in 2017 and 5.2% in 2018. 

No meaningful difference exists between the company's valuations or growth profiles. So rather than dwell on marginal differences, the two companies earn a tie in this final section of our analysis.

Winner: Tie.

And the winner is... Comcast

Comcast wins two of our three points of comparison against Charter Communications. Though the company is in fine shape today, Charter's concentration in cable distribution does expose it to some of the coming trends in this space. The same can't be said for Comcast, which is helping lead this charge with its dominant media business. For that reason, Comcast shares appear to be the better buy.