Skip to content
LeanSuite

Spaghetti diagram: how to draw one, read it and turn distance into time

Short answer

A spaghetti diagram is a floor plan with the real path of one person or one part drawn on it as a continuous line. Count the trips and measure the line, and you know how much walking the job contains and which things to move closer.

Sketch the work area to scale. Follow one person for a full cycle or an hour and draw every move as it happens, without lifting the pen. Log each trip, multiply trips by distance, and divide by a walking pace to get time. In the worked example below, an assembler walks 3,600 ft an hour, which is 15 minutes of every 60. Five layout changes cut that to 480 ft and 2 minutes.

Last reviewed:

What is a spaghetti diagram?

A spaghetti diagram in one picture

Example numbers
An assembly bench with one hour of walking traced on the floor planLines fan out from the operator at the bench to a parts rack, a pallet, a shared torque driver, a label printer, a scrap bin and a desk. Numbered markers point to the scale bar, the operator, a bundle of traced lines and the parts rack where trips are tallied.Shared driverBenchNext benchParts rackPrinterPalletScrapDesk123410 ft
  1. A floor plan to scale. Walls, benches, racks and bins, with one measured wall setting the scale.

  2. One subject, one period. Here, one assembler for one hour of normal running.

  3. Every walk is a line. Drawn along the path really taken, never lifted, never tidied.

  4. A tally for each stop. Trips times distance, out and back, gives feet walked.

The sum

3,600 ft ÷ 4 ft a second = 900 s

15 min of the hour

A floor plan with one hour of an assembler's walking traced on it: 3,600 ft in 102 round trips, which at 4 ft a second is 15 minutes of the hour. Numbers mark the scale, the operator, the traced lines and the tally by stop.

Four things make the diagram, and one sum turns it into time: 3,600 ft walked, divided by a pace of 4 ft a second, is 900 seconds, or 15 minutes of the hour that was watched.

A spaghetti diagram is a drawing of a work area seen from above, with the actual route of one thing traced over it as a line. The thing can be a person, a part, a cart or a document. You follow it and draw where it really goes, every trip, without lifting the pen. After an hour the page looks like a plate of spaghetti, which is where the name comes from. You will also see it called a spaghetti chart, a spaghetti map or a spaghetti plot.

The Lean Enterprise Institute's Lean Lexicon defines it from the product's side: a diagram of the path taken by a product as it travels through the steps along a value stream. On a shop floor it is used at least as often to follow a person. The method is the same either way.

It needs a pencil, a floor sketch and somebody willing to stand and watch for an hour. That is the whole kit, and it is why the spaghetti diagram is usually the first tool a team reaches for when a job seems to involve a lot of walking.

Why plants draw them

Walking is the easiest waste to stop seeing. Everybody on the line knows the label printer is far away, and nobody knows it costs more than half a mile a shift. The diagram turns a feeling into a number, and it does it on one page that needs no explaining.

  • It measures motion and transport, two of the eight wastes, in feet and minutes.
  • It shows which destination causes the walking. A total distance tells you there is a problem. The thickest bundle of lines tells you where.
  • It shows crossings: people walking through a forklift aisle, two operators cutting across each other, material flowing against the direction of the line.
  • It settles layout arguments. Two proposed layouts can be compared by tracing the same hour of work on each.
  • It proves the change. The same trace after a move gives a before and after that anyone can read.

Where a shift of walking goes, stop by stop

Example numbers

Before: 105 min of walking a shift

After: 14 min of walking a shift

  • Parts rack: 35 min before, none after
  • Finished goods pallet: 28 min before, 7 min after
  • Shared torque driver: 17.5 min before, none after
  • Label printer: 14 min before, 2.1 min after
  • Scrap bin: 7 min before, 1.4 min after
  • Supervisor's desk: 3.5 min before, 3.5 min after

Over 7 running hours the assembler in the worked example walks 105 minutes, about 4.8 miles: 35 minutes to the parts rack, 28 minutes to the finished goods pallet, 17.5 minutes to the shared torque driver, 14 minutes to the label printer, 7 minutes to the scrap bin, 3.5 minutes to the supervisor's desk. After the layout change she walks 14 minutes.

