Economic Order Quantity for Seasonal Yarn Sourcing
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.
Yarn is bought by weight and loses moisture on the shelf, so holding it costs more than interest alone.
Economic Order Quantity
—kg
Batch size minimising ordering plus holding cost
Inventory Economics
Holding Cost
—/kg/yr
Orders per Year
—no.
Annual Ordering Cost
—/yr
Annual Holding Cost
—/yr
Total Inventory Cost
—/yr
Bulk Discount Advantage
—/yr
EOQ assumes steady demand and instant replenishment, and seasonal yarn sourcing satisfies neither — a season with a demand peak and a long lead time needs a build-ahead plan, not a reorder quantity, and EOQ is then only a sanity check on batch size. The bulk advantage compares one discount threshold against the EOQ and ignores the shade-lot risk that large batches carry, which for dyed or melange yarn frequently outweighs the discount. Moisture loss is treated as pure shrinkage of saleable weight; where yarn is sold on conditioned weight the term belongs at a different value or not at all.
Using this calculator
About the Economic Order Quantity for Seasonal Yarn Sourcing
The formula
This is the expression the tool evaluates. Every term is named underneath, with the unit it must be supplied in.
Each input feeds the expression evaluated in the browser; the symbol table below names every term and its unit.
Symbols used above
Symbol
Stands for
Unit
annualDemand
Annual Demand
kg
orderCost
Cost per Order
/order
unitPrice
Yarn Price
/kg
holdingRate
Holding Cost Rate
% of value/yr
moistureLossRate
Moisture Loss
%/month
bulkThreshold
Bulk Discount Threshold
kg
bulkDiscount
Bulk Discount
%
economicOrderQuantity
Economic Order Quantity
kg
holdingCostPerKg
Holding Cost
/kg/yr
ordersPerYear
Orders per Year
no.
annualOrderingCost
Annual Ordering Cost
/yr
annualHoldingCost
Annual Holding Cost
/yr
totalInventoryCost
Total Inventory Cost
/yr
bulkOrderAdvantage
Bulk Discount Advantage
/yr
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: Annual Demand, Cost per Order, Yarn Price, Holding Cost Rate, Moisture Loss, Bulk Discount Threshold and Bulk Discount.
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 Economic Order Quantity together with every supporting figure in one pass — no value is carried over from a previous entry.
The supporting outputs — Holding Cost, Orders per Year, Annual Ordering Cost, Annual Holding Cost, Total Inventory Cost and Bulk Discount Advantage — 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
Annual Demand
kg
100 to 10000000 kg
480000
Cost per Order
/order
1 to 10000 /order
350
Yarn Price
/kg
0.1 to 100 /kg
3.2
Holding Cost Rate
% of value/yr
1 to 60 % of value/yr
22
Moisture Loss
%/month
0 to 5 %/month
0.4
Bulk Discount Threshold
kg
100 to 500000 kg
20000
Bulk Discount
%
0 to 20 %
2.5
What the tool returns
The headline figure and every supporting value it is built from.
Output
Unit
What it tells you
Economic Order Quantity (headline result)
kg
Batch size minimising ordering plus holding cost
Holding Cost
/kg/yr
Orders per Year
no.
Annual Ordering Cost
/yr
Annual Holding Cost
/yr
Total Inventory Cost
/yr
Bulk Discount Advantage
/yr
Worked example
Given
Annual Demand
480000 kg
Cost per Order
350 /order
Yarn Price
3.2 /kg
Holding Cost Rate
22 % of value/yr
Moisture Loss
0.4 %/month
Bulk Discount Threshold
20000 kg
Bulk Discount
2.5 %
The tool loads with this case already solved — the Economic Order Quantity 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 — Demand & Ordering and Holding & Discount. 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 Economic Order Quantity in the dark results panel — that is the headline figure, expressed in kg.
Check the supporting rows underneath (Holding Cost, Orders per Year, Annual Ordering Cost, Annual Holding Cost, Total Inventory Cost and Bulk Discount Advantage) 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 Economic Order Quantity before a trial is booked, so machine time and material in Supply Chain, Inventory & Logistics are committed against a calculated figure rather than an estimate.
Costing and quotation — Economic Order Quantity 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 Annual Demand) shows how much of the gap in Economic Order Quantity each variable explains.
Teaching and study — the accepted ranges bracket normal Supply Chain, Inventory & Logistics practice, so moving one variable at a time shows the shape of the relationship rather than a single answer.
Assumptions and limits
EOQ assumes steady demand and instant replenishment, and seasonal yarn sourcing satisfies neither — a season with a demand peak and a long lead time needs a build-ahead plan, not a reorder quantity, and EOQ is then only a sanity check on batch size. The bulk advantage compares one discount threshold against the EOQ and ignores the shade-lot risk that large batches carry, which for dyed or melange yarn frequently outweighs the discount. Moisture loss is treated as pure shrinkage of saleable weight; where yarn is sold on conditioned weight the term belongs at a different value or not at all.
Every input is bounded to the range normal practice occupies (Annual Demand 100 to 10000000 kg, Cost per Order 1 to 10000 /order and Yarn Price 0.1 to 100 /kg, 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 Economic Order Quantity for Seasonal Yarn Sourcing?
Have these to hand: Annual Demand, Cost per Order, Yarn Price, Holding Cost Rate, Moisture Loss, Bulk Discount Threshold and Bulk Discount. With those entered, the tool returns Economic Order Quantity immediately.
What exactly is Economic Order Quantity?
Batch size minimising ordering plus holding cost. It is reported in kg. It is derived from Annual Demand, Cost per Order, Yarn Price, Holding Cost Rate, Moisture Loss, Bulk Discount Threshold and Bulk Discount, and is the figure the rest of the Supply Chain, Inventory & Logistics calculation is built around.
Which units does this calculator expect?
Enter Annual Demand in kg, Cost per Order in /order, Yarn Price in /kg, Holding Cost Rate in % of value/yr, Moisture Loss in %/month, Bulk Discount Threshold in kg and Bulk Discount in %. 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: Holding Cost, Orders per Year, Annual Ordering Cost, Annual Holding Cost, Total Inventory Cost and Bulk Discount Advantage. 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?
EOQ assumes steady demand and instant replenishment, and seasonal yarn sourcing satisfies neither — a season with a demand peak and a long lead time needs a build-ahead plan, not a reorder quantity, and EOQ is then only a sanity check on batch size. The bulk advantage compares one discount threshold against the EOQ and ignores the shade-lot risk that large batches carry, which for dyed or melange yarn frequently outweighs the discount. Moisture loss is treated as pure shrinkage of saleable weight; where yarn is sold on conditioned weight the term belongs at a different value or not at all. Treat the output as an engineering estimate that narrows the trial window, not as a substitute for the trial.
Settled 2026-09-30 on the Zhengzhou Commodity Exchange, converted per kilogram at the published rate for the same day. This is not your cost — a mill buys on contract, in its own market. Use it when you have no contract price to hand, and replace it when you do.