Shape Packing Optimizer

Pack circles, rectangles, ellipses and polygons into the smallest container, check whether they fit, or find out how many fit.

Start with a common job

Each opens a short form with only the settings that job needs. You can show every option at any time.

Advanced

About this tool

What it does

Shape Packing Optimizer arranges a set of pieces inside a container without overlaps. It can:

  • find the smallest container that holds all your pieces;
  • fix one side, such as a sheet of set width, and find the shortest length;
  • check an exact size and say whether everything fits;
  • fit as many as possible in a given size, as whole sets of your list or close to its ratio.

Every result comes with a dimensioned drawing and the centre and rotation of each piece, which you can copy or export as CSV for CAD, laser cutting or CNC nesting.

Shapes

Pieces: circles, squares, rectangles, ellipses, and equilateral triangles, pentagons, hexagons and octagons, in any mix of sizes. Pieces can turn to any angle or keep their orientation, with a gap between pieces and a margin to the edge.

Containers: rectangle, square, circle, ellipse, triangle, pentagon, hexagon or octagon, or all of them at once, ranked by area, coverage, empty space, perimeter or size.

How it works

Packing mixed shapes has no exact formula, so the tool runs a numerical search: thousands of attempts that push the pieces together and shrink the container, plus regular row and lattice layouts. Every layout shown is checked: no two pieces overlap and every piece lies inside the container.

It is free, needs no account, and runs entirely in your browser. Nothing you enter is uploaded.