Animal shelter volunteer rota calculator

Calculate named assignment table [event ID,assigned people] and unfilled demand [event ID,missing people] with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use named assignment table [event ID,assigned people] and unfilled demand [event ID,missing people] to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Shelter tasks JSON [ID,start minute,end minute,required people,eligible trained volunteer IDs]
[["feed",540,570,1,["A","B"]],["clean",550,610,2,["A","B","C"]]]
Volunteer availability JSON [ID,start,end]
[["A",540,610],["B",540,610],["C",550,610]]
Named assignment table [event ID,assigned people]
[["feed",["A"]],["clean",["B","C"]]]
Unfilled demand [event ID,missing people]
[]
Unfilled person-event positions
0

Try another scenario

Shelter tasks JSON [ID,start minute,end minute,required people,eligible trained volunteer IDs]
[["feed",540,570,1,["A","B"]],["clean",550,610,2,["A","B","C"]]]
Volunteer availability JSON [ID,start,end]
[["A",540,610],["B",540,610]]
Named assignment table [event ID,assigned people]
[["feed",["A"]],["clean",["B"]]]
Unfilled demand [event ID,missing people]
[["clean",1]]
Unfilled person-event positions
1
Calculation method

Calculation method

Named assignment table [event ID,assigned people]

Process fixed events by start, then ID; choose lexicographically smallest eligible people whose availability covers event and who have no assigned overlapping event.

Unfilled demand [event ID,missing people]

Required headcount minus assigned, report positives.

Unfilled person-event positions

Sum headcount deficits.

Symbols and units
a
Shelter tasks JSON [ID,start minute,end minute,required people,eligible trained volunteer IDs]
b
Volunteer availability JSON [ID,start,end]

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Fixed task-shift assignment with supplied durations, availability and explicit eligibility only. Not an animal-care protocol; greedy assignment may miss a better allocation. Supported limits: 1..100 tasks and volunteers; integer times; positive demand; supplied eligible IDs; no overlapping assignments for one person.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.