The bench from the worked example below, over 7 running hours at 4 ft a second. Before, walking takes 105 minutes of the shift, about 4.8 miles, and three every-cycle stops own most of it. After the change it takes 14 minutes: 91 minutes a shift given back.

It is the wrong tool for some questions. It shows where people go and says nothing about what they do when they get there, how long each task takes or whether the task is needed at all. For those you want a time study or a process chart, and the comparison table further down sorts out which is which.

How to draw a spaghetti diagram, step by step

Seven steps from a blank sheet to a before and after

  1. 1

    Choose one subject and one period

  2. 2

    Tell the operator first

  3. 3

    Sketch the floor plan to scale

  4. 4

    Mark every place the subject stops

  5. 5

    Trace every move as it happens

  6. 6

    Measure and add up

  7. 7

    Change the layout and trace it again

Steps 3 to 5 are the drawing. Step 6 turns it into a number, and step 7 is the reason for doing it at all.
  1. 1

    Choose one subject and one period

    Follow one person, or one part, for a set time: a full cycle, a changeover, or an hour of normal running. Pick a typical period, not the day the line was down. Write the subject, the date and the start and end time on the sheet.

  2. 2

    Tell the operator first

    Explain that you are mapping the layout, not timing the person. Ask where they think the wasted walking is. They already know most of it, and saying so out loud makes the next hour easier for both of you.

  3. 3

    Sketch the floor plan to scale

    Draw walls, benches, machines, racks, bins and doors on squared paper. Measure one long wall with a tape or a measuring wheel and set the scale from it, such as one square to 2 ft. An engineering layout drawing works too, once you have checked it against the floor. Racks get moved and drawings do not.

  4. 4

    Mark every place the subject stops

    Give each stop a letter: the bench, the parts rack, the tool board, the printer, the scrap bin, the supervisor's desk. Add stops as they turn up. The ones nobody mentioned beforehand are usually the interesting ones.

  5. 5

    Trace every move as it happens

    Stand where you can see the whole area. Each time the subject moves, draw the line along the path really walked, around the pallet and through the gap, not as a straight line between two points. Do not lift the pen and do not tidy up. Keep a tally of trips to each stop on the side of the sheet, because after twenty passes you cannot count lines.

  6. 6

    Measure and add up

    For each stop, measure the one-way path on the sketch and convert it with the scale. Distance walked is the one-way distance times two times the number of round trips. Add the stops for the total. If you have a stopwatch or a video, note the time away from the bench as well.

  7. 7

    Change the layout and trace it again

    Move the things that cause the thickest bundles of lines, then follow the same person doing the same work for the same length of time. Put the two diagrams side by side with the totals written on them.

The spaghetti diagram template has the squared sheet, a stop list and a trip log, and its Excel workbook turns grid squares into feet, meters and walking time.

How to read a spaghetti diagram

Do not start with the total. Start with the shapes, because each shape points to a different fix.

What the patterns on a spaghetti diagram mean

  • A thick bundle to one stop

    What it tells you
    A frequent trip. Even a short one adds up when it happens every cycle.
    Usual fix
    Bring the thing to the point of use, or bring the work to the thing.
  • One long thin line

    What it tells you
    A rare trip to something far away.
    Usual fix
    Batch it, hand it to a material handler, or leave it alone if it is truly rare.
  • Lines that cross

    What it tells you
    Two flows using the same floor, or a person walking through a vehicle aisle.
    Usual fix
    Reorder the stations so the flow runs one way; move the stop to the near side of the aisle.
  • A loop that doubles back

    What it tells you
    Steps laid out in a different order from the order of the work.
    Usual fix
    Arrange the stops in process sequence, often as a U-shaped cell.
  • A star from one spot

    What it tells you
    One person fetching everything for themselves.
    Usual fix
    Kit the parts, or put a replenishment route behind the station.
  • Lines to a person, not a place

    What it tells you
    Walking to ask, to get a signature or to find someone.
    Usual fix
    Fix the information flow: a signal, a visual standard, authority to decide at the bench.
Read the shape before the total. Each shape has a different cause, so each one points to a different change.

