Catalog/logi-eoq

Calculators

Economic Order Quantity (EOQ) calculator API

Compute the optimal order quantity via the Wilson EOQ formula sqrt(2·D·S/H), with orders/year, cycle time, and the balanced ordering vs holding cost breakdown — deterministic inventory math LLMs get wrong. Answers 'what is my EOQ','how many orders per year','what order size minimizes total inventory cost'.

Price$0.01per request
MethodPOST
Route/v1/calc/logi-eoq
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calclogisticsinventoryeoqsupply-chainprocurementoptimizationwilson
API URLhttps://x402.hexl.dev/v1/calc/logi-eoq
Integration docs
Example request
{
  "annualDemand": 12000,
  "orderCost": 50,
  "holdingCost": 3
}
Example response
{
  "formula": "EOQ = sqrt(2·D·S / H)",
  "economicOrderQuantity": 632.46,
  "ordersPerYear": 18.9737,
  "timeBetweenOrdersDays": 19.24,
  "annualOrderingCost": 948.68,
  "annualHoldingCost": 948.68,
  "totalAnnualCost": 1897.37,
  "inputs": {
    "annualDemand": 12000,
    "orderCost": 50,
    "holdingCost": 3
  }
}
Input schema
{
  "type": "object",
  "required": [
    "annualDemand",
    "orderCost",
    "holdingCost"
  ],
  "properties": {
    "annualDemand": {
      "type": "number",
      "description": "annual demand D in units",
      "examples": [
        12000
      ]
    },
    "orderCost": {
      "type": "number",
      "description": "fixed cost per order S",
      "examples": [
        50
      ]
    },
    "holdingCost": {
      "type": "number",
      "description": "annual holding cost per unit H",
      "examples": [
        3
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}