Spaghetti diagram: seeing the real path of people, materials or information
The spaghetti diagram draws every movement of a person, part or document on the real floor plan of the plant or office: the tangle of crossing lines that results shows, at a glance, how much a poorly laid-out process makes people walk for nothing.
- Reading time
- 7 minutes
- Sources
- 1 book, 1 thesis
- Tool
- Reading only
In one line
The spaghetti diagram traces, on the real floor plan of a plant or office, every physical movement of a person, a part or a document during a work cycle: if the result looks like a plate of tangled noodles, that is where the transport and motion waste is, and where you should attack first.
What it is
It is a simple visual tool: on a scale sketch of the plant, office or warehouse, you draw one continuous line following every movement of whatever you are observing (an operator, a part, a folder) during a complete cycle of the process. The more crossings, turns and repeated stretches show up in the drawing, the more tangled it looks — hence the name.
It is not a recent Lean invention. Niebel and Freivalds document a direct precedent within classic methods study: the flow diagram, which is drawn next to the process flow chart on the plant floor plan to mark the real path of a worker or material, and so detect backtracking and traffic congestion zones. The case they cite is the Springfield Armory (USA): redesigning the layout with this technique, combined with the process flow chart, took production from 500 to 3,600 M1 Garand rifles per shift, with the same number of employees.
The difference from today's Lean version is one of degree, not substance: the modern spaghetti diagram is a more informal, quicker-to-build version, with no need to calculate times and distances with engineering precision before drawing the first line. It is used first to see the problem, and only afterward to measure it.
What it is for
It makes visible a waste that almost nobody notices because "it has always been done this way": the time and energy lost walking more than necessary. An operator, a part or a file that travels a long distance between stations adds no value on that trip — it only consumes time, raises the risk of bumps or falls, and in processes with fragile or perishable parts it can add deterioration or waiting.
It works as a quick diagnosis before getting into redesigning a complete layout: showing the "as-is" in a simple drawing convinces anyone —from the operator to management— that there is a path problem, without having to explain any complex indicator first.
How to apply it
- Choose what to follow: a person (operator, nurse, cashier), a part or batch of material, or a document/file.
- Draw the real floor plan of the area at approximate scale: walls, machines, shelving, desks, doors.
- Walk the process physically —or ask the person who does it every day to describe it step by step— and mark every movement with a continuous line, in the order in which it happens.
- Number each stretch or add an arrow showing the direction, so you can read the sequence later.
- Repeat the tracking for a complete cycle (or several, if the path changes from one time to the next).
- Measure the total distance traveled and count the crossings, turns and repeated stretches.
- Identify the longest or most frequent stretches: they are the first candidates to attack, by moving stations, materials or files to shorten the path.
- Redesign the layout with those findings and draw the diagram again on the new floor plan, to confirm with numbers that the path got shorter.
Real example
The thesis documents the case of LACPRIMA, a dairy company in Girón (Azuay, Ecuador) that makes fresh cheese, where the spaghetti diagram was applied within a broader project to implement Toyota Production System tools (5S, Poka-Yoke, Andon, VSM).
The initial diagnosis had found a typical layout problem: the cheese molds were stored in two different places in the factory, and there were also items unrelated to the raw material receiving area getting in the way. The spaghetti diagram traced over the path of the two operators in the molding process showed exactly that: unnecessary and repeated stretches, the result of that lack of space planning.
With the initial diagram, the distance traveled per cycle was 200 meters for Operator 1 and 150 meters for Operator 2. After relocating the mold storage and applying 5S to clear the area, the diagram was traced again on the new layout: Operator 1 now traveled 110 meters (45% less) and Operator 2, 80 meters (47% less) — without changing the number of operators or the production volume.
Template to use
A simple worksheet, to fill in during the survey itself:
- What is being followed: person, part or document — name or code.
- Area and date of the survey.
- Base plan: scale sketch of the area, with machines, shelving and workstations already marked.
- Path record: one continuous, numbered line for each movement, in the real order in which it happens, over a complete cycle.
- Metrics to calculate at the end:
- Total distance traveled, in meters.
- Number of line crossings.
- Number of repeated stretches (back and forth to the same point).
- Longest stretch and most frequent stretch.
- First candidate to improve: the longest or most repeated stretch — note what change of location would shorten it.
- Second diagram: repeat the same survey on the already corrected layout, to compare the meters before against those after.
So you do not have to build it by hand, there is an Excel spreadsheet with a flow process chart and a spaghetti diagram with the formulas already done: on the spaghetti sheet you draw the floor plan with blocks, enter the route and the chart draws the lines between the blocks; it also calculates the total distance, the longest leg and the one that repeats the most, and compares the current route with the proposed one. The values it comes with are examples and must be deleted.
Benefits
- It is cheap and quick to build: a floor plan, a sheet of paper and following the real process is enough, with no special instruments.
- It makes visible a waste (unnecessary motion and transport) that no other tool shows as directly on a floor plan.
- The result is easy for anyone to understand without explaining indicators: a tangle of lines is enough on its own to convince people there is a layout problem.
- It serves as "before" evidence to justify a layout redesign, and afterward to demonstrate its impact with numbers.
Limitations to keep in mind
- It only shows the physical path of whatever was chosen to follow at that moment: it does not analyze waiting times, quality or the causes of the problem — that takes other tools, such as value stream mapping, time study or the Ishikawa diagram.
- The result depends on the observed cycle being representative; an atypical day can show a path that is not the usual one.
- It does not solve anything by itself: it is a diagnosis. Real improvement depends on the layout being redesigned afterward, something that is sometimes not in the hands of whoever made the diagram (fixed walls, installations that are expensive to move).
- In highly variable processes, where each cycle takes a different path, you may need to build several diagrams before finding a clear pattern.
In summary
The spaghetti diagram turns an invisible waste —walking more than necessary— into a drawing that anyone understands at a glance. You need no software or budget: a floor plan, a continuous line and counting meters and crossings is enough to find the first candidate to improve. The LACPRIMA case shows it in concrete numbers: going from 200 and 150 meters down to 110 and 80 meters per operator, just by rearranging where the molds are stored and clearing the area with 5S. Combined with 5S to organize the space and with SMED when the path includes changeovers, it is one of the simplest —and most underrated— tools for starting a layout improvement.
More on Work Study and Processes
Fatigue and rest breaks
A standard time has to include the rest the task requires. How much depends on energy expenditure, posture, force and environment, and on differences between people (age, body size, sex) that are worth understanding in order to design workstations that serve many people, and not to judge anyone by an average.
Flow process chart: the 5 symbols to map any process
The flow process chart (cursograma in Spanish) records everything that happens to a part or a person using just 5 symbols: not only what gets produced, but also every transport, delay, inspection and storage that nobody counts today.
Lead time: how long it really takes for the product to reach the customer
Lead time is the total time that passes from the moment raw material (or the order) comes in until the product goes out. It is not cycle time: most of the lead time is usually waiting, and that is where the improvements are.