After-school club availability calculator

Calculate individually compatible session options [ID,start,end] and required intervals with no compatible session option with your own figures.

Your numbers

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

Use individually compatible session options [ID,start,end] and required intervals with no compatible session option to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Desired child care intervals JSON [start,end] (week minutes)
[[900,1080],[2340,2520]]
Club sessions JSON [ID,start,end,reported available spaces,pickup window start,end] (week minutes)
[["Art",900,1080,2,1070,1100],["Sport",2340,2520,0,2500,2540]]
Existing child commitments JSON [start,end] (week minutes)
[]
Individually compatible session options [ID,start,end]
[["Art",900,1080]]
Required intervals with no compatible session option
[[2340,2520]]
Compatible option count
1

Try another scenario

Desired child care intervals JSON [start,end] (week minutes)
[[900,1080],[2340,2520]]
Club sessions JSON [ID,start,end,reported available spaces,pickup window start,end] (week minutes)
[["Art",900,1080,2,1070,1100],["Sport",2340,2520,1,2500,2540]]
Existing child commitments JSON [start,end] (week minutes)
[]
Individually compatible session options [ID,start,end]
[["Art",900,1080],["Sport",2340,2520]]
Required intervals with no compatible session option
[]
Compatible option count
2
Calculation method

Calculation method

Individually compatible session options [ID,start,end]

Keep positive-space sessions with end inside supplied pickup window and no overlap with existing child commitments.

Required intervals with no compatible session option

Subtract union of compatible session intervals from requested coverage.

Compatible option count

Count individual compatible options; overlapping alternatives remain alternatives.

Symbols and units
a
Desired child care intervals JSON [start,end] (week minutes)
b
Club sessions JSON [ID,start,end,reported available spaces,pickup window start,end] (week minutes)
c
Existing child commitments JSON [start,end] (week minutes)

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

  • Availability filter, not a reservation or simultaneous booking proposal. Compatible sessions may overlap each other and are explicitly alternatives; coverage union describes possibility only. Supported limits: Integer weekly minutes 0..10080, start<end; nonnegative integer spaces; pickupStart<=pickupEnd; 1..100 sessions.
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.