1D NESTING

1D Nesting Optimizer for Bars, Tubes, Pipe and Extrusions

Stock lengths, kerf and the cut list in; the fewest bars, the cheapest mix, stop marks and reusable offcuts out. Runs in your browser.

Examples
Bars to buy7 bars
Material yield96.4%
Purchase cost$630.00
Saw cuts · kerf loss42 cuts · 134.4 mm
Offcuts ≥ threshold2 reusable
Lower bound: 7 barsOptimalExact search37610 mm of parts from 39000 mm of stock42 of 42 pieces placed

Single length6000 mm only: 7 bars · 89.5% · $672.00vs this mix: 7 bars · 96.4% · $630.00

PieceKerfReusable offcutScrap, trim, miter wedgeStop mark

4040 T-slot aluminum7 bought · 0 from inventory · 96.4%

Bar 16000 mm99.3% yielddrop 10.8 mm · scrap
UP-1 · 1730 mm · 90°/90°LR-1 · 1190 mm · 90°/90°LR-2 · 1190 mm · 90°/90°SR-1 · 620 mm · 90°/90°SR-2 · 620 mm · 90°/90°CB-1 · 610 mm · 90°/90°050010001500200025003000350040004500500055006000 mmUP-1LR-1LR-2SR-1SR-2CB-1

Stops 1740 · 2933.2 · 4126.4 · 4749.6 · 5372.8 · 5986 mm

Bar 26000 mm99.3% yielddrop 10.8 mm · scrap
UP-2 · 1730 mm · 90°/90°LR-3 · 1190 mm · 90°/90°LR-4 · 1190 mm · 90°/90°SR-3 · 620 mm · 90°/90°SR-4 · 620 mm · 90°/90°CB-2 · 610 mm · 90°/90°050010001500200025003000350040004500500055006000 mmUP-2LR-3LR-4SR-3SR-4CB-2

Stops 1740 · 2933.2 · 4126.4 · 4749.6 · 5372.8 · 5986 mm

Bar 36000 mm99.0% yielddrop 30.8 mm · scrap
UP-3 · 1730 mm · 90°/90°UP-4 · 1730 mm · 90°/90°SR-5 · 620 mm · 90°/90°SR-6 · 620 mm · 90°/90°SR-7 · 620 mm · 90°/90°SR-8 · 620 mm · 90°/90°050010001500200025003000350040004500500055006000 mmUP-3UP-4SR-5SR-6SR-7SR-8

Stops 1740 · 3473.2 · 4096.4 · 4719.6 · 5342.8 · 5966 mm

Bar 46000 mm98.8% yielddrop 40.8 mm · scrap
UP-5 · 1730 mm · 90°/90°UP-6 · 1730 mm · 90°/90°SR-9 · 620 mm · 90°/90°SR-10 · 620 mm · 90°/90°SR-11 · 620 mm · 90°/90°CB-3 · 610 mm · 90°/90°050010001500200025003000350040004500500055006000 mmUP-5UP-6SR-9SR-10SR-11CB-3

Stops 1740 · 3473.2 · 4096.4 · 4719.6 · 5342.8 · 5956 mm

Bar 56000 mm91.5% yielddrop 471.2 mm · reusable
CB-4 · 610 mm · 90°/90°CB-5 · 610 mm · 90°/90°CB-6 · 610 mm · 90°/90°CB-7 · 610 mm · 90°/90°CB-8 · 610 mm · 90°/90°CB-9 · 610 mm · 90°/90°CB-10 · 610 mm · 90°/90°CB-11 · 610 mm · 90°/90°CB-12 · 610 mm · 90°/90°050010001500200025003000350040004500500055006000 mmCB-4CB-5CB-6CB-7CB-8CB-9CB-10CB-11CB-12471.2 mm

Stops 620 · 1233.2 · 1846.4 · 2459.6 · 3072.8 · 3686 · 4299.2 · 4912.4 · 5525.6 mm

Bar 66000 mm89.3% yielddrop 610.8 mm · reusable
UP-7 · 1730 mm · 90°/90°LR-5 · 1190 mm · 90°/90°CB-13 · 610 mm · 90°/90°CB-14 · 610 mm · 90°/90°CB-15 · 610 mm · 90°/90°CB-16 · 610 mm · 90°/90°050010001500200025003000350040004500500055006000 mmUP-7LR-5CB-13CB-14CB-15CB-16610.8 mm

