Apparel Size Curve Calculator

Turn a total buy quantity into exact integer units per size using Largest-Remainder apportionment, optional stockout-censoring adjustment, and case-pack rounding.

Published 2026-12-01

Size Curve & Buy Apportionment

Updates live. Paste directly into Excel or download as CSV.

Size
Sales / Weight
Days in stock
Total Allocated
240 units
6 sizes
Peak Size
M (30.5%)
Highest share of buy
Units Shifted vs. Equal
58 units
Moved from fringe to core
SizeShareUnitsvs. Equalvs. Bell

Sizes marked with * had fewer than 7 days in stock during the observation window; consider blending with a category prior before finalizing the PO.

How the Size Curve Formula Works

This calculator uses the same two-step math behind our Apparel Size-Curve Allocation Study so your purchase order quantities are mathematically exact and protected against stockout bias.

1. Stockout-Censored Rate Adjustment

If Size M sold 44 units in 42 days before stocking out while Size XS sold 12 units over a full 60 days, raw unit totals understate Size M's true demand. Turning on Adjust for stockout censoring converts each size's input into an in-stock daily rate:

rate(i)  = units_sold(i) / max(days_in_stock(i), 1)
share(i) = rate(i) / sum(rate)

If a size was in stock for fewer than 7 days, its observed rate can be noisy (small denominator). In that case, flag it and blend it with your category's broader size curve rather than trusting a 2-day sample.

2. Largest-Remainder (Hamilton) Apportionment

Simple rounding (Math.round) often makes a purchase order sum to 239 or 241 units instead of 240. Largest-Remainder apportionment guarantees an exact sum:

  1. Compute the exact fractional target for each size: raw(i) = total_packs * share(i).
  2. Assign the integer floor base(i) = floor(raw(i)) to every size.
  3. Compute the leftover packs remainder = total_packs - sum(base).
  4. Award +1 pack to the sizes with the largest fractional parts raw(i) - base(i) (breaking exact ties toward the center of the size run).
  5. Multiply each size's pack count by the case-pack multiple (1, 2, 6, or 12).

3. Why Comparing Against Equal & Bell Curves Matters

In our 10-seed Apparel Size-Curve Study, misallocating a seasonal buy across sizes created a double penalty: lost full-price sales on stocked-out core sizes plus deep clearance write-downs on leftover fringe sizes. On realistic skewed DTC brands, moving from an Industry Bell Curve to a data-backed statistical curve increased realized gross profit by +24.1% and cut ending trapped working capital by 43.6%.

Want to quantify what broken core sizes are costing your store right now? Run your numbers in the Stockout Revenue Loss Calculator, check whether product-level averages are hiding broken core sizes in the Size-Level Sell-Through Calculator, or read our Stockout Economics Study.

For step-by-step buying and reorder workflows, see our Size Curve Planning Guide, Apparel Inventory Planning Guide, and Apparel Replenishment Guide.

Frequently asked questions

What is a size curve in apparel inventory planning?

A size curve is the percentage distribution of demand across each size in a style's size run (for example, XS through XXL). Buyers use size curves to split a total purchase order quantity into exact integer units per size so core sizes stay in stock without overbuying fringe sizes.

Why should I adjust historical sales for days in stock?

Raw sales history undercounts your best-selling sizes whenever those sizes stocked out early. Dividing each size's units sold by its in-stock days recovers the true daily demand rate so you do not under-order core sizes on the next buy.

How does Largest-Remainder (Hamilton) apportionment work?

First multiply the total buy quantity by each size's percentage share and take the whole-number floor for every size. Then distribute any remaining units one by one to the sizes with the largest fractional remainders. The resulting integer quantities always sum exactly to your total buy.

When should I use an Industry Bell Curve instead of my own sales?

Use an Industry Bell Curve for cold-start launches when you have zero own sales and no similar category history. Once you have real store history, our Apparel Size-Curve Study shows that empirical curves beat textbook bells by +24.1% gross profit on skewed DTC brands.

How does case-pack rounding affect the total buy?

When a factory requires multiples of 2, 6, or 12 units per size, the calculator apportions whole packs first and multiplies by the pack size, rounding the total buy to the nearest valid pack multiple.