Four orders are waiting for the same finishing cell. One takes little time, another has the earliest internal deadline, and a third has almost no spare time before shipment. The supervisor needs a sequence, but the word urgent does not explain which job should start first.

Earliest due date, shortest processing time and critical ratio offer three ways to rank ready work. Each uses different information and protects a different objective, so a useful comparison applies the rules to the same jobs and measures the results on the same clock.

This guide works through all three rules on a small finishing example. It also explains the limits of the calculation. Sorting jobs cannot create capacity, release held material or recover time that has already been lost.

Decide what the dispatch rule must achieve

Earliest due date, or EDD, ranks ready jobs from the earliest deadline to the latest. Shortest processing time, or SPT, starts with the shortest ready job. Critical ratio, or CR, divides the time left before the due date by the work time remaining. The smallest ratio receives priority.

Hamidi's single-machine sequencing study describes these priority rules. Although their formulas are easy to apply, choosing the outcome that the factory needs to protect requires a more careful assessment. Reducing average waiting time and limiting the worst delay are distinct objectives that can favour different sequences.

Under a basic single-machine model, with every job ready at time zero, SPT minimises total completion time and therefore mean flow time. EDD minimises maximum lateness under the corresponding assumptions. Berkeley's scheduling resource explains these results. Neither rule has a universal guarantee once release dates, sequence-dependent setups or other constraints change the problem.

CR is an urgency heuristic that compares remaining work with remaining time, although it does not generally minimise tardiness. A ratio above one also does not prove an order will ship on time. The apparent spare time may still be consumed by queues, inspections, approvals and transport elsewhere in the route.

Write the objective before sorting the list, especially when a shipment has a contractual penalty that makes its business weight more important than its duration. If reducing work in progress is the main concern, average flow time may matter. Do not label every objective scheduling efficiency and assume the meaning is clear.

Convert the work into one consistent clock

Use the time for which the constrained resource will be occupied. Garment SMV multiplied by quantity gives labour content on the stated standard basis, but it does not automatically give elapsed time on a press, wash machine or packing cell. Parallel operators, batch size and machine cycles can change that relationship.

The SMV calculation guide helps establish work content. For dispatching, also check setup, handling, waiting that occupies the resource and work that can overlap. A six-hour labour total is not necessarily a six-hour machine job.

Convert the buyer's shipment date into an internal due time for the cell. Leave the agreed time for later quality release, packing and loading, keeping those allowances visible in the internal deadline. Improving the finishing score by taking away packing's time reserve can merely move the late order downstream.

Use either calendar time or a clearly defined productive-time calendar, without subtracting a weekend from one job while leaving it in another. A due time of hour eight means eight units of the chosen working clock from the plan's origin, which may differ from eight elapsed hours on the wall clock.

Set out the four-job example

The example below is illustrative. All four jobs are ready at hour zero, and one cell handles one job at a time without interrupting work after it starts. Setup is absent or already included on a fixed, consistent basis. The processing times and internal due times are measured in productive cell hours.

Job

Processing time in hours

Internal due hour

Initial critical ratio

A

6

8

8 ÷ 6 = 1.333

B

2

5

5 ÷ 2 = 2.500

C

4

9

9 ÷ 4 = 2.250

D

3

15

15 ÷ 3 = 5.000

The total processing requirement is 6 + 2 + 4 + 3 = 15 hours. Without idle time or sequence effects, every sequence finishes its last job at hour 15. The rules change which jobs finish earlier without reducing the total work that the cell must perform in this example.

EDD starts with B because its due time is earliest, while SPT also starts with B because its duration is shortest. CR starts with A because its remaining time is smallest relative to its work content. The first choice already shows that urgency and short duration are not the same thing.

Keep completion time and delay measures separate

Let C be completion time, r be release time and d be due time. Flow time is C − r. Lateness is C − d. Tardiness is the larger of C − d and zero. These definitions distinguish early completion from delay, allowing the planner to choose a measure that reflects the agreed objective.

A job completed at hour six with a due time of eight has lateness of −2 hours and zero tardiness; a job completed at hour 12 against a due time of nine has three hours of both lateness and tardiness. Negative lateness must not cancel positive delay in a report intended to show hours late.

Because all releases are zero in this example, flow time equals completion time; that equality fails when jobs enter the queue at different times. Waiting time here is completion time minus processing time because release is zero and there is one uninterrupted processing stage.

Hamidi's single-machine sequencing study compares rules using several measures, including flow time and delayed-job outcomes. The practical lesson is to report the measure that matches the decision. One attractive average can conceal a severe delay on one order.

A schedule in which every job finishes early can have a negative maximum lateness. That is valid because even the least early job still has time to spare, while maximum tardiness in the same schedule is zero. Do not silently replace one label with the other. In this example some jobs are late, so their maximum values happen to agree.

