Next to housing, transportation is one of the largest recurring expenses people face. In a major metropolis, that likely means a fair amount of time packed into the subway, trolley, or bus getting a little too acquainted with your fellow city dwellers.

The good news: It's better for the environment, and, depending on where you live, it may be cheaper than owning a car.

The bad news: It can still be really expensive.

In London, the most expensive city in the world for public transportation, you'll need to shell out nearly $175 for a month of riding the Tube. In New York City, a monthly transit pass costs about $120.

That's according to a recent report by Deutsche Bank, which analyzes the cost of living and compares prices among the largest cities around the world.

The report sources prices from Expatistan, a site that tracks cost-of-living expenses in over 200 countries, for a "monthly ticket public transport" in nearly 50 cities.

Here are the 16 most expensive cities in the world for commuting via public transportation each month.

16. San Francisco, United States — $86.10

15. Berlin, Germany — $87.20

14. Frankfurt, Germany — $88.50

13. Stockholm, Sweden —$90.70

12. Wellington, New Zealand — $101.20

11. Chicago, United States — $102.10

10. Toronto, Canada — $102.70

9. Melbourne, Australia — $105.50

8. Zurich, Switzerland — $108.40

7. Sydney, Australia — $108.40

6. Amsterdam, Netherlands — $108.60

5. Tokyo, Japan — $110.70

4. New York City, United States — $117.70

3. Auckland, New Zealand — $122.90

2. Dublin, Ireland — $131.60

1. London, United Kingdom — $174