Stops 1740 · 2933.2 · 3546.4 · 4159.6 · 4772.8 · 5386 mm

Bar 73000 mm99.0% yielddrop 10.4 mm · scrap
UP-8 · 1730 mm · 90°/90°SR-12 · 620 mm · 90°/90°SR-13 · 620 mm · 90°/90°0250500750100012501500175020002250250027503000 mmUP-8SR-12SR-13

Stops 1740 · 2363.2 · 2986.4 mm

Buy list

  • 6 × 6000 mm · $576.00
  • 1 × 3000 mm · $54.00

Drops (offcuts)

  • Bar 1 · 10.8 mm · scrap
  • Bar 2 · 10.8 mm · scrap
  • Bar 3 · 30.8 mm · scrap
  • Bar 4 · 40.8 mm · scrap
  • Bar 5 · 471.2 mm · reusable
  • Bar 6 · 610.8 mm · reusable
  • Bar 7 · 10.4 mm · scrap

Free proof files

Check it, share a proof

Shop-floor files PRO7 days · $4.99

Examples

Finished cut plans to start from

Each job is nested by the same engine as the planner. Load one, then change a length or a price and watch the plan re-nest.

80/20 T-slot machine frame (4040)

42 parts on 6000 + 3000 mm bars, kerf 3.2 mm. Buy 6 × 6000 mm + 1 × 3000 mm.

Bars
7
Yield
96.4%
Cost
$630.00
Cuts
42

Aluminum window & picture frame 45° miter job

20 mitered pieces, W 60 mm, flip ON. Buy 5 × 6000 mm.

Bars
5
Yield
96.0%
Cost
$290.00
Cuts
25

ASTM A500 2" square tube railing

36 parts in fractions on 20 ft + 24 ft. Buy 8 × 24 ft + 1 × 20 ft.

Bars
9
Yield
97.6%
Cost
$1,017.60
Cuts
36

Concrete rebar & plumbing pipe schedule

110 cuts, 3 material groups. Buy #4 Rebar · 19 × 20 ft + #5 Rebar · 13 × 20 ft + 3/4" Copper Type L · 6 × 20 ft + 3/4" Copper Type L · 1 × 10 ft.

Bars
39
Yield
94.1%
Cost
$961.50
Cuts
110

How to use it

Plan a cut list in five steps

  1. Load an example or start a new job Click a chip such as 80/20 frame to see a finished plan, or press New job and pick mm, cm, m, inches or feet-inches.
  2. Enter the stock you can buy One row per stock length with an optional quantity and price per bar. Two lengths of the same material let the planner buy the cheapest mix.
  3. Type, paste or import the cut list Part ID, long-point length, quantity and both end angles. Paste rows straight from Excel or drop a CSV, TSV or job JSON up to 5 MB.
  4. Set the saw and the rules Kerf, end trims, the length at which a drop counts as reusable, profile width for miters, the flip switch and the goal: lowest cost, fewest bars or least stock.
  5. Check bar 1, then cut or export Measure the first bar against its stop marks. Download the free PNG proof and TXT summary, or the Pro traveler PDF, labels, DXF and CSV pack.

How it decides

The 1D cutting optimizer: stock, kerf, trim and the goal

A 1D cutting optimizer answers two questions for straight stock: how many bars to buy, and which pieces come out of each bar. It needs four kinds of input, and every one of them changes the answer, so they sit in the left rail in the order a sawyer thinks about them.

Stock
Each length you can buy, with an optional quantity cap and price per bar. Material names keep T-slot out of window profile.
Kerf
The slot the blade removes, charged once per cut. On the 80/20 frame, 42 cuts at 3.2 mm eat 134.4 mm.
Trims
Squaring cuts at both bar ends. Mill ends are rarely square, so 10 mm per end is a common shop habit.
Goal
Lowest purchase cost, fewest bars or least stock length. With one price per metre they agree; with mixed prices they can differ.

The engine first tries an exact search over whole-bar patterns, which proves the plan cannot be beaten. Very large lists fall back to first-fit decreasing and the summary says Best found instead of Optimal. The bar and tube cutting optimization software guide walks through both methods on a real job.

Excel and CSV

Paste a cut list from Excel or import a CSV