Also avoid averaging order-level percentages of delay. A one-hour delay on a short job and a one-hour delay on a long job are both one hour on the chosen clock. If the business wants a relative or value-weighted measure, define it separately and keep the original hours visible.

Calculate the EDD sequence

Sorting by due time gives B, A, C, D. Job B runs from hour zero to hour two, followed by A finishing at hour eight, C at hour 12 and D at hour 15. The completion times sum to 2 + 8 + 12 + 15 = 37 hours.

Mean flow time is 37 ÷ 4 = 9.25 hours. Lateness for B is 2 − 5 = −3, while A and D are on time and C is three hours late. Maximum lateness is three hours. Total tardiness is also three hours, and one job is late.

EDD has protected the worst signed lateness under the example's assumptions. That result describes the worst signed lateness, while C still misses its internal deadline and needs a separate assessment of the shipment consequences. The planner must check what that delay means for its remaining route and shipment commitment.

Calculate the SPT sequence

Sorting by processing time gives B, D, C, A. Their completion times are two, five, nine and 15 hours. The sum is 31 hours, so mean flow time is 31 ÷ 4 = 7.75 hours. This is 1.50 hours less than EDD's mean.

The improvement comes with a tradeoff. A finishes at hour 15 against a due time of eight, so it is seven hours late. C finishes exactly on time, leaving only one late job, with maximum lateness and total tardiness both equal to seven hours.

A late-job count alone therefore makes EDD and SPT look equal. It hides the difference between a three-hour delay and a seven-hour delay, while a mean-flow report alone favours SPT without exposing the deadline problem. Show both outcomes when the decision involves both work in progress and delivery.

Recalculate critical ratio after each completion

At hour zero, A has the lowest CR and runs first; when it finishes at hour six, recalculate the ratios for the remaining jobs. B now has (5 − 6) ÷ 2 = −0.5. C has (9 − 6) ÷ 4 = 0.75. D has (15 − 6) ÷ 3 = 3. B goes next.

Scheduling board with colour-coded job cards

When B finishes at hour eight, C's ratio is (9 − 8) ÷ 4 = 0.25. D's ratio is (15 − 8) ÷ 3 = about 2.333. C goes before D. The resulting dynamic sequence is A, B, C, D.

Completion times are six, eight, 12 and 15 hours. Their sum is 41, giving mean flow time of 10.25 hours. Because B and C are each three hours late, total tardiness is six hours, maximum lateness is three hours and two jobs are late.

The negative CR for B means its due time has passed, rather than indicating a negative amount of processing work. A zero or missing remaining duration needs a separate data check because division by zero is undefined. Complete the job's status or correct the estimate before calculating its priority.

Keeping the original CR values fixed would create a static rule, which differs from the dynamic rule demonstrated here. State when the ratios are recalculated, such as after each job completion or at a controlled dispatch event. Otherwise two planners can use the same formula and produce different lists.

Compare the outcomes together

Rule

Sequence

Mean flow hours

Maximum lateness hours

Total tardiness hours

Late jobs

EDD

B A C D

9.25

3

3

1

SPT

B D C A

7.75

7

7

1

Dynamic CR

A B C D

10.25

3

6

2

Every row uses the same jobs and assumptions. EDD and CR tie on maximum lateness, but EDD has fewer late jobs and less total tardiness here. SPT gives the lowest mean flow time while delaying A more severely.

There are 4 × 3 × 2 × 1 = 24 possible sequences. Enumerating them confirms a minimum mean flow time of 7.75 hours and minimum maximum lateness of three hours for this dataset. The lowest total tardiness is also three hours. That last observation describes these four jobs and should not be treated as a general proof that EDD minimises total tardiness.

Do not call CR a poor rule based on one example. Since its usefulness depends on the operating conditions and objective, replay a meaningful set of completed planning windows before making a broader choice. Include periods with urgent arrivals and equipment interruptions, not only the easiest shift.

Build the ready queue before ranking it

A job should enter the ready queue only when its required materials, approvals, equipment and skills are available. Keep blocked jobs in the planning backlog with the specific missing condition, because giving them the highest priority does not make them runnable.

This distinction is especially important in garment finishing. A missing label approval can block packing even when all garments are sewn. A press may be available while its trained operator is absent, and a job may need a quality release before it can share a batch with other work.

Research on personnel and machine scheduling models shared staff and machine eligibility together. It illustrates why counting machines alone can overstate usable capacity. The article's simple one-cell example assumes those constraints have already been resolved.

Keep a tie rule that others can reproduce, such as using the earlier due date as a secondary rule when SPT durations are equal. A stable job ID can resolve the remaining tie. Agree the secondary rule before the shift so that an individual preference does not become an unexplained change in dispatch priority.

