Trim Matrix Explosion & Single-Variant Kitting Exposure
Put this calculator on your own site
Paste this where you want the calculator to appear. It works on any site — WordPress, Squarespace, Webflow, Ghost or plain HTML — and needs no JavaScript of yours. It carries a link back here, which is the only thing we ask for it.
Ten trim lines on a 5-colour, 6-size style are not ten things to buy. They are sixty-one.
Distinct Trim Variants to Buy
—variants
Every separate thing a purchase order must name
The Grid, the Bill and the Exposure
Distinct SKUs
—skus
Trim Lines on the Style
—lines
Rows Held as Flat Per-SKU Bills
—rows
Rows Held as a Rule-Based BOM
—rows
Rows Avoided
—%
Edits to Change One Trim Supplier
—edits
Order Halted by One Missing Size Variant
—garments
Order Halted by One Missing Grid-Cell Variant
—garments
The variant count is the number that matters at purchase and the number nobody predicts, because it is not the trim lines and it is not the SKUs — it is the trim lines resolved against only the dimensions each one actually depends on. A line that changes with both dimensions costs a variant per cell of the grid on its own, which is why a single woven size-and-colour label can carry more part numbers than every other trim on the garment combined. The two exposure figures are the argument for kitting discipline: a size-dependent trim short by one variant does not delay a sixth of the order, it stops that size dead while everything else keeps running and piles up as work in progress against a shipment that cannot close. Grid-cell variants stop less, but there are far more of them and each is bought in the smallest quantity, so they are where shortages actually happen. The row comparison is the maintenance argument rather than the production one: flat per-SKU bills are not wrong, they are simply a copy of the same information once per SKU, and every copy is a place for the zipper supplier change to be missed.
Using this calculator
About the Trim Matrix Explosion & Single-Variant Kitting Exposure
The formula
This is the expression the tool evaluates. Every term is named underneath, with the unit it must be supplied in.
Distinct variants to buytrimVariants = trimsFixed + trimsByColour x colours + trimsBySize x sizes + trimsByBoth x colours x sizes
Each line explodes only along the dimensions it actually depends on, which is why the answer sits between the count of trim lines and the count of SKUs rather than at either end. Ten lines on a 5-colour, 6-size style are sixty-one variants.
The grid itselfdistinctSkus = colours x sizes
Thirty cells on a five by six style. This is the number a flat bill of materials gets copied across, and the number of edits one supplier change then costs.
Rows held either wayflatBomRows = distinctSkus x trimLines matrixRows = trimLines + variantsThatVary
Three hundred rows against sixty-seven, for the same information. The rule-based form holds each abstract line once and one resolution row per variant it actually has; the flat form holds a copy per SKU, and every copy is a place for the zipper change to be missed.
What one shortage stopshaltedBySize = orderQty / sizes haltedByCell = orderQty / (colours x sizes)
A size-dependent trim short by one variant stops that size dead while everything else keeps running and piles up as work in progress against a shipment that cannot close. Grid-cell variants stop less, but there are far more of them and each is bought in the smallest quantity, which is where shortages actually happen.
Symbols used above
Symbol
Stands for
Unit
colours
Colourways
count
sizes
Sizes
count
orderQty
Order Quantity
garments
trimsFixed
Same on Every Garment
lines
trimsByColour
Change with Colour Only
lines
trimsBySize
Change with Size Only
lines
trimsByBoth
Change with Both
lines
trimVariants
Distinct Trim Variants to Buy
variants
distinctSkus
Distinct SKUs
skus
trimLines
Trim Lines on the Style
lines
flatBomRows
Rows Held as Flat Per-SKU Bills
rows
matrixRows
Rows Held as a Rule-Based BOM
rows
rowsSaved
Rows Avoided
%
flatEdits
Edits to Change One Trim Supplier
edits
haltedBySize
Order Halted by One Missing Size Variant
garments
haltedByCell
Order Halted by One Missing Grid-Cell Variant
garments
How the result is derived
Step by step, from the values you type to the figure on screen.
The 7 inputs are read from the form on every keystroke: Colourways, Sizes, Order Quantity, Same on Every Garment, Change with Colour Only, Change with Size Only and Change with Both.
Each value is checked against the accepted range in the input table below. A value outside its range stops the calculation rather than producing a misleading figure — the results blank out and a message appears.
The validated values are substituted into the expression above, which resolves Distinct Trim Variants to Buy together with every supporting figure in one pass — no value is carried over from a previous entry.
The supporting outputs — Distinct SKUs, Trim Lines on the Style, Rows Held as Flat Per-SKU Bills, Rows Held as a Rule-Based BOM, Rows Avoided, Edits to Change One Trim Supplier, Order Halted by One Missing Size Variant and Order Halted by One Missing Grid-Cell Variant — come from the same pass, so they always describe the same case as the headline figure.
Results are rounded for display only. The full-precision value is used throughout the chain, so reading a rounded intermediate figure back into the tool by hand can shift the last digit.
What each input means
Where to read each value on the floor, the unit it must be in, and the range the tool accepts.
Input
Unit
Accepted range
Default
What it means
Colourways
count
1 to 60 count
5
Sizes
count
1 to 40 count
6
Order Quantity
garments
1 to 5000000 garments
12000
Same on Every Garment
lines
0 to 60 lines
4
Main label, care label, polybag, carton. One variant each, whatever the grid does.
Change with Colour Only
lines
0 to 60 lines
3
Sewing thread, zipper tape, buttons. One variant per colourway.
Change with Size Only
lines
0 to 60 lines
2
Zipper length, elastic length, size label. One variant per size.
Change with Both
lines
0 to 60 lines
1
A woven label carrying size and colourway together. One variant per cell of the grid — these are the expensive ones.
What the tool returns
The headline figure and every supporting value it is built from.
Output
Unit
What it tells you
Distinct Trim Variants to Buy (headline result)
variants
Every separate thing a purchase order must name
Distinct SKUs
skus
Trim Lines on the Style
lines
Rows Held as Flat Per-SKU Bills
rows
Rows Held as a Rule-Based BOM
rows
Rows Avoided
%
Edits to Change One Trim Supplier
edits
Order Halted by One Missing Size Variant
garments
Order Halted by One Missing Grid-Cell Variant
garments
Worked example
Given
Colourways
5 count
Sizes
6 count
Order Quantity
12000 garments
Same on Every Garment
4 lines
Change with Colour Only
3 lines
Change with Size Only
2 lines
Change with Both
1 lines
The tool loads with this case already solved — the Distinct Trim Variants to Buy shown above is its answer. Change one value and the difference from this baseline is the sensitivity of the result to that variable.
How to use it
Work through the input groups in order — Style and Trims. The defaults are a realistic case, so you can change one value at a time and watch what moves.
There is no calculate button. Every figure recalculates as you type or drag, which is what makes this usable for a what-if sweep rather than a single answer.
Read Distinct Trim Variants to Buy in the dark results panel — that is the headline figure, expressed in variants.
Check the supporting rows underneath (Distinct SKUs, Trim Lines on the Style, Rows Held as Flat Per-SKU Bills, Rows Held as a Rule-Based BOM, Rows Avoided, Edits to Change One Trim Supplier, Order Halted by One Missing Size Variant and Order Halted by One Missing Grid-Cell Variant) before acting on the headline — they are where an implausible input usually shows itself first.
Reset to defaults returns every field to the reference case, which is the quickest way to check whether a surprising result came from the tool or from an input you had changed earlier.
Where this is used
Process planning — establishing Distinct Trim Variants to Buy before a trial is booked, so machine time and material in Merchandising, Retail Math & Apparel Production are committed against a calculated figure rather than an estimate.
Costing and quotation — Distinct Trim Variants to Buy is an input to the cost sheet, and quoting from a worked number rather than a remembered one is what keeps a margin intact.
Troubleshooting — when the floor result drifts from plan, entering the measured values (starting with Colourways) shows how much of the gap in Distinct Trim Variants to Buy each variable explains.
Teaching and study — the accepted ranges bracket normal Merchandising, Retail Math & Apparel Production practice, so moving one variable at a time shows the shape of the relationship rather than a single answer.
Assumptions and limits
The variant count is the number that matters at purchase and the number nobody predicts, because it is not the trim lines and it is not the SKUs — it is the trim lines resolved against only the dimensions each one actually depends on. A line that changes with both dimensions costs a variant per cell of the grid on its own, which is why a single woven size-and-colour label can carry more part numbers than every other trim on the garment combined. The two exposure figures are the argument for kitting discipline: a size-dependent trim short by one variant does not delay a sixth of the order, it stops that size dead while everything else keeps running and piles up as work in progress against a shipment that cannot close. Grid-cell variants stop less, but there are far more of them and each is bought in the smallest quantity, so they are where shortages actually happen. The row comparison is the maintenance argument rather than the production one: flat per-SKU bills are not wrong, they are simply a copy of the same information once per SKU, and every copy is a place for the zipper supplier change to be missed.
Every input is bounded to the range normal practice occupies (Colourways 1 to 60 count, Sizes 1 to 40 count and Order Quantity 1 to 5000000 garments, and so on for the rest). Those bounds are guard rails against typing errors, not a claim that the formula fails one unit outside them.
The calculation is deterministic: the same inputs always give the same result. It carries no allowance for machine condition, operator skill, ambient conditions or lot-to-lot material variation unless an input above explicitly represents one.
Nothing is sent anywhere. The maths runs in your browser, so the numbers you type never leave the page.
Questions people ask
What do I need to know before using the Trim Matrix Explosion & Single-Variant Kitting Exposure?
Have these to hand: Colourways, Sizes, Order Quantity, Same on Every Garment, Change with Colour Only, Change with Size Only and Change with Both. With those entered, the tool returns Distinct Trim Variants to Buy immediately.
What exactly is Distinct Trim Variants to Buy?
Every separate thing a purchase order must name. It is reported in variants. It is derived from Colourways, Sizes, Order Quantity, Same on Every Garment, Change with Colour Only, Change with Size Only and Change with Both, and is the figure the rest of the Merchandising, Retail Math & Apparel Production calculation is built around.
Which units does this calculator expect?
Enter Colourways in count, Sizes in count, Order Quantity in garments, Same on Every Garment in lines, Change with Colour Only in lines, Change with Size Only in lines and Change with Both in lines. Mixing unit systems is the most common cause of a result that looks an order of magnitude wrong — convert before typing, not after reading.
What are the other figures under the main result?
They are the intermediate quantities the calculation passes through: Distinct SKUs, Trim Lines on the Style, Rows Held as Flat Per-SKU Bills, Rows Held as a Rule-Based BOM, Rows Avoided, Edits to Change One Trim Supplier, Order Halted by One Missing Size Variant and Order Halted by One Missing Grid-Cell Variant. They are shown because a headline number nobody can trace is a number nobody trusts — checking them against your own expectation is the fastest way to confirm the inputs were read as you intended.
Can I rely on this for a production decision?
The variant count is the number that matters at purchase and the number nobody predicts, because it is not the trim lines and it is not the SKUs — it is the trim lines resolved against only the dimensions each one actually depends on. A line that changes with both dimensions costs a variant per cell of the grid on its own, which is why a single woven size-and-colour label can carry more part numbers than every other trim on the garment combined. The two exposure figures are the argument for kitting discipline: a size-dependent trim short by one variant does not delay a sixth of the order, it stops that size dead while everything else keeps running and piles up as work in progress against a shipment that cannot close. Grid-cell variants stop less, but there are far more of them and each is bought in the smallest quantity, so they are where shortages actually happen. The row comparison is the maintenance argument rather than the production one: flat per-SKU bills are not wrong, they are simply a copy of the same information once per SKU, and every copy is a place for the zipper supplier change to be missed. Treat the output as an engineering estimate that narrows the trial window, not as a substitute for the trial.