Then count. Rank the stops by distance walked, which is trips times distance, not by how far away they are. The stop that is 10 ft away and visited every cycle nearly always beats the one 50 ft away that is visited twice an hour.

A worked example: one assembly bench, before and after

Illustrative example. One assembler builds 30 pump units an hour at a bench, a 120 second cycle. A CI engineer follows her for one hour of normal running with a floor sketch at one square to 2 ft, and tallies every trip away from the bench.

Trip log for one hour at the assembly bench, before (illustrative)
StopWhy she goesOne way (ft)Round tripsDistance (ft)
Parts rackOne housing for every unit20301,200
Finished goods palletCarries each finished unit over1630960
Shared torque driverHangs at the next bench1030600
Label printerA sheet of labels every 5 units406480
Scrap binCardboard from the housings304240
Supervisor's deskPaperwork sign-off302120
Total1023,600

Distance = one way x 2 x round trips. Parts rack: 20 x 2 x 30 = 1,200 ft.

She walks 3,600 ft in the hour, about two thirds of a mile, in 102 round trips. That is 120 ft for every unit she builds. Three stops she visits every cycle (rack, pallet and driver) account for 2,760 ft, 77% of the total. The printer is the farthest thing on the plan and comes fourth.

The team makes five changes in an afternoon. The housings go into a gravity flow rack at the back of the bench, loaded from the aisle side by the material handler. The pallet moves to 4 ft behind her. She gets her own torque driver on a balancer above the bench. A small label printer goes on a stand 6 ft to her left, and the scrap bin moves to the end of the bench. The supervisor's desk stays where it is.

Trip log for one hour at the assembly bench, after (illustrative)
StopWhat changedOne way (ft)Round tripsDistance (ft)
Parts rackFlow rack at the bench, within reach000
Finished goods palletMoved to 4 ft behind the operator430240
Shared torque driverOwn driver on a balancer000
Label printerSmall printer on a stand6672
Scrap binMoved to the end of the bench6448
Supervisor's deskNo change302120
Total42480

The housings still have to reach the bench. The material handler now brings them on a route that already passes it, and that walking belongs on the handler's diagram, not hers.

One hour at the assembly bench, traced before and after

Example numbers

Before

3,600 ft

102 round trips, 15 min of walking in the hour

Spaghetti diagram of the bench before the changeA 60 by 40 ft floor plan. Dense bundles of lines run from the operator to the parts rack 20 ft away, the pallet 16 ft away and the shared torque driver at the next bench 10 ft away. Thinner lines run to the label printer 40 ft away, the scrap bin 30 ft away and the supervisor's desk 30 ft away.Shared driverBenchNext benchParts rackPrinterPalletScrapDesk10 ft

After

480 ft

42 round trips, 2 min of walking in the hour

Spaghetti diagram of the bench after the changeThe same floor plan. A flow rack sits behind the bench, the pallet is 4 ft behind the operator, a printer is 6 ft to her left, the scrap bin is 6 ft to her right and she has her own torque driver. Short bundles reach the pallet, printer and bin, and two thin lines still run 30 ft to the desk. A dashed line behind the benches shows the material handler's route.Material handler's routeOwn driverBenchNext benchFlow rackPrinterPalletScrapDesk10 ft

Feet walked in the hour, by stop

  • Before
  • After
  • Parts rack

    Before: 20 ft × 2 × 30 = 1,200 ft
    After: No trips, 0 ft
  • Finished goods pallet

    Before: 16 ft × 2 × 30 = 960 ft
    After: 4 ft × 2 × 30 = 240 ft
  • Shared torque driver

    Before: 10 ft × 2 × 30 = 600 ft
    After: No trips, 0 ft
  • Label printer

    Before: 40 ft × 2 × 6 = 480 ft
    After: 6 ft × 2 × 6 = 72 ft
  • Scrap bin

    Before: 30 ft × 2 × 4 = 240 ft
    After: 6 ft × 2 × 4 = 48 ft
  • Supervisor's desk

    Before: 30 ft × 2 × 2 = 120 ft
    After: 30 ft × 2 × 2 = 120 ft

