How kanban works
Kanban is a card system that tells each process what to make and when. A process makes a new container of parts only after the next process has taken one.
Matt Savas · Reviewed October 2026 · About 6 minutes
What kanban is
Kanban (看板) is Japanese for signboard. In a factory it is a card that travels with a container of parts and says what to make or move.
Taiichi Ohno began using kanban in Toyota’s machine shop in the early 1950s. He took the idea from American supermarkets, where staff restock a shelf only after customers take goods from it. That is why the store between two processes is still called a supermarket.
What to make: One part number per card.
How many: The parts in one container. One card always stands for one container.
Who makes it: The process that makes the part.
Where it goes: The shelf where full containers wait.
The back number is a short code painted on the shelf and the container, so people can match them at a glance. Most cards are laminated paper in a plastic sleeve. The signal does not have to be a card. Some plants scan a barcode instead. Others send the empty bin back, and the empty bin is the order to refill it.
The problem it solves
Most factories plan from a forecast. A planning system such as MRP works out what each process should make, and each process makes it whether or not the next process needs it yet. When the forecast is wrong, the extra parts wait between processes. More parts waiting means longer lead times, more cash tied up in stock and defects that nobody finds until the parts are used. The batch versus flow guide shows this on one line.
With kanban, a process makes parts only to replace what was used.
How the loop runs
The line below runs live. Scroll to move through it one step at a time.
- Production kanban
- Withdrawal kanban
- Container of parts
The line
Machining makes brackets for the parts supermarket. Assembly uses them, and a customer buys a finished container every few seconds. Every full container carries a card. An amber card is a production kanban, the order to make one container. A dark card is a withdrawal kanban, the order to move one.
The line
Machining makes brackets for the parts supermarket. Assembly uses them, and a customer buys a finished container every few seconds. Every full container carries a card. An amber card is a production kanban, the order to make one container. A dark card is a withdrawal kanban, the order to move one.
Assembly follows the schedule
Assembly is the pacemaker, the only process with a schedule. Each day, production control loads the day’s cards into the heijunka box. The box releases one card at a fixed interval, and assembly makes one container per card. When the customer takes that container, its card goes back to production control.
Using a part starts the reorder
When assembly uses the first bracket in a container, the dark card goes in the collection box. A handler takes it to the supermarket, puts it on a full container and brings that container back. The amber card from that container goes back to machining as the order to make one more.
The cards limit the stock
No container is made or moved without a card, so the line can never hold more containers than it has cards. This line has 13: 3 amber and 3 dark cards in the parts loop, and 7 amber cards for assembly. The count stays well below 13.
Working to a forecast
Now the cards are gone. Machining works to a schedule that releases work 25% faster than the customer buys, as a forecast that is too high would. Nothing tells machining that assembly already has enough. The drawing now runs six times faster.
Stock piles up
Every machine stays busy, and the shelves fill with containers nobody ordered. The count passes 13 and keeps climbing. Each new container waits behind the ones already there, so the average lead time grows too.
Put the cards back
With the cards back, a container without a card does not start any new work. Assembly uses up the extra containers, and the count falls back below 13. Nothing else about the line changed.
Run the line yourself
This is a second copy of the same line. The slider sets the number of production and withdrawal kanban in the parts loop. Assembly always has 4 more cards than that, one day’s schedule, so the limit on containers changes with the slider.
Swipe sideways to see the whole line.
- Production kanban
- Withdrawal kanban
- Container of parts
- Set the cards to 1. The line holds fewer containers. After about a minute the loop cannot refill the supermarket in time, and orders start to miss.
- Set the cards to 8. Orders are met, but more containers sit on the shelves and the lead time more than doubles.
- Break machining in pull mode. Assembly runs out of brackets and orders miss, but no stock piles up.
How many cards
A common starting formula is:
Cards = demand × lead time × (1 + safety factor) ÷ parts per container
Lead time here is the time to refill one container: the card’s trip back, the wait, the making and the trip to the store. Use the same time unit for demand and lead time. Round up, because you cannot use part of a card.
Say assembly uses 120 brackets a day, a container takes half a day to refill, you add 10% for safety and a container holds 20 brackets. 120 × 0.5 × 1.1 ÷ 20 = 3.3, so you start with 4 cards.
Treat the result as a starting point. Toyota removes cards one at a time. Each one removed lowers the stock until a problem shows, such as a long changeover or a machine that often stops. The team fixes it, then removes another card. To work out your own numbers, use the free kanban card calculator.
The six rules
Toyota teaches six rules for kanban.
- 1Defective parts must not be passed on to the next processThe next process has little spare stock to fall back on.
- 2The next process withdraws the parts it needsAssembly comes to the store and takes what it uses, when it uses it.
- 3Make only the quantity the next process withdrewOne container taken means one container made.
- 4Do not make or move parts without a kanbanA production kanban says make. A withdrawal kanban says move.
- 5The kanban must be attached to the actual partsThe card travels with its container, never in a pocket or a pile.
- 6The number on the kanban must match the number of partsA card that says 20 means 20 brackets in the container.
Kanban also needs steady demand at the pacemaker. Large swings in orders force the card counts up, so Toyota levels the schedule first. The heijunka guide explains how the heijunka box levels the mix of products.
When kanban is the wrong tool
- Demand that swings widely. The card count is sized to one rate of demand. If demand doubles one month and halves the next, the loop runs short or holds too much. Use kanban for the steady parts and schedule the rest.
- One-off products. A part made once, to one customer’s drawing, has nothing to replace. Schedule it directly.
- Expensive, bulky or perishable parts. Every card is a full container kept in stock. For some parts, making to order costs less.
- Unreliable processes. A process that breaks down often needs so many cards to cover the stops that the loop holds a lot of stock. Make the process stable first, then add cards.
Frequently asked questions
- What is a kanban card?
- A kanban card is a signal that allows one action: make one container of one part, or move one container from a store. It is usually a laminated card that travels with the container. Some plants scan a barcode instead. Others send the empty bin back, and the empty bin is the order to refill it. The card shows the part number, the quantity per container, the process that makes the part and the store address. No process makes or moves parts without a card, so the number of cards limits the stock in the system.
- What is the difference between a production kanban and a withdrawal kanban?
- A production kanban tells a process to make one container. It rides on a full container in that process's store. When the container is taken, the card comes off and goes back to the process as the order to make a replacement. A withdrawal kanban tells a material handler to move one container. It rides on a full container at the line that uses the parts and comes off when the operator uses the first part. The handler takes it to the store, puts it on a full container and brings that container back. Production kanban stay inside one process. Withdrawal kanban link one process to the next.
- How do you calculate the number of kanban cards?
- A common formula is cards = demand × lead time × (1 + safety factor) ÷ parts per container, rounded up. Treat the result as a starting point. Too few cards cause missed orders, and too many hold extra stock.
- How is kanban different from a push or MRP schedule?
- In a push system, a schedule based on a forecast tells each process what to make. Each process makes parts whether or not the next one needs them, so forecast errors turn into stock between processes. With kanban, a process makes only what was just taken, so work in process stays at or below the number of cards and lead time stays short. Many plants still use MRP to plan materials and capacity, and use kanban to run the floor day to day for parts they make often.
- Does kanban work for software and office work?
- Software kanban boards take one idea from manufacturing kanban: limit how much work is in progress. A column with a WIP limit caps how many tickets are open at once. Manufacturing kanban is a replenishment loop for standard parts kept in a store, and each card is an order for a specific part. Both rely on the same fact: less work in process means shorter lead times.