The infographics below show how the 10 most valuable teams in Major League Baseball make their money.

A team’s total value is made up of four determining factors: Sport, Market, Arena and Brand.

Sport is the portion of a team’s value attributable to revenue shared among all teams. Market is the portion that comes from its city and market size. Stadium is the part attributable to its stadium (home game attendance, premium seating, non-MLB events, etc.) And Brand comes from (you guessed it) the team’s specific brand.

A team’s revenue per fan is its local revenue divided by metro population, with populations in two-team markets divided in half.

The Washington Nationals are negotiating to sell the naming rights to their ballpark. Figure the deal will be done before end of this season and starting in 2017 at least $10 million annually will be added to the team’s coffers.

The Los Angeles Angels of Anaheim drew more than three million fans last season for the 13th straight year. One reason: owner Artie Moreno changes an average ticket price of just $27.50, the cheapest of any big-market baseball team.

St. Louis Cardinals Play in Small Market But Generate Big Market Profits

The Cards have generated a total of $200 million in operating income the past three seasons, more than any other baseball team. Playing in a town where baseball is wildly popular, the Card are the epitome of constancy on the diamond (287 wins over the past three seasons) and smart management off the field (12th highest payroll in 2015).

Mets owners Fred Wilpon and Saul Katz have survived huge losses suffered from their investments with Ponzie schemer Bernie Madoff. The Mets lost to the Royals in the 2015 World Series and are serious contenders this season despite a modest ($110 million) payroll.

This year, a new round of improvements is set to redefine not only Wrigley Field, but the entire neighborhood as well. Construction on a new office building and plaza just west of the ballpark began in January, a hotel is being built across the street. Inside the ballpark, renovations include a new facade on the western wall of the park, upgrades to the center-field bleachers and a much-needed expansion of the restrooms.

The Giants will begin their 17th season at AT&T Park and 59th in San Francisco in 2016 with 30,750 season ticket holders, the largest number in franchise history. In addition, the team currently holds the longest consecutive regular season home-game sellout streak in the National League and the longest active one in MLB, at 408 regular season games and 23 post-season games.