Ridesharing services like Uber and Lyft are a convenient option for today’s travelers, but there’s no question that they can get expensive. Whether you’re a regular rider or a first-timer, these 5 tips will help you get you the most bang for your buck.

1. Try carpooling.

Both apps have a less expensive choice for those willing to share their ride with a stranger. UberPool and Lyft Line trips can be up to 25% cheaper than solo ones, so it’s worth a try if you’re watching your budget. Just remember that surge pricing applies to carpool trips, too, so prices can rise astronomically during rush hour and after big events.

2. Use promo codesand your referral code.

Uber rewards first-time riders with a promo code for $25 off their first ride, while Lyft offers one for $20 off. If you’re already on your second (or hundredth) ride, there’s another code that will get you a discount. Whether you use Uber or Lyft, you can use your personalized referral code to invite your friends and family members to your app of choice. Once they sign up using your code and request a ride, you’ll earn free credits towards your next trip.

Friends in Lyft

3. Use the Split Fare feature with friends.

Take someone along with you and go dutch for a half-priced trip. Uber users can seamlessly split the fare with other users by sending them a request through the app. Lyft recently removed this feature from their platform, but it won’t be gone for long — the company is currently developing a newer and easier way to split fares between riders.

4. Search for rides in different locations.

If you’re in an area with high ridesharing demand, you might encounter surge pricing. Escaping the congestion and pinning a new pickup spot a couple of blocks away can shave a few dollars off your fare. Who knew walking down the street could save you money?

5. Compare prices before ordering a ride.

Download the free BestRides app to see real-time Uber and Lyft pricing. All you have to do is enter your pickup and drop-off points to see the fares for each ridesharing service. Depending on your location, traffic conditions, and current demand, one may be less expensive than the other.

How do you save money on Uber and Lyft rides? Let us know in the comments section below or on Twitter!