Before: 3,600 ft in 102 round trips. Lines fan out from the operator to the parts rack, the pallet, the next bench, the printer, the scrap bin and the desk, with the thickest bundles to the rack, the pallet and the shared driver. After: 480 ft in 42 round trips. The rack, pallet, printer and scrap bin sit within a few feet of the bench and only two thin lines still cross the floor to the desk.

The yellow dot is the operator and each line is one walk, out or back. Before, three thick bundles carry 77% of the distance. After, the same hour of work needs 480 ft: the things she used every cycle are now within a step or two.

Walking falls from 3,600 ft to 480 ft an hour, a cut of 3,120 ft or 87%, and from 120 ft a unit to 16 ft. Nothing about the product, the tools or the pace of work changed. Only where things are.

Turning distance into time and cost

Distance gets attention. Time is what the plant can use. The sum is short.

Walking time = distance walked / walking pace. Cost = walking time x labor rate x how often the period repeats.

Distance into time and cost for the assembly bench (illustrative)
StepWorkingResult
Walking time before3,600 ft / 4 ft a second900 s = 15 min an hour
Walking time after480 ft / 4 ft a second120 s = 2 min an hour
Time freed15 minus 213 min an hour
Walking per unit before120 ft / 4 ft a second30 s of a 120 s cycle
Walking per unit after16 ft / 4 ft a second4 s
Steps taken before and after3,600 / 2.5 ft and 480 / 2.5 ft1,440 and 192 an hour
Time freed per shift13 min x 7 running hours91 min
Time freed per year91 min x 240 shifts / 60364 hours
Labor value per year364 hours x $30 an hour$10,920

The 4 ft a second pace, the 2.5 ft step, the 7 running hours, the 240 shifts and the $30 loaded labor rate are assumptions for this example. Put your own in.

How much of the hour was walking

Example numbers

Before

15 min walking, 45 min at the bench

30 s of walking in each unit's cycle

After

2 min walking, 58 min at the bench

4 s of walking in each unit's cycle

Before, 15 minutes of the hour were spent walking and 45 at the bench. After, 2 minutes were spent walking and 58 at the bench.

Each bar is the 60 minutes that were watched, at a pace of 4 ft a second. The shaded part is walking: 15 minutes before, 2 after. The 13 minutes between them are only worth something if the plant uses them.

Where the walking pace comes from

Walking pace is a convention, not a law of nature, so say which one you used. Two reference points come from work measurement. Some U.S. time study texts treat walking at 3 miles an hour on level ground with empty hands as normal pace: 4.4 ft a second, or 1.34 m a second. The British Standard and ILO style rating scale ties its rating of 100 to a brisk 4 miles an hour, which is 5.9 ft a second. Check which one your own standards use before you copy a figure from here.

Both describe steady walking in a straight line. A trip on the shop floor is short, starts from standing, turns a corner, steps around a pallet and ends with a stop. So a planning pace of 4 ft a second (1.2 m a second, about 2.7 miles an hour) is the safer choice for a spaghetti diagram, and it is the pace our template uses. Work in a range of 4 to 4.5 ft a second for empty-handed walking, and go lower for carrying a load, pushing a cart or a crowded aisle.

Better still, measure it. Time ten real trips to one stop with a stopwatch or from video, divide the distance by the average time, and use that pace for the area. It takes five minutes and nobody can argue with it.

Be honest about the money

The $10,920 is the value of the time, not a saving you can bank. Thirteen minutes an hour only turns into money if something is done with it: more units from the same shift, a job combined with the next one, or overtime that stops. In the example, taking 26 seconds of walking out of each cycle could bring it from 120 to 94 seconds, about 38 units an hour against 30, but only if the customer wants the extra units and the stations either side can keep up. Compare the new cycle with takt time before promising anything, and read hard savings versus soft savings before you put a dollar figure in a report.

Some of the best reasons to cut walking are not in the sum at all: fewer people crossing a forklift aisle, less carrying, less fatigue at the end of the shift, and a short, even cycle that is easier to standardize.

What to change once you have the diagram

Start with the cheapest move that removes the thickest bundle, and work down. Most of the gain usually comes from the first two items on this list.

