Analysts at CheapAir.com reviewed more than 351 million individual airfares sold on more than a million international routes in 2016. They tracked flights from the day they went on sale (usually about 11 months in advance) until the day of takeoff to see when each fare hit its lowest point.

The resulting map shows how many days before takeoff you should buy your ticket to score the best deal, on average, depending on your destination.

CheapAir

The map shows optimal booking days for flights from the U.S. If you’re headed to the Caribbean, for example, it’s best to book 76 days in advance for the lowest price. For Asia, try 90 days in advance.