Most cut lists already live in a spreadsheet. Select the rows in Excel or Google Sheets, copy, open Paste from Excel and press Replace cut list. The importer detects tabs, commas or semicolons and a header row, then reports exactly what it read, for example 3 rows (16 parts), before anything is nested.

A file works the same way: drop a CSV, TSV, TXT or job JSON of up to 5 MB on the import card. Headers such as Length, Cut length, Qty, Pcs or Mark are recognised; a file with no length column is refused with a message and your current list stays as it was. The 1D stock cutting optimizer for Excel guide has a copy-ready template.

Miter flip nesting

Two window jobs, one switch: flip OFF vs flip ON

Flip OFF: 6 bars · 40 cuts · 80.0%

Bar 1 6000 mm · 4 pieces · 91.0% · drop 275.9 mm scrap

W2-1 · 1500 mm · 45°/45°W2-2 · 1500 mm · 45°/45°W2-3 · 1500 mm · 45°/45°W1-J-1 · 1200 mm · 45°/45°05001000150020002500300035004000450050006000 mmW2-1W2-2W2-3W1-J-1

Bar 2 6000 mm · 4 pieces · 91.0% · drop 275.9 mm scrap

W2-4 · 1500 mm · 45°/45°W2-5 · 1500 mm · 45°/45°W2-6 · 1500 mm · 45°/45°W1-J-2 · 1200 mm · 45°/45°05001000150020002500300035004000450050006000 mmW2-4W2-5W2-6W1-J-2

Flip ON: 5 bars · 25 cuts · 96.0%

Bar 1 6000 mm · 4 pieces · 96.0% · drop 155.9 mm scrap

W2-1 · 1500 mm · 45°/45°W2-2 · 1500 mm · -45°/-45° · turned overW2-3 · 1500 mm · 45°/45°W2-4 · 1500 mm · -45°/-45° · turned over05001000150020002500300035004000450050006000 mmW2-1W2-2W2-3W2-4

Bar 2 6000 mm · 4 pieces · 96.0% · drop 155.9 mm scrap

W2-5 · 1500 mm · 45°/45°W2-6 · 1500 mm · -45°/-45° · turned overW2-7 · 1500 mm · 45°/45°W2-8 · 1500 mm · -45°/-45° · turned over05001000150020002500300035004000450050006000 mmW2-5W2-6W2-7W2-8
Window preset, 20 pieces of 6063 profile 60 mm wide with 45° ends on 6000 mm bars. First two bars of each plan, drawn by the engine.

With both ends at 45°, two pieces laid side by side leave a 60 mm triangle of scrap between them and need two saw cuts. Turn every second piece over and the ends become parallel: one cut makes both ends. That takes the window job from 6 bars and 40 cuts to 5 bars and 25 cuts.

Long-point lengths, along-axis kerf for 30°, 45° and 60° ends and when to leave the switch off are covered on the miter cut length optimizer page.

On the saw

Stop marks and offcut grading

Every bar on the canvas carries its stop marks: the tape reading from the bar's left end to the right long point of each piece, kerf and trim included. Set the stop once per reading instead of adding piece lengths, so small errors never pile up along a 6 m bar.

80/20 frameStop marks from the left end (mm)Drop
Bar 1 · 6000 mm1740 · 2933.2 · 4126.4 · 4749.6 · 5372.8 · 598610.8 mm scrap
Bar 2 · 6000 mm1740 · 2933.2 · 4126.4 · 4749.6 · 5372.8 · 598610.8 mm scrap
Bar 3 · 6000 mm1740 · 3473.2 · 4096.4 · 4719.6 · 5342.8 · 596630.8 mm scrap
Computed by the engine: kerf 3.2 mm, 10 mm trim at each end, reusable if ≥ 300 mm.

Drops are graded as they are drawn. Anything at or above the reusable threshold is an emerald remnant you can rack and enter later as offcut inventory; anything shorter is hatched scrap. The frame job leaves 2 reusable drops, and the linear material yield calculator shows how the threshold changes the numbers.

Free vs Pro

What is free and what the Pro pack adds

