Taking a taxi to the airport is always convenient, but it comes at a cost: Sometimes you spend far more money than you’d save in the time you’d otherwise spend on a train or a bus. But that all depends on what airport you’re flying out of.

The travel site lastminute.com analyzed the average time and cost it will run you to get from 12 different city centers to their respective international airports, comparing routes by taxi, Uber, train, and bus. (Note that the cost is in pounds, which is currently worth about $1.30, so the fares are actually a little higher for American travelers.)

At Los Angeles International Airport, there is no train at all that runs straight to the airport, so it’s probably worth your money to spring for a car. But there, Uber is cheaper than a taxi, making it the easiest and most cost-effective option. By contrast, in both London and Rome, the train is both the cheapest and the fastest method to get to the airport.

Compare more travel methods in the infographic: