2 time window types for pickups: hard and soft
LaneMile Editorial Team · Published · 12 minute read
Sources checked
Scope: use the jurisdiction stated in the guide and its sources.
LaneMile drafting rules: editorial standards.
A hard window is a strict rule: if the truck cannot arrive inside it, the stop is skipped entirely. A soft window is a preferred time: the stop is still serviced outside it, but a penalty cost is applied to the plan.
- A hard window is a strict rule. Miss it and the stop drops out of the plan entirely.
- A soft window is a preference. You can service it late or early, but there is a cost attached.
- Mixing both types lets you protect what matters and flex where you can.
- Set the hardest constraints first and let the softer ones fall into place.
- Set a window hard only when a miss means no service; otherwise keep it soft.
Why the window you pick shapes the whole run
Every appointment you set is really a promise about time. The promise comes in two shapes. A hard deadline is a firm line you cannot cross. A soft deadline is a preference you would like to keep. Pick the wrong shape and the day slips. Jobs get skipped, drivers wait, and phone calls stack up.
Time windows control the timing of pickups and deliveries within route optimization, as Google for Developers explains in its Route Optimization API time windows documentation. That one sentence covers what this post is about: how you write the time into the schedule, and what happens when reality does not match the plan.
If you run one truck or three, you live with these choices all day. The customer wants a window. The shipper has a gate schedule. Your driver needs a break. Sometimes all three conflict. Knowing which constraint is a wall and which is a cushion keeps you from losing a load you could have saved.
Key takeaways
- Scheduling mistakes are expensive. Service businesses lose up to 20% of potential revenue due to poor scheduling and tracking, a figure Workiz cites in its appliance repair job tracking guide.
- The gap between weak and strong dispatching is measurable. Lower-performing teams suffer from 24% avoidable dispatch rates, whereas top performers reduce this to just 3% by adopting digital solutions for service dispatching, the same Workiz page reports.
- Bad traffic turns short drives long. A route that looks like a 20-minute drive can become an hour in a jam, which is why live traffic data matters when you commit to a window.
Hard windows: the lines you do not cross
A hard window is a requirement with a consequence attached. When a stop has a hard window and the truck cannot arrive inside it, the stop comes off the route. Google's documentation states it plainly: hard time windows are strict requirements that, if unmet, result in skipped shipments.
Think of the dock that closes at a fixed hour. Think of a receiver who accepts only inside their booked slot. If you roll up after the gate shuts, you are not late. You are not serviced that day. The load stays on your trailer and your schedule collapses behind it.
Hard windows work well where an outside rule drives the timing. A shipper's gate hours are a hard window. A port appointment is a hard window. A receiver who refuses anything outside the slot is a hard window. When you set one of these, the planner treats the constraint as a wall. It will build the route so the truck arrives inside the window or it will leave the stop out.
The tradeoff is real. The more hard windows you load into a day, the fewer routes fit. Rigid constraints can make a plan infeasible. If every stop on the board is a hard window, the optimizer may refuse to build a route at all, because no legal sequence satisfies them all.
Use hard windows when a miss means no service. Ask yourself one question before you set it: if the truck cannot make this window, do I lose the stop? If yes, hard. If you can still serve the stop outside the window, you do not need a wall.
Practical ways to protect a hard window:
- Leave a buffer between the window and the previous stop, so a slow shipper does not push you past the line.
- Order the day so the hard-window stops sit early, when delays have not accumulated.
- Check traffic before you commit, because a jam that turns a 20-minute drive into an hour will break a tight hard window.
There is a quiet cost to hard windows too. Customers learn to expect precision you may not always deliver. One miss and the promise feels broken. Keep hard windows for stops where the rule truly requires them, and soften the rest.
Soft windows: the preferences with a price tag
A soft window is different in kind. It is a preference, not a gate. Google's documentation puts it this way: soft time windows offer flexibility, allowing deliveries outside preferred times for a penalty cost.
That penalty is the key idea. The planner will happily route a stop outside your preferred time if doing so improves the overall plan. It just registers a cost against that choice. The system trades that cost against everything else on the board and picks the plan with the least total pain.
Soft windows shine where you would like a time but can live without it. A customer who says "anytime after lunch" has given you a soft window. A pickup where the warehouse is open all day but you prefer the morning rush to clear is a soft window. You are expressing a wish. The plan can honor it or buy its way out of it.
Because soft windows do not kill stops, they make planning easier. Routes stay feasible when the day gets messy. A late stop earlier in the run does not cascade into a skipped pickup. The cost shows up as extra distance, extra minutes, or a stop serviced at an hour nobody wanted.
Watch the penalty logic when the board gets dense. If many stops carry soft windows, the optimizer will pick which ones to break based on total penalty. A soft window you care about deeply can lose to several small ones you barely notice. If a particular stop matters more than the rest, check with your routing vendor about the options your tool exposes for weighting that stop.
When you set a soft window, tell the customer the truth: this is the preferred time, and the truck may arrive outside it if the day demands.
How to choose between them on a real day
The choice is rarely about the stop alone. It is about what else is on the board and what happens if you are wrong.
Ask four questions:
- What happens if we miss this stop? If the answer is "the load does not move," you are looking at a hard window.
- Who owns the rule? If a gate, a receiver, or a port sets the hours, that is a hard constraint. If the preference came from you or from a flexible customer, soft fits.
- What else is committed that day? Hard windows early in the run consume slack. Fill the rest with soft windows so the plan can flex.
- Can the customer accept a wide arrival? If yes, soft. If no, make it hard only if a miss means no service (see the rule in the hard-window section); otherwise keep it soft and plan the buffer to match.
There is a middle path. The hard window protects the moment the stop absolutely must happen. The soft outer band gives the planner room to slide other work around it. That is the pattern most useful for owner-operators juggling a small number of stops.
Cost also drives the choice. Every hard window you add reduces the number of feasible plans. A soft window incurs a penalty only when its stop is served outside the preferred time, and that penalty counts toward total plan cost. Google's Route Optimization API provides metrics for analyzing the impact of time window constraints on cost and efficiency, so you can see the tradeoff rather than guess at it.
Here is a compact side-by-side of the two types:
| Hard window | Soft window | |
|---|---|---|
| Nature of the constraint | Strict requirement | Preferred time |
| If missed | Stop is skipped | Stop is still serviced |
| Cost when missed | The load does not move that run | A penalty cost applies to the plan |
| Best used for | Gates, ports, fixed receiver slots | Flexible customers and open-all-day pickups |
Mixing both types in one run
Combining hard and soft time windows enables nuanced control over delivery schedules. In practice that means you build the day in layers.
Start with the stops that have outside rules. Mark each one hard, with its true window. These are your anchors. Next, mark the stops where timing is a preference as soft. Let the planner arrange them around the anchors.
The result is a schedule that protects every immovable moment and flexes everywhere else. When traffic hits or a shipper runs slow, the soft stops absorb the shock. The hard stops hold only while the anchored day keeps enough slack; a severe jam can still break a tight hard window.
One warning. If you anchor the day with too many hard windows, the soft stops have nowhere to go. The plan may still build, but it will look ugly: long deadhead legs, backtracking, and stops pushed to odd hours. Watch the plan cost and the total drive time. If both climb sharply after you add a hard window, that window may be better expressed as a soft window with a lighter penalty.
Also think about the order in which you set windows. If you book the receiver first and the shipper second, you may find no route satisfies both.
What bad scheduling actually costs you
The difference between sloppy and disciplined scheduling is not subtle. Workiz cites industry reports showing that service businesses lose up to 20% of potential revenue due to poor scheduling and tracking.
The figure comes from an appliance-repair guide citing industry reports about service businesses, so read it as a service-industry signal rather than a trucking number, but the mechanism is the same in your cab. Missed windows become missed pickups. Missed pickups become empty miles. Empty miles eat the margin you thought you made on the load.
The gap between weak and strong operators is visible in dispatch data. Lower-performing teams suffer from 24% avoidable dispatch rates, whereas top performers reduce this to just 3% by adopting digital solutions for service dispatching.
Workiz attributes the 3% top-performer rate to adopting digital solutions for service dispatching.
Traffic is the other quiet thief. A route that looks like a 20-minute drive can become an hour in a jam. If your window has no room for that, the window breaks. Build time-of-day awareness into how you set windows, especially in cities where rush hour is predictable.
Setting windows in your planning tool
Whether you use a full routing platform or a simple scheduler, the mechanics are similar. You attach a start time and an end time to each stop, then flag the constraint type.
Practical habits that help:
- Set the window only as tight as the rule demands. An open-all-day pickup does not need a two-hour band.
- Review traffic before you lock the morning. Move a soft window rather than a hard one when conditions look bad.
- Flag your hard windows clearly so a quick glance at the board shows where the day has no give.
- After the run, compare planned arrival to actual arrival. That gap is your calibration for next time.
The mobile side matters too. The Dynamics 365 Field Service mobile app helps technicians manage assigned work, get directions to job sites, complete service tasks, and record work from a mobile device. Whatever tool your driver carries, it should show the window, the address, and the route, and let them mark arrival without phoning the office.
Two habits keep the driver's view honest:
- Share the window type with the driver. A driver who knows a stop is hard will push differently than one who thinks it is a preference.
- Let the driver report a delay the moment it is visible. Early notice lets you flip a soft window before the day breaks.
A day built with both types
Picture a Tuesday with a port pickup, two customer pickups, and a delivery. The port gate has fixed hours and will not move. That stop is hard, early in the day. The two customer pickups prefer morning but are open all afternoon; both are soft. The delivery sits at a receiver with a booked slot; that is hard, and its slot can force a late hard stop even though the earlier advice is to put hard stops early where you control the choice.
The plan anchors on the port and the delivery. The two soft pickups slot around them. If the port runs long, the optimizer slides one customer pickup later, pays the penalty, and keeps the delivery inside its booked slot. Nothing is skipped.
Now flip one choice. Suppose you mark the first customer pickup as hard as well. The port delay pushes past that line. The stop drops. You have not protected it. You have removed it. That is the whole lesson of hard windows in one move: they protect only when the time truly cannot flex, and they delete stops when it can.
Ask the customer what they actually need. The ones who will not are the ones who get the hard flag.
What the sources do not settle
One point stays open here: the sources do not give the exact penalty amount a routing platform charges for a soft window miss. If you need that figure, ask your routing software vendor how the penalty is calculated and how to set it for each stop.
Checklist before you lock the board
Run this list each morning:
- Every stop has a window with a start and an end.
- Each window is marked hard or soft on purpose, not by default.
- Hard stops sit where slack still exists in the day.
- Soft stops have room to slide without colliding with a hard stop.
- Traffic has been checked against the tightest window on the board.
- The driver sees both the time and the constraint type.
- One person owns the decision to change a window mid-day.
If you cannot answer a line, the window is not ready. A plan built on vague times is a plan that will break under load.
Related guides: Housecall Pro time off: 5 checks before payroll · Late payment charges: 3 types to price into your rate · Military CDL skills test waiver: 12-month driving window.
FAQ
What is the real difference between a hard and a soft pickup window? A hard window is a strict rule. If the truck cannot arrive inside it, the stop is skipped from the route. A soft window is a preferred time. The stop still gets serviced outside it, but the plan takes a penalty for doing so.
Can I mix both types on the same run? Yes, and you should. Anchoring the day with hard windows on the stops that cannot move, then using soft windows everywhere else, gives the planner room to absorb delay without dropping work.
Does adding more hard windows make my day better? Not necessarily. Each hard window narrows the set of routes that can work. Add too many and you may get an ugly plan, long deadhead legs, or no plan at all. Set a window hard only when a miss means no service.
How does traffic factor in? A drive that looks like 20 minutes can become an hour in heavy traffic. If your tight window has no slack, that change breaks it. Check conditions before you lock the board and leave a buffer on your hardest stop.
Who should I ask about penalty amounts in my routing tool? Ask your routing software vendor. Ask your routing software vendor how the penalty is calculated.
Sources for this guide
- Google for Developers Sources checked
- Workiz Sources checked
- Microsoft Learn Sources checked
This guide provides general information, not legal, tax, financial or safety advice. LaneMile is not a regulator, load broker, dispatch service or compliance certifier. Apply the authority and vendor guidance for your own operation.