Small Exact Bin Packing Workbench
Allocate every small exact-size item into the fewest equal-capacity bins and export a checked packing witness.
Loading tool…
How to use Small Exact Bin Packing Workbench
For each item subset, a dynamic program keeps the smallest bin count and, within that count, the least-filled last bin. Every possible next item is considered. Reconstructed bins are checked against capacity before the result is returned.
- Enter item json (id, size), common bin capacity.
- Choose the stated convention and check the units and supported model.
- Calculate, inspect the result, then copy or download it.
Good to know
- Exact-grid inputs are plain decimals with at most six places and magnitude≤1e9. Raw JSON number spelling is checked before conversion; decimal strings can preserve exact grid values. Exact rational intermediates are bounded to 8192 bits. At most 16 distinct items, 65536 subset states and 524288 transitions. One abstract capacity dimension only: no geometry, kerf, cutting instruction, weight-safety certification or mixed bin sizes. Optimality applies to the complete bounded model, not a larger physical packing task.
- Local calculation only; no input persistence or external lookup. Text/JSON is limited to 30000 characters and output to 1000000 characters. Numeric model inputs and precision/work limits are stated on this page. Approximate JSON numbers retain full stored values; exact arithmetic outputs retain decimal or fraction strings. Unsupported states fail explicitly.
- Educational user-assumption arithmetic only. No live prices, laws, tax rules, quotes or financial advice.
Common questions
Can this produce a physical cutting plan?
No. It solves a one-dimensional abstract capacity model. A saw cut needs explicit kerf and offcut-separation rules, while 3D containers need spatial and loading constraints.
Is the input uploaded or saved?
No. The tool calculates inside this browser tab and provides a local download; it does not persist your input.
Keep going with related tools
All calculators →Uniform Carton Grid Load Planner
Compare every axis-aligned orientation of one box size and export a bounded coordinate preview of the best uniform grid.
MathBounded Zero-one Selection Workbench
Choose a maximum-value subset under one integer capacity and inspect every selected item and exact total.
CalculatorsCost Assignment Workbench
Find an exact minimum-cost or maximum-value one-to-one assignment and export the matching witness.
CalculatorsWallpaper Strip and Roll Cut Planner
Plan full-height wallpaper drops, straight pattern repeats and exact per-roll cuts without area-only shortcuts.
CalculatorsParallel Job Load Planner
Allocate independent jobs to identical machines, inspect a concrete timeline and compare its makespan with a valid lower bound.