Privacy choices
We use analytics and partner services to improve this site. Details in our Privacy Policy.
How It Works
A smart algorithm that turns your limited PTO into maximum time off
The Core Idea
Holiday Optimizer uses dynamic programming to find smart ways to distribute your PTO days across the year. By cleverly combining your PTO with weekends, holidays, and company shutdowns, it creates longer breaks while using fewer vacation days.
How to Maximize Your PTO in 2026: Step by Step
You can do this by hand in five steps — or let the optimizer do it for you. The method is the same one the tool automates:
- 1
Map your public holidays
Write down every public holiday for 2026 in your country (and your state or province), and note which weekday each one falls on. Mid-week holidays and holidays next to a weekend are the most valuable.
- 2
Find the bridge days
Look at the working days sitting between each holiday and the nearest weekend. These "bridge" days are your highest-value PTO targets, because a few of them connect a holiday and a weekend into one long run.
- 3
Stack your PTO on the bridges
Request the bridge days off so a single holiday stretches into a long break. For example, taking the four working days around a mid-week public holiday turns it into nine consecutive days off.
- 4
Prioritize the biggest breaks first
Spend your limited PTO on the holidays that produce the longest breaks first — the Christmas-to-New-Year stretch and any mid-week holidays — then fill in the rest with long weekends.
- 5
Add company days and confirm the plan
Layer in company shutdowns and any pre-booked days, then run the Holiday Optimizer to confirm the arrangement that gives you the most consecutive days off for the PTO you have.
Prefer it done for you? Run the optimizer or browse the 2026 PTO calendar.
Example: 9-Day Break
Using only 3 PTO days, you get 9 consecutive days off
The Algorithm
Parse Your Inputs
The optimizer builds a calendar for your chosen timeframe, marking every weekend, public holiday, company shutdown, and pre-booked PTO day.
Calculate PTO Costs
Using prefix sums, the algorithm instantly computes how many PTO days are needed for any date range, accounting for all your free days.
Dynamic Programming Magic
The algorithm explores every possible break combination using memoization, respecting your strategy spacing and length rules.
Return Your Plan
The optimizer reconstructs the selected breaks with full transparency—showing exactly which PTO days to book and how they maximize your consecutive time off.
Strategy Presets
Each strategy has different rules for break spacing and length. The algorithm enforces these constraints while finding arrangements that maximize your consecutive time off.
Balanced
Mix of short and long breaks distributed throughout the year
Long Weekends
Frequent 3-4 day escapes near weekends
Mini Breaks
Week-long trips every couple weeks
Week Long
Longer vacations spaced out
Extended
Maximum length breaks, infrequent but epic
Why This Approach Works
- Respects all constraints (pre-booked PTO, company shutdowns, custom weekends)
- Uses dynamic programming to find the best arrangement for your preferences
- Instant results—no waiting, no complicated spreadsheets
- Fully transparent—shows exactly why each break was chosen
- This plan is a helpful draft. Feel free to tweak it to match your preferences
Ready to optimize your year?
Put the algorithm to work on your schedule. Enter your PTO days, select your location, and get your personalized plan in seconds.
Launch OptimizerSee it in action with our PTO-optimized travel guides for Paris, Tokyo, and 36 more destinations.