How to Show Occupancy Loss in a Sankey Diagram

Draw room nights from available to sold and show where the rest is lost: out of order, unsold or sold at a discount. Learn the data you need and when a waterfall is better.

An occupancy loss Sankey starts with every room night a hotel could have sold and splits it into the nights it did sell and the nights it lost, so the gap to full occupancy has a shape.

An occupancy percentage tells you how many nights were sold. It does not tell you why the others were not. Some rooms were out of order, some were on sale but empty, and some of the sold nights went at a discount. Each of those has a different owner and a different fix.

The example above is one month of 3,000 room nights with invented numbers. Of those, 2,250 are sold, and the diagram shows the 750 that are not along with how much of the sold part went at a discount.

Count room nights, not rooms

A hotel with 100 rooms and a 30-day month has 3,000 room nights available. Use that as the left-hand node. Rooms are a stock and room nights are a flow, and only a flow can be split into bands that add up.

Decide once whether a room that is out of order counts as available. For an occupancy loss diagram it is easiest to start from every room night the building has and to show the out of order nights as their own band.

Split each night once

Every room night ends up in exactly one place in the first split: out of order, unsold or sold. The three bands must add up to the node they leave, and the check is simple arithmetic: in the example, 150 plus 600 plus 2,250 is 3,000.

Then split the part you want to explain further. Out of order can divide into repairs and refurbishment, and sold can divide by rate type. Keep each second split to a few bands, because a diagram with a dozen thin ribbons is harder to read than the table it came from.

The data you need

Most property management systems can give you these counts for a date range.

  • Room nights available for the period, from the room inventory and the calendar.
  • Room nights blocked as out of order, with the reason if it is recorded.
  • Room nights sold, and how many of them were booked at a discounted rate.
  • Unsold room nights, which is available minus out of order minus sold.

When a waterfall or a stacked bar is better

A Sankey diagram suits one period with several causes that split further. If you want to compare many months, a stacked bar shows the change over time more clearly; see /sankey/sankey-diagram-vs-stacked-bar-chart. If you want one chain of subtractions from capacity to sold nights with exact steps, a waterfall reads better; see /sankey/sankey-diagram-vs-waterfall-chart.

For a quarter of room nights drawn out in full, open the template at /sankey/hotel-room-nights-lost. If out of order nights are mostly a planning question, the refurbishment schedule on /templates/hotel-room-refresh-programme-gantt-chart shows when rooms are due to leave the inventory.

Key points

  • The example has 3,000 room nights available and 2,250 sold, so 750 nights are not sold.
  • Of the 750 that are not sold, 600 are unsold rooms and 150 are out of order, so most of the loss is demand rather than maintenance.
  • A third of the sold nights, 750 of 2,250, went at a discount.
  • Out of order splits into 90 for repairs and 60 for refurbishment.

The example’s data

The figures are invented for illustration and describe no real hotel. Replace them with counts from your own system. The diagram is not accounting, tax or legal advice.

How to Show Occupancy Loss in a Sankey Diagram (room nights)
FromToAmount (room nights)
Room nights availableOut of order150
Room nights availableUnsold600
Room nights availableSold2250
Out of orderRepairs90
Out of orderRefurbishment60
SoldSold at discount750
SoldSold at full rate1500

The same data as CSV

source,target,value
Room nights available,Out of order,150
Room nights available,Unsold,600
Room nights available,Sold,2250
Out of order,Repairs,90
Out of order,Refurbishment,60
Sold,Sold at discount,750
Sold,Sold at full rate,1500

How it works

  1. Set the period and the capacity

    Choose one month or one quarter and enter the room nights available as the first node.

  2. Split into out of order, unsold and sold

    Enter one flow for each and make the three add up to the capacity.

  3. Add one further split

    Divide out of order by cause or sold by rate type, and check that each node's outgoing flows equal what came in.

Frequently asked questions

Should out of order rooms be counted as available?

Choose one rule and keep it for every period. This guide counts them in the capacity and shows them as a band, so the loss is visible.

Can I show revenue instead of room nights?

Yes, but keep one unit per diagram. Room nights are better for occupancy and money is better for revenue, and mixing them makes the widths meaningless.

Start a Sankey diagram

Open the example, then paste your own room night counts in place of the invented ones.

Start a Sankey diagram

More in Sankey diagrams