Your Training Partner
Techniques Toolbox
Heijunka box of a pump workshop. Three rows for models A, B and C. Seven 20-minute columns from 7:00. Each column holds a single card. The cards follow the order A, B, A, C, A, B, A.

Heijunka

Heijunka levels production: over a fixed period it spreads the volume and mix of products evenly instead of following the peaks and troughs of orders. The Japanese term translates as levelling. It is also called production smoothing. Heijunka comes from the Toyota Production System. The line makes the same quantity every day in a short sequence that repeats. A small stock of finished goods absorbs the swings in demand. A heijunka box releases kanban cards to the work station at a fixed interval.

Goal

The Lean Enterprise Institute (LEI) defines heijunka as levelling the type and quantity of production over a fixed period. Its aim: to meet demand without batching and with a minimum of inventory, capital, labour and lead time. In Toyota UK's glossary, heijunka supports just-in-time. Levelling covers every shop in the plant and its suppliers.

When production volume follows orders day by day, every peak reaches the work stations, the people and the suppliers. The mix raises a second problem when the line makes each product in long runs. The LEI lists the costs of this batch production. Lead time grows and the finished-goods stock swells. Consuming parts in batches inflates work-in-process and passes the unevenness on to suppliers. A defect spreads to the whole batch. The workload on people becomes uneven. Toyota UK calls the unevenness of production mura. Just-in-time aims to eliminate it. Heijunka and kanban address it.

The technique prepares two decisions: how much of each product to release per interval and in what order. The deliverable is a levelled plan: volume per interval, mix sequence, release interval (the pitch) and buffer stock size. The heijunka box carries this plan to the work station.

Usage

When to use it

  • Irregular orders for repetitive products: make the same quantity every day and absorb the swings with a stock.
  • Several variants made in batches on the same line: replace long runs with a short sequence that repeats.
  • Variants with unequal work content: place long products between short ones to keep the workload even.
  • Pull flow in place: withdraw the cards of the kanban pull system at every pitch instead of releasing a whole shift's demand in one go.
  • Suppliers who receive orders in bursts: frequent levelled withdrawals limit demand amplification.
  • Order peaks at month-end or quarter-end: look for the demand that sales incentives create before sizing the stock.
  • Order history by product over several weeks: it supplies the average volume, the mix proportion and the buffer stock size.

When not to use it

  • Changeovers lasting several hours: every model change in the sequence stops the line; cut them first with SMED.
  • Project with one-off activities: no product repeats; smooth the workload with resource levelling and smoothing.

Description

Levelling volume

In each interval the producer makes the average demand of the period. In the LEI example, 500 units ordered arrive over five days as 200, 100, 50, 100 and 50. The producer makes 100 a day. A small stock of finished goods absorbs the peaks. According to Toyota UK, Toyota holds a stock proportional to the variability of demand.

According to the LEI, this stock sits near shipping at the end of the value stream. The plant and its suppliers then see levelled demand. The buffer stock covers the gap between cumulative production and cumulative orders.

A workshop in the canton of Fribourg assembles three models of heating pump. It receives 420 orders a week. It produces 84 a day in 420 minutes of working time. The takt is this available time divided by demand: 420 minutes for 84 pumps give 5 minutes per pump. With 4 pumps per container, the pitch is 20 minutes. The day holds 21 containers.

DayOrdersLevelled productionStock at end of day
Opening stock36
Monday120840
Tuesday708414
Wednesday90848
Thursday608432
Friday808436
Week420420
One week of orders at the pump workshop (units). Production stays at 84 pumps a day. The buffer stock of 36 pumps absorbs Monday's peak and is back at 36 on Friday.

On Monday the 120 orders exceed production by 36 pumps. The opening stock covers them and falls to zero. A busier week would exhaust it. The team therefore bases the stock size on several weeks of history rather than on one. It holds the stock per model.

Levelling the mix

The line alternates products in a short sequence that repeats. The LEI compares two sequences for four products. In batches, the line makes A A A A A B B B C C D D. Levelled, it makes A A B C D A A B C D A B. Both sequences contain the same twelve units. In the first, each product forms a single block. The second splits it into several runs separated by the other products: three for A and B, two for C and D.

According to Toyota UK, Toyota mixes models within each batch. Its stamping presses change dies in three minutes in many cases. SMED shortens these changeovers. Toyota UK adds that just-in-time delivery makes heijunka possible.

In the pump workshop, demand runs at a ratio of four A to two B to one C. The pattern A B A C A B A follows this ratio. The line repeats it three times a day.

Batch production and levelled production
A day's 21 containers
In batches
A
A
A
A
A
A
A
A
A
A
A
A
B
B
B
B
B
B
C
C
C
Levelled
140-minute pattern
A
B
A
C
A
B
A
A
B
A
C
A
B
A
A
B
A
C
A
B
A
The 21 containers of one day at the pump workshop. In batches, the line makes 12 containers of A, then 6 of B, then 3 of C. Levelled, it repeats the pattern A B A C A B A three times.

