SyntaxFlow

Metal · Cutting

Linear cutting optimizer

Type or paste your cuts and get the plan with the least waste. In your browser, no sign-up.
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
—%
Your list
Straight out of a spreadsheet, or typed with spaces. A blank quantity is 1; a header row is skipped.
Units
Bars
The bars
Separated by spaces, e.g. 6500 7000. Each bar takes whichever length it uses best.
One per line: length and how many. They are used when they save a new bar or material.
Saw
The saw
Shorter ends count as waste.
—
Bars to buy
—
Waste
— %
Offcuts to keep
—
Lower bound
—

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

Help: step-by-step guides

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.

usable length U = bar − 2 × trim n pieces fit when Σ length + (n − 1) × kerf ≤ U lower bound bars ≥ Σ (length + kerf) / (U + kerf)

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.

BarsCuts, mmOffcut, mm
1850 + 600 + 600 + 600 + 600 + 450 + 450 + 450 + 450 + 450 + 4500
11200 + 850 + 600 + 600 + 450 + 450 + 450 + 450 + 450 + 4500
1850 + 850 + 850 + 850 + 850 + 850 + 8509
11650 + 1650 + 850 + 850 + 450 + 45062
11650 + 1650 + 1650 + 850168
11650 + 1650 + 1200 + 1200268
11650 + 1200 + 1200 + 1200718 · kept
11200 + 1200 + 1200 + 12001168 · kept
22400 + 24001174 · 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

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.