OutputFreePro pack
Nesting, canvas, yield, cost, stop marksEverything on screen, unlimited jobsSame plan
ImagePNG proof up to 1000 px, PROOF ONLY watermark1:1 SVG saw layout
Cut list fileTXT summary of the first 5 bars3 CSV files: BOM, saw cut schedule, remnant ledger
Shop paperwork—Shop Traveler PDF with stop positions per bar
Labels—Avery 5160 or L7160, Code-128 on every piece and offcut
CAD—R12 DXF on 6 layers (outline, parts, kerf, miters, remnants, dimensions)

Prices: a 7-day pass is $4.99 (was $9.99), monthly is $7.99, lifetime is $19.99. Each one unlocks every export for any job. The unlock panel opens right next to the export buttons.

Where it fits

Who uses a 1D nesting optimizer

One engine, six pages with presets for the material you cut.

Window, door and curtain-wall shops

Profiles on 6000 and 6500 mm bars with carbide-saw kerf, end trims and mitered corners.

Aluminum profile calculator

Frame builders who cut 45° corners

Picture frames, window sashes and display frames where flipping pieces shares one cut per joint.

Miter cut length optimizer

Plumbers, pipefitters and electricians

Copper, Sch 40 pipe and EMT on 10, 20 and 21 ft lengths; enter kerf 0 for a wheel cutter.

Pipe and extrusion optimizer

Welding and railing shops in feet and inches

Square tube and flat bar in fractions, with tape-measure stop marks for every bar.

Linear cut list calculator

Reference

Standard stock lengths

What suppliers usually stock. Always enter the length your supplier actually delivers — mill tolerance and cut-to-length service vary.

MaterialCommon stock lengthsNotesSource
Structural steel square / rectangular tube (HSS), ASTM A50020 ft · 24 ft (mill: 40 ft · 48 ft)Service centers cut mill lengths in half; 24 ft often wins on long railsAtlas Tube HSS product guide, standard lengths
Aluminum extrusion (6063 / 6061, incl. T-slot)6000 mm (cut-to-half 3000 mm)Window and curtain-wall systems also ship 6500 mm and 7000 mm bars on orderEuropean stockholder bar length; system catalogues
Rebar #3–#8, ASTM A61520 ft · 40 ft · 60 ft#3 = 3/8" … #8 = 1" nominal; each size is its own groupCRSI Manual of Standard Practice
Copper tube Type K / L / M, ASTM B8810 ft · 20 ft (drawn, straight)Annealed coils for K and L; straight lengths for MCDA Copper Tube Handbook
Steel pipe Sch 40, ASTM A5321 ft (single random 16–22 ft)Enter 252 in, or the measured length of each stick as stock rowsASTM A53/A53M, lengths
EMT conduit, ANSI C80.3 / UL 79710 ftKerf 0 with a wheel cutter, 1/16" with a band sawANSI C80.3
Dimensional lumber (2x4, 2x6)8 · 10 · 12 · 14 · 16 ft; precut studs 92 5/8"Sold in 2 ft steps; price per foot rises with lengthAmerican Softwood Lumber Standard PS 20

Reference

Blade kerf by saw

Typical kerf — check your blade. Measure a test cut with calipers once and type that number; it is worth more than any table.

