Stock Cover (Weeks of Supply)

Excel Formulas › Retail & Inventory

All versions

Stock cover answers “how long will current stock last?” — units on hand divided by the average sales rate. Expressed in weeks or days, it’s the planner’s early-warning gauge for stockouts.


Quick formula: weeks of cover from stock and weekly sales:
=units_on_hand / average_weekly_sales
Stock on hand over the weekly sell rate gives weeks of supply before you run out.

The example

320 on hand, 40/week.

AB
1ItemValue
2On hand320
3Weekly sales40 → 8 weeks

The formula

The formula:

=B2 / B3 // on hand ÷ sales rate

How it works

How it works:

  1. Divide units on hand by the average sales rate (per week or per day).
  2. The result is weeks (or days) of cover — how long stock lasts at the current pace.
  3. Compare to your lead time: if cover < lead time, you’ll stock out before a reorder arrives.
  4. Use a trailing average of sales so a single spike doesn’t distort the figure.

Cover vs lead time is the alarm: if you have 3 weeks of cover but a 4-week supplier lead time, you’re already late to reorder. Planners often flag any SKU where cover - lead_time drops below a safety threshold — a single conditional-formatting rule turns the sheet into a watchlist.

Try it: interactive demo

Live demo

On hand and weekly sales.

Cover:

Variations

Days of cover

Daily rate:

=units_on_hand / average_daily_sales

Cover vs lead time

Risk flag:

=IF(cover < lead_weeks, "Reorder", "OK")

Trailing average sales

Smooth the rate:

=AVERAGE(last_4_weeks)

Pitfalls & errors

Match the unit. Weekly sales gives weeks of cover; daily sales gives days.

Average the rate. Use a trailing average so one big week doesn’t mislead.

Zero sales. A dead SKU gives #DIV/0! (infinite cover) — handle with IFERROR.

Practice workbook

📊
Download the free Stock Cover (Weeks of Supply) practice workbook
A stock-cover sheet with the days, risk-flag, and trailing-average variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I calculate stock cover in Excel?
Divide units on hand by the average sales rate: =units_on_hand / average_weekly_sales gives weeks of supply.
How do I know when to reorder from cover?
Compare cover to lead time: if cover is less than the supplier lead time, you'll stock out before replenishment arrives.
Why use an average sales rate?
A trailing average (e.g. last 4 weeks) smooths out spikes so a single big week doesn't distort the cover figure.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Reorder point · Days inventory outstanding · Inventory reorder point