Cleaning zone assignment balance calculator

Calculate balanced zone schedule and workloads and uncovered zones with your own figures.

Your numbers

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

Use balanced zone schedule and workloads and uncovered zones to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Zones [task minutes,access start minute,access end minute]; enter JSON
[[30,0,90],[40,0,60],[20,30,90]]
Staff shifts [start minute,end minute]; enter JSON
[[0,90],[0,90]]
Balanced zone schedule and workloads (JSON)
{"assignments":[[1,2,0,30],[2,1,0,40],[3,2,30,50]],"loads":[40,50]}
Uncovered zones (count)
0

Try another scenario

Zones [task minutes,access start minute,access end minute]; enter JSON
[[45,0,60],[35,20,90],[30,0,70]]
Staff shifts [start minute,end minute]; enter JSON
[[0,70],[0,60]]
Balanced zone schedule and workloads (JSON)
{"assignments":[[1,1,0,45],[2,2,20,55],[3,null,null,null]],"loads":[45,35]}
Uncovered zones (count)
1
Calculation method

Calculation method

Balanced zone schedule and workloads (JSON)

Sort longest zones first; among staff whose next free interval fits zone/access/shift, choose lowest current load then index. Append work without insertion before prior task.

Uncovered zones (count)

Count null assignments; heuristic may miss another valid schedule.

Symbols and units
a
Zones [task minutes,access start minute,access end minute]; enter JSON
b
Staff shifts [start minute,end minute]; enter JSON

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

  • Whole-zone assignment within explicit access and worker shift windows; largest-duration-first greedy heuristic. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. Positive task minutes; access/shift start<end; <=100 zones and20 staff; staff interchangeable.
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.