How the calculation works
Remaining-lot age = as-of date minus the entered receipt or production date. Weighted age = sum(age × remaining quantity or carrying value) ÷ total weight. Inventory days = chosen inventory balance ÷ period COGS × period days. Endpoint average = (beginning inventory + ending inventory) ÷ 2.
A worked example
For a 365-day period with beginning inventory of $8,000, ending inventory of $12,000 and COGS of $60,000, the endpoint average is $10,000. Inventory turnover is 6 times and inventory days are 60.833333. That ratio does not say that each remaining item is about 61 days old.
Before you use the result
Choose the measure that matches your question. Calendar-age mode uses a snapshot of actual remaining lots. Enter the total carrying value of each remaining lot, not its unit cost, and use the same receipt or production date basis for every row. Quantities must use one comparable unit; do not combine unlike units or unrelated item counts to imply a meaningful quantity-weighted age. Values must use the same USD valuation basis. Include each remaining lot once. Sold stock and future receipts do not belong in the snapshot. The tool does not reconstruct FIFO or another issue-allocation policy from purchases and sales, or reproduce an ERP report. Age alone does not determine expiration, impairment, write-downs or saleability. A lot dated on the as-of date is zero days old. Custom age cutoffs are inclusive and must increase; the next bucket starts one day later. If carrying values total zero, value-weighted age is undefined. In ratio modes, use inventory and COGS on matching cost bases for the same reporting period; do not substitute revenue. Enter an average prepared under your chosen policy, use the simple beginning/ending average, or explicitly choose the ending balance. The ending-balance reciprocal is labeled COGS divided by ending inventory, not standard average-inventory turnover. A zero denominator produces an undefined result; zero inventory with positive COGS produces zero inventory days, not proof that all remaining stock is new. Ratios do not forecast sales or set an industry target. Dates are limited to 1900–2200. Enter 1–600 lot rows, each with date, positive quantity up to six decimals, and nonnegative USD value up to two decimals. Combined quantity is limited to 1 billion; combined carrying value and each ratio-mode money input to $100 million. Age cutoffs are whole days from 0 through 200,000, and the reporting period is 1–3,660 days. Each finite ratio is limited to 1 billion for numerical display precision. These are software limits. Calculations use exact decimal fractions; derived ages and ratios round once to six decimals, with half ties rounded up. Very small positive results remain visibly distinct from exact zero. No accounting-policy, spreadsheet-workflow or stock-management recommendation is supplied.