Depending on where you live, knowing what the most cost-effective mode of transportation is for you could save you hundreds of dollars a month. But is that public transit, using a ridesharing app like Uber or Lyft, or actually buying a car? It depends—and there are tools to help you figure it out.