Check what changes when a new job arrives

Suppose a separate scenario has a two-hour job ready at hour zero. An urgent one-hour job will become ready at hour one and is due at hour two. If the first job starts immediately and cannot be interrupted, the urgent job can finish only at hour three. Its delay comes from the release pattern and non-preemption, not from a mistake in arithmetic.

Deliberately waiting until hour one could allow the urgent job to run from one to two, followed by the first job. That may protect the urgent deadline, but the added idle time and delay to other work require a clear business reason. A rule that always keeps the cell busy is not automatically best for every deadline objective.

New arrivals also create a risk that long jobs wait repeatedly behind short work. If SPT is used in a dynamic queue, monitor the age of waiting jobs and describe any aging rule or priority override that changes the policy. Do not claim the original equal-release guarantee for the modified system.

Account for setup and the rest of the route

A change of colour, tooling or machine setting may depend on the job that came before. In that case, one average setup allowance per job can hide important differences. Calculate the setup time for each proposed transition, since the sequence may then affect the completion time of the final job.

If jobs pass through two stages in the same order, the Johnson's rule guide addresses a different scheduling problem. Its usual objective is makespan, the time at which all jobs finish, so check its assumptions before using it in place of a due-date rule.

For more complex routes, Google's job-shop example shows how precedence and machine capacity can be represented in a scheduling model. Such a model still needs accurate processing times and a chosen objective, because software cannot decide which missed commitment matters unless that requirement is supplied.

A research framework for production scheduling under real-world constraints also includes setups, breakdowns and buffer limits. These constraints justify expanding the model when needed, while a transparent dispatch worksheet remains useful for a simple cell that it describes accurately.

Add business weights only for a defined purpose

When jobs have different agreed importance, weighted shortest processing time ranks each job by processing time divided by its positive weight. Under the basic equal-release, single-machine assumptions, that rule minimises weighted completion time. Berkeley includes it alongside SPT and EDD. A business weight can represent a defensible cost of delay, provided its meaning is agreed before it is used to determine the dispatch sequence.

For example, a six-hour job with weight three has a ranking value of two. A three-hour job with weight one has a value of three, so the longer job comes first. This does not make it an earliest-deadline rule. Arbitrary weights can hide preferences behind arithmetic, and changing them after seeing the sequence makes later comparisons hard to interpret.

Turn the comparison into a controlled trial

Record job ID, ready time, remaining cell time, internal due time and any setup family. Keep the selected rule, priority score and actual start and finish times, together with the reason for each priority override. The resulting record should explain both the planned order and what happened on the floor.

After the trial, separate bad inputs from bad rules. A wrong processing estimate may make every rule look poor, while a changed buyer date can invalidate the original sequence. A material hold may explain idle time that a theoretical schedule assumed away. Each problem needs a different response.

Choose the rule that fits the agreed objective and review its consequences together. EDD, SPT and CR make priorities explicit when they are applied to ready work, use reliable processing times and are assessed against the outcomes that the factory actually needs.

Dispatch rules depend on capacity and queues, so read machine capacity planning, queuing theory for buffer sizing, production calendar calculations and linear programming for sewing line balancing. See also changing a production schedule.

EDD vs. SPT vs. Critical Ratio (CR): Scheduling Rule Comparison

Production planners choose between Earliest Due Date (EDD), Shortest Processing Time (SPT), and Critical Ratio (CR) based on whether late shipment penalties or WIP congestion is the sharper operational bottleneck:

Dispatch RulePriority FormulaWhat It OptimizesMain Trade-Off in Apparel Planning
EDD (Earliest Due Date)Smallest Due Date (di) firstMinimizes maximum lateness (Lmax) across the order bookCan stall short urgent refills behind one huge overdue export PO
SPT (Shortest Processing Time)Smallest Processing Time (pi) firstMinimizes average flow time and average WIP in queueLong high-volume styles risk severe tardiness if small orders keep jumping ahead
CR (Critical Ratio)(Due Date − Today) ÷ Remaining Processing Time (lowest first)Dynamically balances remaining calendar slack against remaining sewing/finishing loadRequires accurate live WIP tracking; ratios below 1.0 signal orders already behind schedule

Interpreting Critical Ratio (CR): CR > 1.0 means the order is ahead of schedule; CR = 1.0 means it is exactly on track with zero buffer; CR < 1.0 means the order will miss ex-factory date unless expedited or split across parallel lines. When every order passes through exactly two sequential bottleneck stages (for example, cutting/printing followed by sewing/washing), evaluate Johnson's Rule two-stage sequencing alongside EDD and CR to minimize total makespan.

References and further reading