Cafe morning prep timeline calculator

Calculate backward prep schedule [task,start,end] and required prep start with your own figures.

Your numbers

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

Use backward prep schedule [task,start,end] and required prep start to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Prep tasks [duration minutes,zero-based predecessors]; enter JSON
[[10,[]],[20,[0]],[15,[]]]
Opening time (minutes after midnight)
480
Backward prep schedule [task,start,end] (JSON)
[[1,435,445],[2,445,465],[3,465,480]]
Required prep start (minute after midnight)
435
Minutes of prep before opening
45

Try another scenario

Prep tasks [duration minutes,zero-based predecessors]; enter JSON
[[15,[]],[25,[0]],[10,[1]]]
Opening time (minutes after midnight)
510
Backward prep schedule [task,start,end] (JSON)
[[1,460,475],[2,475,500],[3,500,510]]
Required prep start (minute after midnight)
460
Minutes of prep before opening
50
Calculation method

Calculation method

Backward prep schedule [task,start,end] (JSON)

Find tasks with all successors scheduled; pick highest task index; end=min(worker next start,successor starts,opening); start=end−duration.

Required prep start (minute after midnight)

Minimum backward-scheduled start.

Minutes of prep before opening

Opening−earliest prep start.

Symbols and units
a
Prep tasks [duration minutes,zero-based predecessors]; enter JSON
b
Opening time (minutes after midnight)

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

  • Single-worker backward preparation schedule with precedence; minutes are measured from midnight and negative starts indicate previous day. 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. Nonempty positive-duration acyclic tasks; <=100 tasks; one interchangeable worker.
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.