Cutting Stock Calculator

Plan how to cut stock bars or sheets into the pieces you need while minimizing material waste, with kerf accounted for in the layout. Supports 1D bar cutting and 2D sheet layouts with piece rotation, free and instantly in your browser.

Pieces needed

Result

3 bars needed

Waste: 2,882 (16%)

Cutting pattern

Bar 1: 2500 + 2500 (waste 997)

Bar 2: 2500 + 1800 + 1000 (waste 694)

Bar 3: 1800 + 1000 + 1000 + 1000 (waste 1,191)

Usage examples

Calculating how many stock bars a job needs

When cutting several different lengths from 6m square tube stock, instantly see how many bars you'll need and the exact cutting pattern, via the First-Fit-Decreasing method.

Planning a sheet material cutting layout

When cutting multiple part sizes from sheet stock like plywood or MDF, plan ahead how many sheets you'll need using a shelf-based layout.

Getting a more realistic result by accounting for kerf

Real cutting consumes material as the blade passes through — enter your kerf width to get a result that accounts for this material loss.

Cutting aluminum extrusion for a batch of window frames

From 5800mm aluminum extrusion stock with a 2mm saw kerf, enter pieces of 1200mm x 6, 900mm x 6, and 650mm x 12 to see how many lengths of stock the job requires and the exact cut list per bar.

Laying out melamine shelving panels from a 2440 x 1220mm sheet

In 2D mode, enter shelf panels of 800 x 300mm (qty 6) and 400 x 300mm (qty 8) with a 3mm kerf to see how many sheets are needed and which panels share a row on each sheet.

Comparing waste percentage across two different stock lengths

Run the same set of required piece lengths against both a 6m and a 6.5m stock bar to see which standard length your supplier stocks leaves a lower waste percentage for your specific cut list.

Frequently asked questions

Does this guarantee the absolute minimum number of pieces?

No. First-Fit-Decreasing (1D) and shelf packing (2D) are well-known approximation heuristics for the cutting stock problem — they give good, fast, practical results, but aren't mathematically guaranteed to be optimal. A truly optimal solution requires far more complex linear programming methods.

Why does kerf matter?

Real cutting with a saw or laser removes material equal to the blade's width, which disappears. Ignoring this can make a plan look like it fits on paper but come up short in practice, so each cut after the first consumes the kerf width too.

Does 2D mode consider rotating pieces?

No. The current 2D mode packs pieces exactly as entered, sorted by height descending, into shelves. It doesn't try rotating a piece 90° to optimize the layout further.

Is what I enter sent to a server?

No. All calculation happens entirely in your browser, and what you enter is never sent to a server.

What's the difference between 1D and 2D mode, and which should I use?

Use 1D for linear stock like bars, tubes, pipe, or molding, where only length matters. Use 2D for flat sheet goods like plywood, MDF, sheet metal, or glass, where you need to fit rectangular pieces across both width and height.

Why does the order I enter pieces not seem to matter?

Both algorithms sort your pieces internally before packing — longest (1D) or tallest (2D) first — regardless of the order you type them in. This is what makes First-Fit-Decreasing work well: placing the largest pieces first tends to leave more usable space for the smaller ones that follow.

What if a required piece is larger than my stock length or sheet size?

The calculator can't produce a plan in that case, since no cutting pattern will fit, and shows an invalid-input message. Double-check your piece dimensions against your stock size — a common cause is mixing up units (e.g. entering inches when stock length is in mm).