Six layout fixes, before and after

  • Before

    After

    Point-of-use storage

    The rack comes to the bench, so the every-cycle trip disappears.

  • Before

    After

    A second cheap tool

    Each bench gets its own driver. Nobody walks to borrow one.

  • Before

    After

    Kitting

    Many fetching trips become one hand-off of a complete kit.

  • Before

    After

    A water-spider route

    One handler on a timed loop replaces every operator's own trips.

  • Before

    After

    Stations in process order

    The path stops doubling back when the layout follows the work.

  • Before

    After

    A U-shaped cell

    The last step ends beside the first, so the walk back is a step.

Each pair is the same piece of floor. The yellow dot is a person, lines are walks, and pale yellow marks what moved or was added. A dashed line is a material handler's route.
  • Point-of-use storage. Put parts, tools, labels and consumables where they are used, within arm's reach of the task and, where you can, in the golden zone between waist and shoulder height, close to the body. Flow racks loaded from behind, shadow boards at the bench and tools on balancers remove the every-cycle trips. This is the set-in-order step of 5S with a number attached.
  • Duplicate cheap things. Shared tools cause a surprising share of walking. A second torque driver costs less than the trips to borrow the first.
  • Kitting. If a job needs many different parts, have them delivered as one kit per unit or per batch, so the operator's star of fetching trips collapses into a single hand-off.
  • Water-spider routes. Give replenishment to a material handler on a fixed, timed loop that serves many stations. The walking does not vanish. It moves to a person whose job it is, on a route designed for it, and it is shared across every stop on the loop.
  • Layout in process sequence. When the diagram doubles back, put the stations in the order of the work, close together, with the flow running one way.
  • Cell design. For a family of products, bring the machines and benches into a U-shaped cell so the last step ends next to the first and one person can run several steps with a short loop. The standard work chart for the cell is, in effect, a planned spaghetti diagram with one clean loop.
  • Fix the information trips. Walks to find a supervisor, a drawing or a signature are solved by a signal, a visual standard or giving the decision to the person at the bench, not by moving furniture.

Try the layout before you bolt anything down. Move things on wheels or mock them up with tape and cardboard, run the job for an hour, trace it, and adjust. The second diagram always shows something the plan missed.

Spaghetti diagram vs value stream map vs flow process chart

These three get confused because each one follows something through a process. They work at different heights and answer different questions.

Spaghetti diagram, value stream map and flow process chart compared

  • Spaghetti diagram

    Question it answers
    Where does this person or part physically go, and how far?
    What it looks like
    A floor plan with the real path traced on it
    Scale
    One cell, area or department
    Measured in
    Feet or meters, trips, crossings
    Shows well
    Motion and transport waste, bad layout, crossing flows
    Cannot show
    What is done at each stop or how long it takes
    Time to make
    An hour on the floor
  • Value stream map

    Question it answers
    Where does the time go between order and delivery?
    What it looks like
    Process boxes in a row with inventory, information flow and a timeline
    Scale
    A whole product family, door to door
    Measured in
    Lead time, process time, inventory
    Shows well
    Waiting, overproduction, where to focus improvement
    Cannot show
    Walking inside a cell
    Time to make
    A day or more with a team
  • Flow process chart

    Question it answers
    What happens to this part or person, step by step?
    What it looks like
    A list of steps, each tagged with one of five symbols
    Scale
    One part or one operator through one process
    Measured in
    Time and distance for each step, counts by type of step
    Shows well
    Delays, storage and inspections hidden between operations
    Cannot show
    The physical layout
    Time to make
    An hour or two with the process in front of you
Three charts, three heights. The spaghetti diagram is the only one drawn on the floor plan, which is why it is the one to pick when the complaint is walking. The five flow process chart symbols are the ASME set: operation, transport, inspection, delay and storage.

They work best together. A value stream map tells you which part of the plant deserves attention. A spaghetti diagram of that area shows the layout problem. A flow process chart or a time study then says what each step is and how long it takes. If you can only do one today and the complaint is about walking, draw the spaghetti diagram.

Drawing it from video