Work content

The models do not take the same amount of work. According to Toyota UK, the sequence avoids running models that are complex to assemble back to back. In a Lean Enterprise Institute article, coach Jeff Smith calculates staffing from the work content weighted by the mix. He adds up each product's work time multiplied by its share of demand. He divides this total by the takt.

ModelPumps per dayWork per pumpWork per container of 4Gap to the pitch's 40 minutes
A488 min32 min8 min slack
B2412 min48 min8 min over
C1214 min56 min16 min over
Weighted average8410 min40 min0
Work content of the three pump models. Two people have 40 minutes of work per 20-minute pitch. A container of A leaves 8 minutes of slack. A container of B exceeds the 40 minutes by 8. A container of C exceeds them by 16. The weighted average is 10 minutes per pump.

At a takt of 5 minutes, 10 minutes of weighted work per pump call for two people. In batches, the line runs 12 containers of A, then 6 of B, then 3 of C. The A containers leave 96 minutes idle. The three C containers need 168 minutes of work in one hour. That hour offers 120. The levelled sequence places each container of B and C between two containers of A. Over one pattern, the four A containers free 32 minutes. The two B containers and the C container consume 32. The pattern needs 4 × 32 + 2 × 48 + 56 = 280 minutes. That equals 7 pitches with 40 minutes of work in each. According to Smith, the operator starts the next container in the slack of the short one.

The heijunka box

According to the LEI, the heijunka box levels mix and volume by releasing kanban cards at fixed intervals. Each row stands for a product. Each column stands for a withdrawal interval. Each card stands for one pitch of production of one product. A withdrawn card authorises the station to produce one pack-out quantity.

The pitch equals the takt multiplied by the pack-out quantity. The LEI gives the example of a takt of 1 minute and 20 pieces per container: the pitch is 20 minutes.

In the LEI's example box, the day starts at 7:00. A material handler withdraws the cards every 20 minutes. Product A has a pitch of 20 minutes: one card per slot. Product B has a pitch of 10 minutes: two cards per slot. Product C has a pitch of 40 minutes: one card in every other slot. The box levels products with different pitches. Products D and E in the same example share a process with a 20-minute pitch in a ratio of 2 to 1. The box receives one card per interval in the repeating sequence D, D, E. The pump workshop's box follows this case.

Running the levelling

The order of the steps is our synthesis of what the LEI and Toyota UK describe.

  1. Choose the family and the period. Select the products that run on the same line. Set the levelling period: the shift, the day or the week.
  2. Calculate the volume per interval. Add up each product's demand over several weeks of history. Divide by the number of intervals.
  3. Size the buffer stock. Keep a daily running total of levelled production and of orders. For each model, take the largest lag of cumulative production behind cumulative orders.
  4. Calculate the takt and the pitch. Divide the available time by demand to obtain the takt time. Multiply the takt by the pack-out quantity.
  5. Build the sequence. Find the smallest pattern that follows the product proportion. Place products with long work content between short ones.
  6. Load the box. Set up one row per product and one column per pitch. Place the cards according to the sequence.
  7. Withdraw the cards at every pitch. Compare each interval's output with the plan. Record each gap with its cause.
  8. Review the level. Change the volume when demand changes for good. Revise the mix sequence periodically as orders evolve. To decide when to change the takt, see takt time.

Introducing levelling in stages

In a Lean Enterprise Institute article, coach Ian Glenday takes the plant through fixed cycles. It first makes every product twice a month. It then moves to a weekly cycle, then to a daily cycle. Small fixed quantities come next, then single-piece flow. For Glenday, stability comes first: it is the base for continuous improvement.

Demand created upstream and downstream

Orders grow more irregular as they travel up the supply chain. The LEI calls this demand amplification. It is also known as the bullwhip effect. In the LEI example, demand varies by ±3% at the customer and by ±35% at the supplier. The number of decision points and the delays in passing orders on explain the amplification. Levelled pull systems with frequent withdrawals limit it.

Some of the peaks come from sales. Month-end and quarter-end incentives bunch orders together. The LEI calls the removal of this created demand level selling: changing the incentives, dropping promotions. Once these peaks are gone, the remaining swings come from customer demand. The buffer stock covers them.

Pitfalls

Levelling without a buffer stock. The producer then misses deliveries on peak days. In the pump workshop, 120 orders arrive on Monday against 84 pumps produced.

Levelling the mix with long changeovers. The pattern A B A C A B A changes model six times in 140 minutes. At 15 minutes per changeover, the workshop would lose 90 of those 140 minutes. The team shortens the changeovers with SMED before it tightens the sequence.

Levelling an unstable process. According to Toyota UK, fluctuations come from demand or from production itself. Heijunka addresses those that come from demand. Frequent breakdowns and defects break the plan within the first hour. Glenday starts with long fixed cycles and shortens them in stages.

