Metal · Cutting
Linear cutting optimizer
What it does and how it is worked out
Paste the lengths you need and in seconds you know how many bars to buy and how to cut them: which pieces go on each bar and which offcuts to keep, with the saw kerf and end trim. The example below, 54 pieces for a steel frame from 6 m bars, needs 10 bars: the theoretical minimum. Cutting one length at a time would take 13.
- bars
- —
- used
- —%
- waste
- —%
Everything runs in your browser; your list is kept in this browser only, so it is still here next time.
Working out the cut is free and stays free. The Workshop plan prints a label for every piece, keeps fifty saved jobs and your stock library, for €19 a month, VAT included. The Workshop plan → · or €29 paid once
How the plan is worked out
Each bar loses the trim at both ends; what is left is the usable length. Every cut turns one kerf of material into dust, so a bar holding n pieces needs room for the pieces and the kerfs between them.
Two complete plans are built and the better one is kept. The first fills bar after bar with the combination of pieces that leaves the least behind, found by an exact search over what is still to cut. The second is best-fit decreasing: longest pieces first, each into the bar it fills best. On very long lists the first one is used to repack the bars the second left emptiest. Better means less new material bought, then fewer bars, then the longest offcut to keep.
It is a heuristic, not a proof of the optimum — which is why the lower bound sits next to the answer. Checked against an exhaustive search on 784 small jobs, it found the true minimum in 783.
Worked example you can check
The example list: 54 pieces, 6000 mm bars, 3 mm kerf, 10 mm trim at each end, offcuts from 500 mm kept.
| Bars | Cuts, mm | Offcut, mm |
|---|---|---|
| 1 | 850 + 600 + 600 + 600 + 600 + 450 + 450 + 450 + 450 + 450 + 450 | 0 |
| 1 | 1200 + 850 + 600 + 600 + 450 + 450 + 450 + 450 + 450 + 450 | 0 |
| 1 | 850 + 850 + 850 + 850 + 850 + 850 + 850 | 9 |
| 1 | 1650 + 1650 + 850 + 850 + 450 + 450 | 62 |
| 1 | 1650 + 1650 + 1650 + 850 | 168 |
| 1 | 1650 + 1650 + 1200 + 1200 | 268 |
| 1 | 1650 + 1200 + 1200 + 1200 | 718 · kept |
| 1 | 1200 + 1200 + 1200 + 1200 | 1168 · kept |
| 2 | 2400 + 2400 | 1174 · kept |
10 bars, which is the lower bound, so no plan can use fewer. Waste 1.4 %, and 4 offcuts totalling 4234 mm go back on the rack. Cut one length at a time and the same list takes 13 bars.
What this page does not do
- Mitres in one plane. The angle of each end goes in «Mitres and welding», the lengths on the long point; a compound cut (mitre and bevel at once) or a piece whose two ends lean the same way is not worked out.
- One profile at a time. Different sections, alloys or colours are different jobs.
- No machine limits. It does not know the shortest piece your saw can clamp, or a pusher's reach.
- The kerf is what you type. Measure your blade; a worn or offset blade cuts wider.
See it in use, in 35 seconds
One click on an example list: a wardrobe, its sheets, its yield and the cutting plan; then a chest of drawers. A recording of the tool as it is, no voice.
Questions people ask
- How do you calculate how many bars you need?
- Add up every piece plus one saw kerf each, and divide by the usable bar length plus one kerf: that is the least number of bars any plan can use. For the example on this page, 54 pieces from 6000 mm bars with a 3 mm kerf and 10 mm trimmed from each end, that minimum is 10 bars, and the optimizer reaches it. Real plans can need one or two more, because pieces do not always combine to fill a bar.
- What is kerf in a cutting optimizer?
- The width of material the blade turns into dust with every cut. Each piece costs its own length plus one kerf, so on a long list it adds up to whole bars. Measure your own blade: a band saw removes around a millimetre, a circular saw several.
- Can I use offcuts I already have?
- Yes. List them under offcuts already on the rack, with how many of each. They are used when they save a new bar or material (one that saves nothing stays on the rack), and the plan shows which pieces come from them.
- Can I paste a linear cut list from Excel?
- Yes. Copy the reference, length and quantity columns and paste them into the list, one piece per line. A blank quantity is 1, and a header row is skipped. Nothing is uploaded: the list stays in your browser.