Most vacation planners either show a static list of generic holiday dates or promise magical savings with proprietary algorithms. When we designed Sparkfare's time-off planner, we took the same approach we use for flight deals: transparent rules, mathematical optimization, and factual prices rather than guesswork.
Federal holidays don't always fall on the day off employers give you. In the United States, official observance follows rules set by the Office of Personnel Management (OPM):
In 2027, this creates natural long weekends. For example, Christmas Day (December 25) is a Saturday, so it is observed on Friday, December 24—turning Friday through Sunday into an automatic 3-day weekend with 0 PTO days required. Similarly, Independence Day (July 4) falls on a Sunday, observed Monday, July 5.
There are 11 federal holidays recognized by the U.S. government, but the average private-sector employer in the United States does not grant all 11 as paid days off. Private employers most commonly grant seven holidays:
Common private baseline: - New Year's Day - Memorial Day - Independence Day - Labor Day - Thanksgiving - Day after Thanksgiving - Christmas Day
Because forcing all 11 federal holidays would give people unrealistic plans with phantom days off, Sparkfare defaults to this 7-holiday baseline. However, anyone whose employer grants Martin Luther King Jr. Day, Presidents' Day, Juneteenth, Columbus Day, or Veterans Day can toggle those on in their planner with a single click.
A naive optimizer uses a greedy ratio: it picks whichever bridge opportunity has the highest ratio of "days off to PTO days used" first, then picks the next best, and so on until the vacation budget runs out.
Greedy selection produces bad itineraries. A greedy pass can consume 1 PTO day for a 4-day weekend early in the year, leaving 3 days of budget that cannot cover a 9-day mega-break later on. Or it can take a short bridge that physically overlaps and blocks a significantly longer run of days off.
Instead, Sparkfare uses exact dynamic programming over non-overlapping candidate blocks sorted by end date. The algorithm evaluates every possible combination of non-overlapping time-off windows to guarantee the mathematical maximum days off for your specific budget (such as 10, 15, or 20 PTO days).
When you see a flight price attached to a travel window on Sparkfare, we never claim to predict whether that price will rise or fall. We show the fare as observed in recent search data, along with when it was seen (for example, "from $412, Nov 23 – Nov 30, seen Oct 11").
Flight pricing is dynamic. Showing an explicit observation time reminds travelers that airline inventory changes rapidly. If a price was observed more than three days ago, we clearly mark it as past search data without a direct booking link.