Mistaking the box for the technique. The box distributes a plan. A box filled from the day's orders reproduces batches in another form. The team levels production by calculating volume, stock and sequence.

Changing the level at every peak. A level recalculated every day follows demand. The buffer stock then loses its function. The team reviews the level on a fixed date.

AI considerations

An order export from the ERP gives demand by product and by day. A script or a language model derives from it the average per interval, the mix proportion and the cumulative gap that sizes the buffer stock. It proposes a sequence that follows the proportion. It counts the model changes that this sequence imposes. The team checks every calculation: a language model can get a running total wrong or make a rounding error without flagging it. A sequence can follow the proportion and still place two long containers in a row. The team checks that the proposed sequence places each long container between two short ones.

The model sees only the export. It lacks the actual changeover times, the space available for stock and an order announced by phone. It does not distinguish demand created by a sales promotion from a lasting increase. The team alone decides the level and when to review it. The export contains customer names and prices. The team removes them before sending it to an external service.

Examples

The pump workshop produces 84 pumps a day: 48 A, 24 B and 12 C.

Plan elementPump workshop
PeriodA day of 420 working minutes
Volume84 pumps in 21 containers of 4
Mix48 A, 24 B and 12 C
Takt5 minutes
Pitch20 minutes
SequenceA B A C A B A three times over
Buffer stock36 pumps over the reference week. To be reviewed over several weeks of history.
Level reviewOn a fixed date
The levelled plan for one day at the pump workshop. The heijunka box carries its sequence and its pitch to the work station.

The box carries the pattern A B A C A B A over the first seven pitches of the day. The pattern repeats three times in 420 minutes.

The heijunka box
Pump workshop, 20-minute pitch
7:00
7:20
7:40
8:00
8:20
8:40
9:00
Model AA
A4 pumps
A4 pumps
A4 pumps
A4 pumps
Model BB
B4 pumps
B4 pumps
Model CC
C4 pumps
The pattern repeats at 9:20 and 11:40
The pump workshop's heijunka box. One row per model and one column per 20-minute pitch. Each column receives one card in the order A, B, A, C, A, B, A. The pattern repeats three times a day.

Each column holds a single card. Volume stays at one container per pitch. Only the model changes from one column to the next.

Visualisations

The weekly table sets levelled production against each day's orders: the buffer stock absorbs the gap. The figure of a day's 21 containers contrasts batch production with the levelled sequence. The work content table compares each container with the 40 minutes of work in a pitch. The levelled plan table brings the workshop's whole deliverable together. The heijunka box in the example shows the plan as the material handler reads it at the station.

Cost

DimensionLevelNote
PreparationMediumExtract several weeks of orders by product. Measure the work content and the changeover times.
ExecutionMediumThe calculation fits in a spreadsheet. The buffer stock ties up finished goods. The sequence multiplies model changes: six in 140 minutes at the pump workshop. A material handler withdraws the cards at every pitch.
DocumentationLowThe team updates the plan and the box at every review of the level.

Tools

A spreadsheet calculates the volume per interval, the cumulative gap and the sequence. The ERP export supplies the order history by product. At the station, the heijunka box is a wall rack with one row per product and one slot per pitch. The cards of the kanban pull system circulate in it. Next to it, a whiteboard shows planned and actual output for each interval. Scheduling software can produce the sequence. The team checks that it follows the mix proportion rather than the day's orders.

Sources

  • Taiichi Ohno, Toyota Production System: Beyond Large-Scale Production, Productivity Press, 1988 (Japanese original, 1978): the reference work on the Toyota Production System.
  • Lean Enterprise Institute, Heijunka, Lean Lexicon: the definition, the aim, levelling volume and mix, the costs of batch production.
  • Lean Enterprise Institute, Heijunka Box, Lean Lexicon: the heijunka box and its example with three pitches.
  • Lean Enterprise Institute, Pitch, Lean Lexicon: the pitch as the takt multiplied by the pack-out quantity.
  • Lean Enterprise Institute, Demand Amplification, Lean Lexicon: demand amplification and the levelled pull systems that limit it.
  • Lean Enterprise Institute, Level Selling, Lean Lexicon: the demand that sales incentives create.
  • Jeff Smith, Heijunka: Mastering the Peaks and Valleys, Lean Enterprise Institute: staffing calculated from the work content weighted by the mix.
  • Ian Glenday, The Real Lean Challenge: Levelling Production, Lean Enterprise Institute: introducing levelling through ever shorter fixed cycles.
  • Toyota UK, Toyota Production System glossary: heijunka supporting just-in-time, stock proportional to demand variability, mura.
  • Toyota UK, Heijunka: the sequence that avoids running complex models back to back, short die changes, the link with just-in-time delivery.
Heard, Seen, Respected
All techniques
Helping Heuristics