The teams line the base paths as the National Anthem is sung before the Opening Day game at Nationals Park in 2014. (Toni L. Sandys/The Washington Post)

It’s Major League Baseball’s Opening Day this weekend, and there’s no better way to celebrate than to see just how expensive homes are around some of the country’s stadiums.

Trulia, a national online real estate database, culled through its data to determine which stadiums in the country it cost the most to live near. (Defined as a home located a mile or two from the stadium.)

The most expensive stadium to leave near is Boston’s Fenway Park, home to the Red Sox. The median cost in that neighborhood is $1,107 per square foot — 4.9 times as much as the median price per square foot in the entire metro area.

Living near the District’s National’s Park, which is located in the booming Navy Yard neighborhood, came in as the sixth most expensive at $469 per square foot. That’s 2.6 times more expensive as the median price in the D.C. metro area.

In 2013, according to Trulia, D.C. had the fourth most expensive baseball stadium neighborhood, with the median price per square foot at $392.