PPolySim OS

Economic Order Quantity

How much should you order at once? Too little and ordering costs pile up; too much and storage eats you alive. The EOQ finds the exact sweet spot.

Economic Order QuantityLive

Controls

Presets

Order too often and ordering costs pile up; order too much and holding costs balloon. The Economic Order Quantity, EOQ = √(2DS/H), is the order size that minimizes their sum. At the optimum the ordering and holding costs are exactly equal — the crossing point of the two curves. The foundation of inventory management.

▶ Run in Python

Data Inspector

EOQ707 units
Orders / year14.1
Min total cost$1414

Governing equation

Reading this result: At the EOQ the two curves cross: yearly ordering cost equals yearly holding cost, giving about 14.1 orders a year at the minimum total cost.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

The Economic Order Quantity, EOQ = √(2DS/H), minimizes the total of ordering and holding costs from annual demand D, order cost S, and holding cost H. At the optimum those two costs are exactly equal — the crossing point of the two curves. It is the foundational model of inventory management and supply-chain planning.

✦

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Optimization simulations

Frequently asked questions

Is this EOQ calculator tool really free?▾
Yes. Economic Order Quantity runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?▾
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?▾
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?▾
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.