{"uid":"cap_xIntAhp5gcSnoaM9Nk82k","slug":"days-inventory-outstanding-weighted-result-mean-calculator-788b2c7a","name":"Days Inventory Outstanding – Weighted Result Mean Calculator","description":"Days inventory outstanding - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. Metric: Days inventory outstanding. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-finance-inventory-days-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["average_inventory","cost_of_sales","period_days"],"properties":{"period_days":{"type":"integer","default":365,"maximum":3660,"minimum":1},"cost_of_sales":{"type":"number","default":30000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"average_inventory":{"type":"number","default":5000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"period_days":365,"cost_of_sales":30000,"average_inventory":5000},{"period_days":402,"cost_of_sales":33000,"average_inventory":5500},{"period_days":365,"cost_of_sales":30000,"average_inventory":5000},{"period_days":402,"cost_of_sales":33000,"average_inventory":5500}],"maxItems":200,"minItems":2},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_btM8Bg1UO223AYPodlDiI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates a weighted mean of Days Inventory Outstanding (DIO) across up to 200 supplied data rows using user-provided nonnegative weights.","exampleAgentPrompt":"Can you calculate a weighted mean Days Inventory Outstanding across these four periods: period 1 has average inventory $5,000 and cost of sales $30,000 over 365 days with weight 1; period 2 has average inventory $5,500 and cost of sales $33,000 over 402 days with weight 2; period 3 same as period 1 with weight 1; period 4 same as period 2 with weight 2?","exampleUseCases":[{"title":"Multi-period DIO trend aggregation","prompt":"I have quarterly inventory data for the past year — average inventory and cost of sales for each quarter with 90-day periods. Can you compute a weighted mean DIO where I want to give Q3 and Q4 twice the weight of Q1 and Q2? Q1: avg inventory $4,200, COGS $28,000; Q2: avg inventory $4,800, COGS $31,000; Q3: avg inventory $5,100, COGS $34,000; Q4: avg inventory $5,600, COGS $37,000."},{"title":"Multi-division inventory health comparison","prompt":"We have three business divisions with different inventory levels. Division A: avg inventory $10M, cost of sales $80M, 365 days, weight 3. Division B: avg inventory $2M, cost of sales $18M, 365 days, weight 1. Division C: avg inventory $6M, cost of sales $50M, 365 days, weight 2. What's the weighted mean DIO across all three?"},{"title":"Supplier evaluation weighted DIO benchmark","prompt":"I'm comparing two suppliers over different reporting periods. Supplier X: avg inventory $500K, COGS $4M, 180 days; Supplier Y: avg inventory $750K, COGS $5.5M, 180 days. Weight Supplier X at 1 and Supplier Y at 3 since they're bigger. Can you give me the weighted mean days inventory outstanding?"}],"resultDescription":"Returns a JSON object containing the computed weighted mean Days Inventory Outstanding value, the formula used, the units of measurement, and a note on limitations — clarifying that this is a statistical weighted mean of supplied figures, not a pooled accounting ratio or live financial data.","failureModes":["Fewer than 2 rows supplied — minimum 2 items required in rows and weights arrays","Weights array length does not match rows array length — mismatch causes validation error","cost_of_sales value of zero or less — field has exclusiveMinimum of 0","Average inventory or cost of sales exceeds 1 trillion — maximum boundary exceeded","More than 200 rows supplied — maxItems constraint violated","Negative weight values supplied — weights must be nonnegative","period_days outside range 1–3660 — integer boundary violation"],"whenToPreferThis":"Use this endpoint when you need a statistically weighted mean of Days Inventory Outstanding across multiple data points (periods, divisions, subsidiaries) where each row has different importance. It is not a pooled accounting ratio and does not fetch live financial data — all figures must be supplied. Prefer this over simple averages when some periods or units should carry more analytical weight than others.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:37.929Z","isFirstParty":false,"canonicalSlug":"days-inventory-outstanding-weighted-result-mean-calculator-788b2c7a"}