Standing with a clipboard works. Video works better for three reasons: you can replay a trip you missed, you get the time of every trip for free, and the operator is watched by a camera on a tripod, which most people find easier than an engineer one step behind them.

  • Mount the camera high and wide, so the whole area and every stop are in frame. A phone on a shelf or a clamp is enough. If one view cannot cover it, follow the person with a second phone.
  • Record a typical hour, or several full cycles. Tell the team what the footage is for, who will see it and when it will be deleted.
  • Play it back at two or four times speed with the floor sketch in front of you, and trace each trip as you watch. Pause to tally.
  • Read the timestamps when the person leaves the bench and when they return. That gives the real time away for each trip, including the search for the tool and the wait at the printer, which a distance sum never sees.
  • Divide distance by time for a handful of trips and you have your own walking pace for the area.

The same recording is the raw material for a time study. LeanSuite's time and motion study takes a phone video of a station, times every element and splits the cycle into value-added, semi-value-added and non-value-added time, so walking shows up as seconds in each cycle. It does not draw the spaghetti diagram for you. The two belong together: the time study says how much of the cycle is walking, and the diagram says where the walking goes.

Common mistakes

  • Drawing it in a meeting room. People remember the route they are supposed to take and forget the short trips and the double-backs. Trace it live or from video.
  • Straight lines between stops. People walk around racks and along aisles. Draw the path that was walked and measure that.
  • No scale. Without one the diagram is a picture and the distances are guesses. Measure one wall.
  • Too short a watch. Ten minutes misses the printer run, the scrap bin and the paperwork. Cover a full cycle of everything that repeats, which usually means an hour.
  • Following a different person or product afterwards. Compare the same work over the same length of time, or the before and after proves nothing.
  • Counting distance and ignoring crossings. A 12 ft walk across a forklift aisle can matter more than a 60 ft walk along a marked walkway.
  • Optimizing one person's walking by handing it to someone else without counting it. If the material handler now makes the trips, trace the handler too.
  • Treating the diagram as a verdict on the walker. The lines come from the layout and the process. Say that at the start and act like it at the end.
  • Stopping at the picture. A spaghetti diagram on the wall changes nothing until something on the floor has moved and the job has been traced again.

Tools and templates

FAQ

Questions about spaghetti diagram

  1. A spaghetti diagram is a floor plan with the actual path of one person, part or document traced on it as a continuous line. Because every trip is drawn, the page ends up looking like a plate of spaghetti. It shows how far the subject travels, which stops cause the travel, and where paths cross or double back.

  2. It is used to find and measure wasted walking and transport in a work area. Teams draw one before a layout change to see which stops cause the most travel, and again afterwards to prove the difference in feet and minutes. It also shows crossings with vehicle aisles and flows that run against each other.

  3. Sketch the area to scale and letter every stop. Follow one person or part for a full cycle or an hour and draw each move along the path actually taken, without lifting the pen. Tally the trips to each stop, multiply one-way distance by two and by the number of trips, and add the stops for the total.

  4. Divide the distance walked by a walking pace. A planning pace of 4 ft a second (about 1.2 m a second) allows for starts, stops and turns on a shop floor. So 3,600 ft an hour is 900 seconds, or 15 minutes of walking in every hour. For a better figure, time ten real trips and use your own pace.

  5. A spaghetti diagram shows physical movement in one area: the real path on a floor plan, measured in feet and trips. A value stream map shows a whole product family from order to delivery as process boxes with inventory, information flow and lead time. The map tells you where to look, and the spaghetti diagram shows the layout problem once you are there.

  6. Both use it. It comes from lean practice, where it exposes motion and transport waste and supports cell design. Six Sigma teams use it in the Measure and Analyze phases of a project to quantify travel in the current process and in the Improve phase to compare layouts.

  7. You can log one in Excel even if you draw it on paper. Give each stop a grid position, enter the trips, and let the sheet count the squares between stops and multiply by the scale to get distance and walking time. The drawing itself is quicker by hand on squared paper or over a printed layout.

Or browse the topics, the full library and the lean glossary.

Rather see it on your own problem?

Bring the problem you are stuck on, and we will show you on a call how LeanSuite handles it.

Pass it on

We want LeanSuite to be the best place on the internet for lean help. If this was useful, send it to someone on your team or in your network who needs it.