The weekends in the summer are both the busiest and most expensive times to take a trip, according to the U.S. Travel Association. The price of gas, hotels and plane tickets automatically rise due to demand and high traffic. Often, vacation budgets are exceeded. Although fluctuating prices cannot be controlled, there are other ways to cut down on surprise vacation costs.

“It can be frustrating to discover hidden fees and costs when vacationing, especially if you’re trying to stick to a budget,” said Suzanne Symcox, executive vice president for First Fidelity Bank in Tulsa. “The best way to avoid these pitfalls is to plan out how you can save money. That way, if unexpected costs show up, they don’t send you into a budgetary tailspin.”

Here is a money-saving tip for lowering vacation costs:

Use your smartphone to save on gas. If you have a smartphone or any way to access the Internet while traveling, compare gas prices at different stations. AAA’s TripTik app will plot your trip and allows you to compare updated fuel prices along the way. Also, avoid gas stations close to the highway. The fuel tends to be more expensive because of high traffic and proximity.