# Calendar optimization: Gaps

URL: https://help.hubhus.com/kb/calendar-optimization-gaps
Category: Calendar and booking / Optimization
Updated: 2026-09-28T14:40:49.636+00:00

Summary: Access: Calendar → Optimization tools → Calendar Gaps . Filter by date, resource, and minimum gap size. Click Suggestions on a gap to see events that can be moved into it. Review time/distance savings, then click Reschedule → Save to confirm. Use Hide gap to dismiss irrelevant gaps. Resource statuses ( Calendar → Settings → Resource statuses ) can auto-reset at a set time each day.

The Calendar Gaps tool finds empty time slots in your resources' calendars and suggests existing events that can be rescheduled into those gaps - reducing travel time and distance.

## Get started in 4 steps

1. **Set your filters**. Go to **Calendar → Optimization tools → Calendar Gaps**. Select the date to analyze, the resource(s) to check, and a minimum gap size (e.g. 1 hour 30 minutes). Choose what events to suggest from (e.g. "Same resource/calendar") and how to sort (e.g. "Priority"). Click the blue refresh button to load results.
2. **Review the gaps table**. Each row shows: gap type (Morning/Afternoon gap), date, time range, resource, location before, assumed gap location, and potential savings (minutes and km). A negative value (e.g. "-102 min., -184 km.") means actual savings. Zero means no travel savings but the slot is still fillable.
3. **Fill a gap**. Click **Suggestions** on a gap row. In the "Fill gap" dialog, set the source calendar and a starting-after date, then click **Find suggestions**. A table lists matching events with their current and proposed new times plus savings. Click **Reschedule** on the best match, review the confirmation dialog (adjust title, time, or resource if needed), and click **Save**.
4. **Manage irrelevant gaps**. Click **Hide gap** (red button) to dismiss gaps you don't want to act on. Hidden gaps appear at the bottom of the page under "Ignored calendar gaps". Click **Reactivate all gaps again** to restore them if needed.

**Read more**

Resource statuses

Go to **Calendar → Settings → Resource statuses** to create custom status types (e.g. "Fri", "Syg", "Kundemøde", "Ledig"). Each status can optionally have an **auto-reset rule** - e.g. "Change to Ledig at 08:00" - so statuses reset automatically at the start of each day without manual intervention.

Create a new status type via the **+ New status type** button. Set name, color, and auto-reset rule. Inactive status types can be shown via the "Show inactive status types" checkbox.

Activating optimization tools

Both **Find a time** and **Optimization tools** must be activated before they appear in the calendar menu. Go to **Calendar → Settings → Find a time** (or **Optimization tools**) and click **Edit** to enable them. A green "✓ Activated" status confirms they are active.

Once activated, **Calendar → Optimization tools** in the main menu gives access to: Workdays view, Calendar Gaps analysis, and Route Planners.

## Related articles

- https://help.hubhus.com/kb/using-route-optimization-to-reorder-calendar-events
- https://help.hubhus.com/kb/calendar-resources-and-teams
- https://help.hubhus.com/kb/event-types-and-availability
- https://help.hubhus.com/kb/why-am-i-being-booked-outside-my-working-hours
