# Shortest Processing Time First

> Source: https://modeladay.com/models/shortest-processing-time-first/
> Category: principle | Topics: time, decision, business | Difficulty: 3/5

## Definition

SPT orders jobs by processing duration. It minimizes mean completion time for equally weighted, ready jobs of known lengths on one station without additional switching costs.

## Core Rule

SPT orders jobs by processing duration. It minimizes mean completion time for equally weighted, ready jobs of known lengths on one station without additional switching costs.

## Opening Context

A machine frees up in a job shop that makes nineteen kinds of products to order. Several jobs are ready and waiting. Do you reach for the one that came first, the one that's due soonest, or the one you can finish in minutes?

Shortest Processing Time First puts the shortest ready job up next. We'll follow the orders through a study built around a real shop. Then we can see where waiting time goes when the machine runs at exactly the same speed.

## How It Works (Preview)

In a paper published in 1985, researchers put a real engineering job shop into a simulation. They ran jobs by arrival, due date, and processing time. They also tried a new rule that divided each job's value by the time it would take.

When the jobs came through, the researchers checked two sets of numbers. How much money was tied up in unfinished orders, and how well was the shop delivering?

## When It Fails (Preview)

Even when the average improves, look at who's still waiting. Suppose a long order has been in the queue all morning and new short jobs keep jumping ahead of it. The average can look good while that one order never gets a turn.

## Full Lesson, Audio & Practice

Get the full Shortest Processing Time First breakdown, 5-minute audio lesson, interactive mechanism animation, and decision checklist in the ConceptFlow app:
- iOS App Store: https://apps.apple.com/app/conceptflow-mental-models/id6756862333
- Google Play: https://play.google.com/store/apps/details?id=com.juxianyp.conceptflow
- Web page: https://modeladay.com/models/shortest-processing-time-first/

## Related Mental Models

- [Little’s Law](https://modeladay.com/models/littles-law/)
- [Critical Chain Project Management](https://modeladay.com/models/critical-chain-project-management/)
- [Queue Pooling](https://modeladay.com/models/queue-pooling/)
