# Critical Ratio Calculator for Job Dispatch Priority

> Source: https://netray.co/tools/critical-ratio-dispatch-calculator
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Enter days to due date, remaining work and operations left to get critical ratio, slack and the expected lateness for one job.

## Category

mes-shop-floor

## Audience

- Production scheduler
- Planner
- Production supervisor

## Tool

**Kind:** calculator

**Inputs:**

#### Days until due date

**Key:** days_left

**Type:** number

**Default:** 12

**Min:** 0

**Step:** 1

**Unit:** days

**Help:** Calendar or working days, but use the same basis as the work days below.

#### Remaining run hours

**Key:** run_hours

**Type:** number

**Default:** 22

**Min:** 0

**Step:** 0.5

**Unit:** hours

#### Remaining setup hours

**Key:** setup_hours

**Type:** number

**Default:** 4

**Min:** 0

**Step:** 0.5

**Unit:** hours

#### Productive hours per day

**Key:** hours_day

**Type:** number

**Default:** 7.5

**Min:** 1

**Max:** 24

**Step:** 0.5

**Unit:** hours

#### Operations remaining

**Key:** ops_left

**Type:** number

**Default:** 4

**Min:** 0

**Step:** 1

**Unit:** ops

#### Average queue plus move per operation

**Key:** queue_day

**Type:** number

**Default:** 1

**Min:** 0

**Step:** 0.25

**Unit:** days

**Help:** Measure from timestamps if you can; a flat 1 day is only a starting point.

**Outputs:**

#### Work time still needed

**Key:** work_days

**Expr:** (run_hours + setup_hours) / hours_day + ops_left * queue_day

**Format:** decimal

**Description:** Process time converted to days plus queue and move allowance.

#### Critical ratio

**Key:** cr

**Expr:** if(gt(work_days,0), days_left / work_days, 99)

**Format:** decimal

**Primary:** true

**Description:** Below 1 means the job is expected to be late, 1 is on schedule, above 1 has slack.

#### Slack

**Key:** slack

**Expr:** days_left - work_days

**Format:** days

**Primary:** true

**Description:** Negative slack is the expected lateness in days.

#### Expected days late

**Key:** late_days

**Expr:** max(0, work_days - days_left)

**Format:** days

#### Speed-up needed to hit the date

**Key:** speedup

**Expr:** if(gt(days_left,0), max(0, work_days / days_left - 1) * 100, 0)

**Format:** percent

**Description:** How much faster the remaining work must flow to finish on time.

**Chart:**

#### Critical ratio and slack as the due date moves

**Type:** line

**X:** days_left

**From:** 1

**To:** 30

**Steps:** 30

**Series:**

- cr
- slack

**Disclaimer:** A planning estimate. It does not check finite capacity, calendars or material. Use it to rank jobs, then confirm feasibility on the schedule.

## Content

**Intro:** Critical ratio tells you whether a job can still make its due date at normal pace, and which job to run first when several compete. Enter the numbers for a job and the calculator returns the ratio, slack and expected lateness.

**Sections:**

#### How to use the calculator

**Body:** Enter the days left until the due date, the remaining run and setup hours, the productive hours per day at the work center and the number of operations still to do. Add the average queue and move allowance per operation. The calculator converts hours to days, adds queue time and divides days left by the result. Compare several jobs by running them one after another, then dispatch in order from the lowest ratio to the highest.

**Bullets:**

- Below 1: expected to be late.
- Equal to 1: exactly on schedule.
- Above 1: slack available.

#### The formula

**Body:** Critical ratio equals time remaining divided by work time remaining. Time remaining is the due date minus today. Work time remaining is the sum of setup, run, queue and move time for all operations still to be done, expressed in the same unit. Slack is time remaining minus work time remaining. The measure is dynamic: ratios change every day, so a job that looked safe yesterday can turn critical when its queue grows. Recalculate daily from the live ERP data.

#### Worked example

**Body:** A job has 12 days left, 22 run hours, 4 setup hours, 4 operations left, 7.5 productive hours per day and 1 day of queue and move per operation. Process time is 26 / 7.5 = 3.47 days, plus 4 days of queue and move, giving 7.47 days of work. Critical ratio is 12 / 7.47 = 1.61 and slack is 4.53 days, so the job is comfortable. If the due date were 6 days away the ratio would be 0.80, the job would be about 1.5 days late and would need a speed-up of roughly 25 percent.

#### Common mistakes

**Body:** The usual error is understating queue time, which makes every ratio look better than reality. Another is using one due date for all jobs on a shared routing. Mixing calendar days left with working-day estimates distorts the ratio around weekends. Finally, critical ratio is a priority signal and not a feasibility test: if all jobs have a ratio below 1 the problem is capacity, and re-sorting the list will not fix it.

**Cta:** To calculate this for every open job daily from your ERP data, we can build a read-only agent that produces the ranked list.

**Faq:**

#### What is a good critical ratio?

**Answer:** One means exactly on schedule. Values above 1 mean slack and values below 1 mean the job is expected to be late. Many shops flag anything below about 1.2 for attention because estimates carry error, but pick your own threshold from history.

#### How is critical ratio different from slack?

**Answer:** Slack is the difference in days between time remaining and work remaining. Critical ratio is their quotient. Ratio scales with job size, so a long job with 3 days of slack is ranked more urgent than a short job with the same slack.

#### Does the rule work for every shop?

**Answer:** It works best in job shops with varied routings and moving priorities. In flow lines with stable demand, takt, kanban or sequence rules often work better. Its weakness is dependence on accurate remaining lead time estimates.

#### Should I use calendar or working days?

**Answer:** Either, as long as both sides use the same basis. Working days are more precise for shops that do not run weekends. If you use calendar days for the due date, express work time in calendar days too.

## Search terms

critical ratio calculator, critical ratio formula scheduling, slack time calculator production, job priority calculator manufacturing, critical ratio example, how to calculate critical ratio, dispatch priority calculator

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
