Linear cut (1D)

Bars, trims, pipes: how many and how to cut. Calculate in your browser. Results are rounded up to whole packs, the way you buy them.

Linear cut (1D)

Bars, trims, pipes: how many and how to cut.

How we calculate it

What you enter

  • Stock length (mm)
  • Saw kerf (mm)
  • Pieces: length×qty (mm)

Formula

1. Expand the list into individual pieces and sort them longest first.
2. Each piece goes into the first bar it fits in:
   used + (bar not empty → Saw kerf) + piece ≤ Stock length
3. When it fits in none of them, a new bar is opened.
actual waste = (Stock length × bars − Σ pieces) ÷ (Stock length × bars) × 100%

Example

The default values from the form, run through the same engine:

To buy
5 bars
Waste8.0%
Bar1: 2400 + 2400 + 900 mm
Bar2: 2400 + 2400 + 900 mm
Bar3: 1800 + 1800 + 1800 mm
Bar4: 1800 + 1800 + 1800 mm
Bar5: 900 + 900 + 900 + 900 + 900 + 900 mm

What to watch out for

The saw kerf is subtracted at every cut after the first one in a bar, not at the first. First-fit decreasing gives a good, but not always optimal, cutting plan.

The Materio app for Android uses the same formula. The site's engine is a 1:1 port of the app's code.

The same formula in the app Materio for Android uses the same engine offline — with the material catalogue and results saved into a project. Download