Saw / processTypical kerfEnterNote
Band saw, bi-metal blade1.2–2.0 mm1.6 mm · 1/16"Typical — check your blade; set widens with tooth size
Cold saw, HSS or TCT blade2.0–2.8 mm2.5 mmTypical — check your blade; blade thickness printed on the plate
Carbide circular saw for aluminum (10–14")3.0–4.0 mm3.2 mm · 1/8"Typical — check your blade; window and T-slot shops
Abrasive chop saw (14" wheel)2.8–3.2 mm1/8"Typical — check your wheel; kerf shrinks slightly as it wears
Wood miter saw blade2.4–3.2 mm3/32" thin · 1/8" fullTypical — check your blade; frames and lumber
Plasma tube cutting1.5–4.8 mmby amperageTypical — check the cut chart for your amperage
Fiber laser tube cutting0.1–0.4 mm0.2 mmTypical — check your nozzle and thickness
Tubing cutter (wheel)00Removes no material; allow a deburr trim instead

Formula

45° complementary flip: what one shared cut saves

Long-point lengths, angled ends and the saw kerf, worked through on the window-frame example with the engine's own numbers.

ΔL = W · tan 45° = W  (saved per shared junction)
d = W · cot a  (end offset) · kerf along the bar = k / sin a

A 45° end on a profile 60 mm wide reaches 60 mm further along the fence face than along the far face. Lay two frame pieces side by side as cut and the gap between them is a 60 mm triangle of scrap plus two saw cuts. Turn every second piece over and the ends become parallel: one cut makes both ends, and the triangle disappears.

Window job, W 60 mm, kerf 2.5 mmFlip OFFFlip ON
Bars of 6000 mm65
Saw cuts4025
Shared junctions × W015 × 60 = 900 mm
Material yield80.0%96.0%
Computed by the same engine as the planner; 20 pieces of 1800/1200/1500 mm, 45°/45° ends.

Only flip a profile that is the same on both faces: square tube, flat bar, symmetric flat strip. Thermally broken window sections, single-side painted bars and profiles with a glazing bead groove must keep their face up — leave the switch off for those jobs.

FAQ

Questions from the saw bench

What kerf value should I enter?

Enter the width your blade actually removes. Typical values: 1.6 mm (1/16") for a bi-metal band saw, 2.5 mm for a cold saw, 3.2 mm (1/8") for a carbide aluminum blade, 0 for a tubing cutter. Cut a scrap, measure the slot with calipers and type that number; the planner adds one kerf per cut.

Is the length the long point or the short point?

Type the long point: the tip-to-tip length along the fence face. For a 45° end on a profile W wide the short point is W shorter per end and the centerline sits halfway. The planner works out the centerline and the overlap between neighbours from W and the angle.

What is complementary flip nesting, and when should I not flip?

Flipping turns every second angled piece over so two neighbours share one saw cut and no triangle of scrap falls out. On the window example it saves 1 of 6 bars and 15 cuts. Leave it off for thermally broken, single-side painted or asymmetric window profiles that must stay face up.

How is yield calculated?

Yield is the total centerline length of all parts divided by the total stock length used, as a percentage. The 80/20 frame places 37,610 mm of parts in 39,000 mm of bars, so yield is 96.4%. Kerf, trims, miter wedges and every drop, reusable or not, count as not yielded.

What does the lower bound mean?

It is the fewest bars any plan could need: the total of part lengths plus one kerf each, divided by the usable length of the longest stock, rounded up. When the plan uses that many bars the summary shows Optimal; otherwise it shows how many bars above the bound it is.

When is an offcut reusable?

Any drop at or above the Reusable if ≥ length is drawn as an emerald remnant and listed with its bar number; shorter drops are grey scrap. Shops commonly use 300 mm for aluminum and 12 in for steel. The Pro pack prints a barcode label for every reusable offcut.

Can I mix stock lengths and prices?

Yes. Add one stock row per length with its price per bar. With the goal set to lowest purchase cost the planner buys the cheapest combination: the 80/20 frame buys 6 × 6000 mm + 1 × 3000 mm for $630.00, against $672.00 if only 6000 mm bars were bought.

Can I type feet, inches and fractions?

Yes. Cells accept 47 3/8, 47.375, 3' 11 3/8", 20 ft, 1660 mm or 166 cm, whatever the page unit is. In inch modes, stop marks round to the nearest 1/16 in and are shown as tape readings, for example 7' 11 3/8".

Can I paste from Excel?

Copy the rows from Excel or Google Sheets and paste them into Paste from Excel. Tabs, commas and semicolons are detected, and so is a header row. Columns: Part ID, Length, Qty, Left angle, Right angle, Material. The column guide lists every header name it accepts.

Is my cut list uploaded?

No. Nesting, the PNG proof and the TXT summary run in your browser. A Pro export sends the job JSON once to this site; the file is built in memory, returned, and nothing is stored. Imported files are read in the browser and never sent.

What is in the Pro pack?

A Shop Traveler PDF with each bar drawn to scale and every cut with angles and stop positions; Avery barcode labels for every piece and reusable offcut; a 1:1 DXF on 6 layers plus an SVG; and 3 Excel CSV files: purchasing BOM, saw cut schedule and remnant ledger.

How do I print Avery 5160 or L7160 labels?

Choose the sheet in Label sheet before exporting: Avery 5160 is US Letter with 30 labels of 2 5/8 × 1 in; L7160 is A4 with 21 labels of 63.5 × 38.1 mm. Print at 100% or Actual size with page scaling off, and test on plain paper first.

Same engine, six tools

Pick the cut planner for your material