★ MONEY · BUSINESS · PAYABLES

Days Payable Outstanding Calculator: AP, COGS & Days

On the defaults — $150,000 of accounts payable and $1,825,000 of cost of goods sold over 365 days — the days payable outstanding is 30.00 days: you pay suppliers in a month, on average. The accounts payable needed for a 30-day DPO at the same costs is $150,000.00, and the cost of goods sold needed for a 30-day DPO on the same payables is $1,825,000.00. Put in your own accounts payable, cost of goods sold, days in the period and target DPO, and the calculator works out the days payable outstanding, the accounts payable the target needs, and the cost of goods sold the target needs. No days-payable-outstanding page of any kind exists on the site — the days-sales-outstanding page (run 425) tests how fast CUSTOMERS pay you, the inventory-turnover page (run 424) tests how fast STOCK sells, and the gross-profit-margin page (run 423) tests gross profit against revenue. This one is the PAYABLES test: accounts payable divided by cost of goods sold, times the days in the period — how many days, on average, you take to pay your suppliers.

1151

Days payable outstanding calculator

Days payable outstanding = accounts payable ÷ cost of goods sold × days in the period. Accounts payable needed at the target = cost of goods sold × target DPO ÷ days in the period. Cost of goods sold needed at the target = accounts payable × days in the period ÷ target DPO. Days payable outstanding is accounts payable divided by cost of goods sold, multiplied by the number of days in the period — usually 365 for a year, or 90 for a quarter. Only CREDIT purchases count — cash purchases are excluded, because cash is already paid. A DPO under 30 days is generally strong for supplier relationships; 30–45 days is typical for many businesses; over 60 days usually means you are stretching suppliers, which can cost you early-payment discounts and goodwill. Retail businesses often run a low DPO because suppliers demand fast payment; manufacturers often run 40–50 days; construction can run 60 days or more because invoices are large and payment terms are long. A high DPO means cash stays in your business longer — effectively free financing from suppliers — but it can strain relationships and lose you discounts; a low DPO means suppliers are happy and discounts are captured, but cash leaves fast. DPO is the mirror of days sales outstanding (how fast customers pay YOU) — and the cash conversion cycle ties them together: DSO plus days inventory outstanding minus DPO. Using AVERAGE accounts payable — (opening + closing) ÷ 2 — gives a steadier figure than a single end-of-period snapshot, because payables swing through the year. DPO differs from days sales outstanding (which tests your customers) and from days inventory outstanding (which tests how long stock sits before it sells); all listed in Accuracy & limitations.

Accounts payable — money you still owe suppliers — the default is $150,000.00.

Cost of goods sold in the period — cash purchases excluded — the default is $1,825,000.00.

The number of days in the period — 365 for a year, 90 for a quarter — the default is 365.

The DPO you want to reach — the default is 30 days.

Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00. On $150,000.00 of accounts payable and $1,825,000.00 of cost of goods sold over 365 days, the days payable outstanding is 30.00 days — you pay suppliers in a month, on average. The accounts payable needed for a 30-day DPO at the same costs is $150,000.00, and the cost of goods sold needed for a 30-day DPO on the same payables is $1,825,000.00.

Accounts payable: $150,000.00

Cost of goods sold: $1,825,000.00

Days in the period: 365

Target DPO: 30

Days payable outstanding: 30.00 days

Accounts payable needed at the 30-day target: $150,000.00

Cost of goods sold needed at the 30-day target: $1,825,000.00

Branch: Accounts payable $75,000: Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,000.00

Branch: Cost of goods sold $912,500: Days payable outstanding 60.00 days; accounts payable needed for the 60-day target $150,000.00; cost of goods sold needed for the 60-day target $912,500.00

Branch: Accounts payable $225,000: Days payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,000.00

Branch: Days in period 90: Days payable outstanding 7.40 days; accounts payable needed for the 7.4-day target $150,055.56; cost of goods sold needed for the 7.4-day target $1,824,324.32

Branch: Accounts payable $37,500: Days payable outstanding 7.50 days; accounts payable needed for the 7.5-day target $37,500.00; cost of goods sold needed for the 7.5-day target $1,825,000.00

Branch: Cost of goods sold $3,650,000: Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $150,000.00; cost of goods sold needed for the 15-day target $3,650,000.00

Branch: Accounts payable $0: Days payable outstanding 0.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $0.00

Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 30 days: $150,000

Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 30 days (rounded): $150,000

At $150,000 the figures are: Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00

At the lower neighbor the figures are: Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,824,987.83

At the upper neighbor the figures are: Days payable outstanding 30.000200 unrounded (shown as 30.00 days only after rounding) — still above the 30-day line; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,012.17

Reverse verdict: STEP

Reverse: Smallest whole-dollar cost of goods sold for the DPO to stay at or below 25 days: $2,190,000

Reverse: Smallest whole-dollar cost of goods sold for the DPO to stay at or below 25 days (rounded): $2,190,000

At $2,190,000 the figures are: Days payable outstanding 25.00 days; accounts payable needed for the 25-day target $150,000.00; cost of goods sold needed for the 25-day target $2,190,000.00

At the lower neighbor the figures are: Days payable outstanding 25.000011 unrounded (shown as 25.00 days only after rounding) — still above the 25-day line; accounts payable needed for the 25-day target $149,999.93; cost of goods sold needed for the 25-day target $2,190,000.00

At the upper neighbor the figures are: Days payable outstanding 25.00 days; accounts payable needed for the 25-day target $150,000.07; cost of goods sold needed for the 25-day target $2,190,000.00

Reverse verdict: STEP

Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 45 days: $225,000

Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 45 days (rounded): $225,000

At $225,000 the figures are: Days payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,000.00

At the lower neighbor the figures are: Days payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,824,991.89

At the upper neighbor the figures are: Days payable outstanding 45.000200 unrounded (shown as 45.00 days only after rounding) — still above the 45-day line; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,008.11

Reverse verdict: STEP

Reverse: Smallest whole-dollar cost of goods sold for the DPO to stay at or below 20 days: $2,737,500

Reverse: Smallest whole-dollar cost of goods sold for the DPO to stay at or below 20 days (rounded): $2,737,500

At $2,737,500 the figures are: Days payable outstanding 20.00 days; accounts payable needed for the 20-day target $150,000.00; cost of goods sold needed for the 20-day target $2,737,500.00

At the lower neighbor the figures are: Days payable outstanding 20.000007 unrounded (shown as 20.00 days only after rounding) — still above the 20-day line; accounts payable needed for the 20-day target $149,999.95; cost of goods sold needed for the 20-day target $2,737,500.00

At the upper neighbor the figures are: Days payable outstanding 20.00 days; accounts payable needed for the 20-day target $150,000.05; cost of goods sold needed for the 20-day target $2,737,500.00

Reverse verdict: STEP

Reverse: Smallest whole-dollar accounts payable for the DPO to reach 40 days: $200,000

Reverse: Smallest whole-dollar accounts payable for the DPO to reach 40 days (rounded): $200,000

At $200,000 the figures are: Days payable outstanding 40.00 days; accounts payable needed for the 40-day target $200,000.00; cost of goods sold needed for the 40-day target $1,825,000.00

At the lower neighbor the figures are: Days payable outstanding 39.999800 unrounded (shown as 40.00 days only after rounding) — still below the 40-day line; accounts payable needed for the 40-day target $200,000.00; cost of goods sold needed for the 40-day target $1,824,990.88

At the upper neighbor the figures are: Days payable outstanding 40.00 days; accounts payable needed for the 40-day target $200,000.00; cost of goods sold needed for the 40-day target $1,825,009.13

Reverse verdict: STEP

Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 15 days: $75,000

Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 15 days (rounded): $75,000

At $75,000 the figures are: Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,000.00

At the lower neighbor the figures are: Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,824,975.67

At the upper neighbor the figures are: Days payable outstanding 15.000200 unrounded (shown as 15.00 days only after rounding) — still above the 15-day line; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,024.33

Reverse verdict: STEP

Edge: Cost of goods sold $0: Days payable outstanding — (undefined: no cost of goods sold to divide by); accounts payable needed for the 30-day target $0.00; cost of goods sold needed for the 30-day target $1,825,000.00

Edge: Accounts payable $0: Days payable outstanding 0.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $0.00

Edge: Accounts payable $98,765, cost of goods sold $1,234,567: Days payable outstanding 29.20 days; accounts payable needed for the 30-day target $101,471.26; cost of goods sold needed for the 30-day target $1,201,640.83

Edge: Accounts payable $500,000: Days payable outstanding 100.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $6,083,333.33

Edge: Cost of goods sold $1,000,000: Days payable outstanding 54.75 days; accounts payable needed for the 30-day target $82,191.78; cost of goods sold needed for the 30-day target $1,825,000.00

Edge: Accounts payable $150,001: Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,012.17

Edge: Target bars — accounts payable $150,000, cost of goods sold $1,825,000: accounts payable needed at the 20-day target $100,000.00; at the 45-day target $225,000.00; cost of goods sold needed at the 20-day target $2,737,500.00; at the 45-day target $1,216,666.67

Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00. On the defaults you pay suppliers in 30 days on average: $150,000.00 of accounts payable on $1,825,000.00 of cost of goods sold over 365 days gives a days payable outstanding of 30.00 days. If the accounts payable fell to $75,000.00, the DPO would be 15.00 days — suppliers paid twice as fast — and at $150,001.00 it would still show 30.00 days after rounding, with an unrounded DPO of 30.000200 days.

Accounts payable $75,000: Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,000.00.

Cost of goods sold $912,500: Days payable outstanding 60.00 days; accounts payable needed for the 60-day target $150,000.00; cost of goods sold needed for the 60-day target $912,500.00.

Accounts payable $225,000: Days payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,000.00.

Days in period 90: Days payable outstanding 7.40 days; accounts payable needed for the 7.4-day target $150,055.56; cost of goods sold needed for the 7.4-day target $1,824,324.32.

Accounts payable $37,500: Days payable outstanding 7.50 days; accounts payable needed for the 7.5-day target $37,500.00; cost of goods sold needed for the 7.5-day target $1,825,000.00.

Cost of goods sold $3,650,000: Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $150,000.00; cost of goods sold needed for the 15-day target $3,650,000.00.

Accounts payable $0: Days payable outstanding 0.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $0.00.

Reverse: The largest whole-dollar accounts payable for the DPO to STAY at or below 30 days is $150,000; at $150,000 the figures are Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00; at the upper neighbor the figures are Days payable outstanding 30.000200 unrounded (shown as 30.00 days only after rounding) — still above the 30-day line; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,012.17 — verdict: STEP. Reverse: The smallest whole-dollar cost of goods sold for the DPO to stay at or below 25 days is $2,190,000; at $2,190,000 the figures are Days payable outstanding 25.00 days; accounts payable needed for the 25-day target $150,000.00; cost of goods sold needed for the 25-day target $2,190,000.00; at the lower neighbor the figures are Days payable outstanding 25.000011 unrounded (shown as 25.00 days only after rounding) — still above the 25-day line; accounts payable needed for the 25-day target $149,999.93; cost of goods sold needed for the 25-day target $2,190,000.00 — verdict: STEP. Reverse: The largest whole-dollar accounts payable for the DPO to STAY at or below 45 days is $225,000; at $225,000 the figures are Days payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,000.00; at the upper neighbor the figures are Days payable outstanding 45.000200 unrounded (shown as 45.00 days only after rounding) — still above the 45-day line; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,008.11 — verdict: STEP. Reverse: The smallest whole-dollar cost of goods sold for the DPO to stay at or below 20 days is $2,737,500; at $2,737,500 the figures are Days payable outstanding 20.00 days; accounts payable needed for the 20-day target $150,000.00; cost of goods sold needed for the 20-day target $2,737,500.00; at the lower neighbor the figures are Days payable outstanding 20.000007 unrounded (shown as 20.00 days only after rounding) — still above the 20-day line; accounts payable needed for the 20-day target $149,999.95; cost of goods sold needed for the 20-day target $2,737,500.00 — verdict: STEP. Reverse: The smallest whole-dollar accounts payable for the DPO to reach 40 days is $200,000; at $200,000 the figures are Days payable outstanding 40.00 days; accounts payable needed for the 40-day target $200,000.00; cost of goods sold needed for the 40-day target $1,825,000.00; at the lower neighbor the figures are Days payable outstanding 39.999800 unrounded (shown as 40.00 days only after rounding) — still below the 40-day line; accounts payable needed for the 40-day target $200,000.00; cost of goods sold needed for the 40-day target $1,824,990.88 — verdict: STEP. Reverse: The largest whole-dollar accounts payable for the DPO to STAY at or below 15 days is $75,000; at $75,000 the figures are Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,000.00; at the upper neighbor the figures are Days payable outstanding 15.000200 unrounded (shown as 15.00 days only after rounding) — still above the 15-day line; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,024.33 — verdict: STEP.

Edges: Cost of goods sold $0 gives Days payable outstanding — (undefined: no cost of goods sold to divide by); accounts payable needed for the 30-day target $0.00; cost of goods sold needed for the 30-day target $1,825,000.00. Accounts payable $0 gives Days payable outstanding 0.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $0.00. Accounts payable $98,765, cost of goods sold $1,234,567 gives Days payable outstanding 29.20 days; accounts payable needed for the 30-day target $101,471.26; cost of goods sold needed for the 30-day target $1,201,640.83. Accounts payable $500,000 gives Days payable outstanding 100.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $6,083,333.33. Cost of goods sold $1,000,000 gives Days payable outstanding 54.75 days; accounts payable needed for the 30-day target $82,191.78; cost of goods sold needed for the 30-day target $1,825,000.00. Accounts payable $150,001 gives Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,012.17. Target bars — accounts payable $150,000, cost of goods sold $1,825,000 gives accounts payable needed at the 20-day target $100,000.00; at the 45-day target $225,000.00; cost of goods sold needed at the 20-day target $2,737,500.00; at the 45-day target $1,216,666.67.

Is a days payable outstanding of 30.00 days healthy?

On the defaults — $150,000.00 of accounts payable and $1,825,000.00 of cost of goods sold over 365 days — the days payable outstanding is 30.00 days, the accounts payable needed for a 30-day DPO is $150,000.00, and the cost of goods sold needed for a 30-day DPO is $1,825,000.00. The days payable outstanding — accounts payable divided by cost of goods sold, times the days in the period — is the payables test: how many days, on average, you take to pay your suppliers. A DPO under 30 days is generally strong for supplier relationships; 30–45 days is typical for many businesses; over 60 days usually means you are stretching suppliers, which can cost you early-payment discounts and goodwill. Retail businesses often run a low DPO because suppliers demand fast payment; manufacturers often run 40–50 days; construction can run 60 days or more because invoices are large and payment terms are long. The same DPO can mean different things by industry — a retailer and a construction firm do not pay the same way — so compare within an industry, not across them.

Four things about the model are worth stating plainly. First, the days payable outstanding is the accounts payable divided by the cost of goods sold, times the days in the period — $150,000.00 ÷ $1,825,000.00 × 365 = 30.00 days. Second, the accounts payable needed at the target is the cost of goods sold times the target DPO, divided by the days in the period — $1,825,000.00 × 30 ÷ 365 = $150,000.00. Third, the cost of goods sold needed at the target is the accounts payable times the days in the period, divided by the target DPO — $150,000.00 × 365 ÷ 30 = $1,825,000.00. And fourth, the DPO is the mirror of days sales outstanding — DSO plus days inventory outstanding minus DPO is the cash conversion cycle — and using average accounts payable — (opening + closing) ÷ 2 — gives a steadier figure than a single end-of-period snapshot; all listed in Accuracy & limitations.

The worked example, line by line

Setup: $150,000.00 of accounts payable, $1,825,000.00 of cost of goods sold, 365 days in the period, target DPO 30 days.

Line 1 — the days payable outstanding. The days payable outstanding is $150,000.00 ÷ $1,825,000.00 × 365 = 30.00 days.

Line 2 — the accounts payable needed. The accounts payable needed for a 30-day DPO is $1,825,000.00 × 30 ÷ 365 = $150,000.00.

Line 3 — the cost of goods sold needed. The cost of goods sold needed for a 30-day DPO is $150,000.00 × 365 ÷ 30 = $1,825,000.00.

Line 4 — the check. $150,000.00 ÷ $1,825,000.00 × 365 = 30.00 days, the target; and $150,000.00 ÷ $1,825,000.00 × 365 = 30.00 days, the target again.

Every branch, checked

Accounts payable $75,000: Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,000.00 — With accounts payable of $75,000.00 the DPO falls to 15.00 days — suppliers paid twice as fast, in the strong band.

Cost of goods sold $912,500: Days payable outstanding 60.00 days; accounts payable needed for the 60-day target $150,000.00; cost of goods sold needed for the 60-day target $912,500.00 — With cost of goods sold of $912,500.00 the DPO rises to 60.00 days — the slow band: you are stretching suppliers, which can cost you early-payment discounts and goodwill.

Accounts payable $225,000: Days payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,000.00 — With accounts payable of $225,000.00 the DPO is 45.00 days — the top of the typical 30–45 day band.

Days in period 90: Days payable outstanding 7.40 days; accounts payable needed for the 7.4-day target $150,055.56; cost of goods sold needed for the 7.4-day target $1,824,324.32 — Over a 90-day quarter the same payables and costs give a DPO of 7.40 days — the same money, measured over a shorter window.

Accounts payable $37,500: Days payable outstanding 7.50 days; accounts payable needed for the 7.5-day target $37,500.00; cost of goods sold needed for the 7.5-day target $1,825,000.00 — With accounts payable of $37,500.00 the DPO falls to 7.50 days — cash leaves fast.

Cost of goods sold $3,650,000: Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $150,000.00; cost of goods sold needed for the 15-day target $3,650,000.00 — With cost of goods sold of $3,650,000.00 the DPO falls to 15.00 days — near the retail pace.

Accounts payable $0: Days payable outstanding 0.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $0.00 — With no accounts payable the DPO is 0.00 days — nothing owed.

The reverses, worked backwards

Largest whole-dollar accounts payable for the DPO to STAY at or below 30 days: At the displayed $150,000 the figures are Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00. At the displayed $150,000 the days payable outstanding is 30.00 days. At $150,001 the payables are $1 over the $150,000 allowed — and the unrounded DPO is 30.000200 days, which displays as 30.00 days after rounding, so $150,000 is the largest whole-dollar accounts payable for the DPO to stay at or below 30 days.

Smallest whole-dollar cost of goods sold for the DPO to stay at or below 25 days: At the displayed $2,190,000 the figures are Days payable outstanding 25.00 days; accounts payable needed for the 25-day target $150,000.00; cost of goods sold needed for the 25-day target $2,190,000.00. At the displayed $2,190,000 the days payable outstanding is 25.00 days. At $2,189,999 the costs are $1 short of the $2,190,000 needed — and the unrounded DPO is 25.000011 days, which displays as 25.00 days after rounding, so $2,190,000 is the smallest whole-dollar cost of goods sold for the DPO to stay at or below 25 days.

Largest whole-dollar accounts payable for the DPO to STAY at or below 45 days: At the displayed $225,000 the figures are Days payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,000.00. At the displayed $225,000 the days payable outstanding is 45.00 days. At $225,001 the payables are $1 over the $225,000 allowed — and the unrounded DPO is 45.000200 days, which displays as 45.00 days after rounding, so $225,000 is the largest whole-dollar accounts payable for the DPO to stay at or below 45 days.

Smallest whole-dollar cost of goods sold for the DPO to stay at or below 20 days: At the displayed $2,737,500 the figures are Days payable outstanding 20.00 days; accounts payable needed for the 20-day target $150,000.00; cost of goods sold needed for the 20-day target $2,737,500.00. At the displayed $2,737,500 the days payable outstanding is 20.00 days. At $2,737,499 the costs are $1 short of the $2,737,500 needed — and the unrounded DPO is 20.000007 days, which displays as 20.00 days after rounding, so $2,737,500 is the smallest whole-dollar cost of goods sold for the DPO to stay at or below 20 days.

Smallest whole-dollar accounts payable for the DPO to reach 40 days: At the displayed $200,000 the figures are Days payable outstanding 40.00 days; accounts payable needed for the 40-day target $200,000.00; cost of goods sold needed for the 40-day target $1,825,000.00. At the displayed $200,000 the days payable outstanding is 40.00 days. At $199,999 the payables are $1 short of the $200,000 needed — and the unrounded DPO is 39.999800 days, which displays as 40.00 days after rounding, so $200,000 is the smallest whole-dollar accounts payable for the DPO to reach 40 days.

Largest whole-dollar accounts payable for the DPO to STAY at or below 15 days: At the displayed $75,000 the figures are Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,000.00. At the displayed $75,000 the days payable outstanding is 15.00 days. At $75,001 the payables are $1 over the $75,000 allowed — and the unrounded DPO is 15.000200 days, which displays as 15.00 days after rounding, so $75,000 is the largest whole-dollar accounts payable for the DPO to stay at or below 15 days.

A warning about the neighbours: every neighbour above shows as the target when rounded to two decimals, but its unrounded DPO is a hair above or below the target. A supplier underwriting on the unrounded DPO would still say no where the unrounded figure misses the line. The page prints the unrounded neighbour value in full so the rounding does not mislead you: 30.000200, 25.000011, 45.000200, 20.000007, 39.999800 and 15.000200 days.

What the defaults assume

The defaults are $150,000.00 of accounts payable, $1,825,000.00 of cost of goods sold, 365 days in the period and a target DPO of 30 days — Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00. With Accounts payable $75,000, Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,000.00. With Cost of goods sold $912,500, Days payable outstanding 60.00 days; accounts payable needed for the 60-day target $150,000.00; cost of goods sold needed for the 60-day target $912,500.00. With Accounts payable $225,000, Days payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,000.00. With Days in period 90, Days payable outstanding 7.40 days; accounts payable needed for the 7.4-day target $150,055.56; cost of goods sold needed for the 7.4-day target $1,824,324.32. With Accounts payable $37,500, Days payable outstanding 7.50 days; accounts payable needed for the 7.5-day target $37,500.00; cost of goods sold needed for the 7.5-day target $1,825,000.00. With Cost of goods sold $3,650,000, Days payable outstanding 15.00 days; accounts payable needed for the 15-day target $150,000.00; cost of goods sold needed for the 15-day target $3,650,000.00. With Accounts payable $0, Days payable outstanding 0.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $0.00. With Cost of goods sold $0, Days payable outstanding — (undefined: no cost of goods sold to divide by); accounts payable needed for the 30-day target $0.00; cost of goods sold needed for the 30-day target $1,825,000.00. With Accounts payable $0, Days payable outstanding 0.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $0.00. With Accounts payable $98,765, cost of goods sold $1,234,567, Days payable outstanding 29.20 days; accounts payable needed for the 30-day target $101,471.26; cost of goods sold needed for the 30-day target $1,201,640.83. With Accounts payable $500,000, Days payable outstanding 100.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $6,083,333.33. With Cost of goods sold $1,000,000, Days payable outstanding 54.75 days; accounts payable needed for the 30-day target $82,191.78; cost of goods sold needed for the 30-day target $1,825,000.00. With Accounts payable $150,001, Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,012.17. With Target bars — accounts payable $150,000, cost of goods sold $1,825,000, accounts payable needed at the 20-day target $100,000.00; at the 45-day target $225,000.00; cost of goods sold needed at the 20-day target $2,737,500.00; at the 45-day target $1,216,666.67.

A note on the rounding: with accounts payable of $98,765 and cost of goods sold of $1,234,567 the unrounded days payable outstanding is 29.199894 days, which rounds half-up to 29.20 days — the page prints the unrounded value so the rounding does not mislead you. With accounts payable of $150,001 and cost of goods sold of $1,825,000 the unrounded days payable outstanding is 30.000200 days, which rounds to 30.00 days. With accounts payable of $500,000 the DPO is 100.00 days, and with cost of goods sold of $1,000,000 the DPO is 54.75 days.

Output · formula · meaning

OutputFormulaWhat it means
Accounts payableinput$150,000.00.
Cost of goods soldinput$1,825,000.00.
Days in the periodinput365.
Target DPOinput30.
Days payable outstandingaccounts payable ÷ cost of goods sold × days in the period30.00 days.
Accounts payable needed at the 30-day targetcost of goods sold × target DPO ÷ days in the period$150,000.00.
Cost of goods sold needed at the 30-day targetaccounts payable × days in the period ÷ target DPO$1,825,000.00.
Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 30 daysstep$150,000 → $150,000.
Below the revr1 starneighborDays payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,824,987.83.
Above the revr1 starneighborDays payable outstanding 30.000200 unrounded (shown as 30.00 days only after rounding) — still above the 30-day line; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,012.17.
Reverse: Smallest whole-dollar cost of goods sold for the DPO to stay at or below 25 daysstep$2,190,000 → $2,190,000.
Below the revr2 starneighborDays payable outstanding 25.000011 unrounded (shown as 25.00 days only after rounding) — still above the 25-day line; accounts payable needed for the 25-day target $149,999.93; cost of goods sold needed for the 25-day target $2,190,000.00.
Above the revr2 starneighborDays payable outstanding 25.00 days; accounts payable needed for the 25-day target $150,000.07; cost of goods sold needed for the 25-day target $2,190,000.00.
Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 45 daysstep$225,000 → $225,000.
Below the revr3 starneighborDays payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,824,991.89.
Above the revr3 starneighborDays payable outstanding 45.000200 unrounded (shown as 45.00 days only after rounding) — still above the 45-day line; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,008.11.
Reverse: Smallest whole-dollar cost of goods sold for the DPO to stay at or below 20 daysstep$2,737,500 → $2,737,500.
Below the revr4 starneighborDays payable outstanding 20.000007 unrounded (shown as 20.00 days only after rounding) — still above the 20-day line; accounts payable needed for the 20-day target $149,999.95; cost of goods sold needed for the 20-day target $2,737,500.00.
Above the revr4 starneighborDays payable outstanding 20.00 days; accounts payable needed for the 20-day target $150,000.05; cost of goods sold needed for the 20-day target $2,737,500.00.
Reverse: Smallest whole-dollar accounts payable for the DPO to reach 40 daysstep$200,000 → $200,000.
Below the revr5 starneighborDays payable outstanding 39.999800 unrounded (shown as 40.00 days only after rounding) — still below the 40-day line; accounts payable needed for the 40-day target $200,000.00; cost of goods sold needed for the 40-day target $1,824,990.88.
Above the revr5 starneighborDays payable outstanding 40.00 days; accounts payable needed for the 40-day target $200,000.00; cost of goods sold needed for the 40-day target $1,825,009.13.
Reverse: Largest whole-dollar accounts payable for the DPO to STAY at or below 15 daysstep$75,000 → $75,000.
Below the revr6 starneighborDays payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,824,975.67.
Above the revr6 starneighborDays payable outstanding 15.000200 unrounded (shown as 15.00 days only after rounding) — still above the 15-day line; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,024.33.
Accounts payable $75,000same modelDays payable outstanding 15.00 days; accounts payable needed for the 15-day target $75,000.00; cost of goods sold needed for the 15-day target $1,825,000.00.
Cost of goods sold $912,500same modelDays payable outstanding 60.00 days; accounts payable needed for the 60-day target $150,000.00; cost of goods sold needed for the 60-day target $912,500.00.
Accounts payable $225,000same modelDays payable outstanding 45.00 days; accounts payable needed for the 45-day target $225,000.00; cost of goods sold needed for the 45-day target $1,825,000.00.
Days in period 90same modelDays payable outstanding 7.40 days; accounts payable needed for the 7.4-day target $150,055.56; cost of goods sold needed for the 7.4-day target $1,824,324.32.
Accounts payable $37,500same modelDays payable outstanding 7.50 days; accounts payable needed for the 7.5-day target $37,500.00; cost of goods sold needed for the 7.5-day target $1,825,000.00.
Cost of goods sold $3,650,000same modelDays payable outstanding 15.00 days; accounts payable needed for the 15-day target $150,000.00; cost of goods sold needed for the 15-day target $3,650,000.00.
Accounts payable $0same modelDays payable outstanding 0.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $0.00.

Who uses this

  • The small-business owner checking the year: they learn $150,000.00 of accounts payable on $1,825,000.00 of cost of goods sold gives a DPO of 30.00 days — and they check the $150,000 reverse to see the largest payables that still stay at or below 30 days.
  • The finance manager stretching cash: they learn a DPO under 30 days is generally strong for supplier relationships and over 60 days usually means stretching suppliers — and they check the $2,190,000 reverse to see the smallest cost of goods sold that stays at or below a 25-day DPO.
  • The manufacturer whose DPO slipped to 45.00 days: they learn the business sits at the top of the typical 30–45 day band — and they check the $225,000 reverse to see the largest payables that stay at or below 45 days.
  • The retailer paying in about 15 days: they learn a low DPO is normal for retail because suppliers demand fast payment — and they check the $2,737,500 reverse to see the smallest cost of goods sold that stays at or below a 20-day DPO.

Accuracy & limitations

The math is first-principles: the days payable outstanding is the accounts payable divided by the cost of goods sold, times the days in the period, rounded to two decimals half-up; the accounts payable needed at the target is the cost of goods sold times the target DPO, divided by the days in the period; the cost of goods sold needed at the target is the accounts payable times the days in the period, divided by the target DPO. The reverses are judged on the UNROUNDED DPO: a neighbour one dollar short or over shows as the target when rounded to two decimals, but its unrounded DPO is above or below the target, so it does not meet the bar — the page prints the unrounded neighbour value in full. What the model cannot do is judge the business: only CREDIT purchases count — cash purchases are excluded, because cash is already paid; the average accounts payable is (opening + closing) ÷ 2, a simple average that hides swings inside the period; with cost of goods sold of $0 the DPO is undefined — the calculator shows “—” with a note, never Infinity or NaN; with accounts payable of $0 the DPO is 0.00 days — nothing owed; a high DPO means cash stays in your business longer but can strain relationships and lose you discounts; a low DPO means suppliers are happy and discounts are captured, but cash leaves fast; and the same DPO means different things by industry, so compare within an industry, not across them. DPO differs from days sales outstanding, which tests how fast your customers pay you, and from the cash conversion cycle, which combines receivables, inventory and payables. Use it to see how fast you pay your suppliers — then read the rest of the statements.

Cite this calculatorBright Side Kit. “Days Payable Outstanding Calculator: AP, COGS & Days” brightoolbox.com, 2026. Method: Days payable outstanding = accounts payable ÷ cost of goods sold × days in the period; accounts payable needed at the target = cost of goods sold × target DPO ÷ days in the period; cost of goods sold needed at the target = accounts payable × days in the period ÷ target DPO; average accounts payable = (opening + closing) ÷ 2; cash conversion cycle = DSO + days inventory outstanding − DPO. Reverses: largest whole-dollar accounts payable for the DPO to STAY at or below 30 days is $150,000 (at $150,000 the DPO is 30.00 days; at $150,001 the payables are $1 over the $150,000 allowed, unrounded DPO 30.000200 days, shown as 30.00 days only after rounding); smallest whole-dollar cost of goods sold for the DPO to stay at or below 25 days is $2,190,000 (at $2,190,000 the DPO is 25.00 days; at $2,189,999 the costs are $1 short of the $2,190,000 needed, unrounded DPO 25.000011 days, shown as 25.00 days only after rounding); largest whole-dollar accounts payable for the DPO to STAY at or below 45 days is $225,000 (at $225,000 the DPO is 45.00 days; at $225,001 the payables are $1 over the $225,000 allowed, unrounded DPO 45.000200 days, shown as 45.00 days only after rounding); smallest whole-dollar cost of goods sold for the DPO to stay at or below 20 days is $2,737,500 (at $2,737,500 the DPO is 20.00 days; at $2,737,499 the costs are $1 short of the $2,737,500 needed, unrounded DPO 20.000007 days, shown as 20.00 days only after rounding); smallest whole-dollar accounts payable for the DPO to reach 40 days is $200,000 (at $200,000 the DPO is 40.00 days; at $199,999 the payables are $1 short of the $200,000 needed, unrounded DPO 39.999800 days, shown as 40.00 days only after rounding); largest whole-dollar accounts payable for the DPO to STAY at or below 15 days is $75,000 (at $75,000 the DPO is 15.00 days; at $75,001 the payables are $1 over the $75,000 allowed, unrounded DPO 15.000200 days, shown as 15.00 days only after rounding). Defaults: Days payable outstanding 30.00 days; accounts payable needed for the 30-day target $150,000.00; cost of goods sold needed for the 30-day target $1,825,000.00 Bright Side Kit. "Days Payable Outstanding Calculator: AP, COGS & Days" https://brightoolbox.com/days-payable-outstanding-calculator/ Accessed October 26, 2026.
Embed this calculator

Frequently asked questions

What is days payable outstanding?

Accounts payable divided by cost of goods sold, times the days in the period. On $150,000.00 of accounts payable and $1,825,000.00 of cost of goods sold over 365 days the DPO is 30.00 days — you pay suppliers in a month, on average.

How do I calculate days payable outstanding?

Divide the accounts payable by the cost of goods sold, then multiply by the days in the period. Take the accounts payable, divide by the cost of goods sold, multiply by the days: $150,000.00 ÷ $1,825,000.00 × 365 is 30.00 days. Only credit purchases count — cash purchases are excluded.

What is a good days payable outstanding?

Under 30 days is generally strong for supplier relationships. A DPO under 30 days is generally strong; 30–45 days is typical for many businesses; over 60 days usually means you are stretching suppliers. Retail businesses often run a low DPO because suppliers demand fast payment; manufacturers often run 40–50 days; construction can run 60 days or more.

How much accounts payable do I need for a 30-day DPO?

$150,000.00 on $1,825,000 of cost of goods sold. The accounts payable needed is the cost of goods sold times the target DPO, divided by the days in the period: $1,825,000.00 × 30 ÷ 365 = $150,000.00.

How much cost of goods sold do I need for a 30-day DPO?

$1,825,000.00 on $150,000 of accounts payable. The cost of goods sold needed is the accounts payable times the days in the period, divided by the target DPO: $150,000.00 × 365 ÷ 30 = $1,825,000.00. At $2,189,999 the costs are $1 short of the $2,190,000 needed for a 25-day DPO, with an unrounded DPO of 25.000011 days.

What is the largest accounts payable that still stays at or below 30 days?

$150,000 on $1,825,000 of cost of goods sold. At $150,000 the DPO is 30.00 days. At $150,001 the payables are $1 over the $150,000 allowed, with an unrounded DPO of 30.000200 days, which displays as 30.00 days after rounding.

What if I have no cost of goods sold?

The DPO is undefined. With cost of goods sold of $0.00 there is nothing to divide by, so the DPO cannot be computed — the calculator shows “—” with a note, never Infinity or NaN. With accounts payable of $0.00 the DPO is 0.00 days — nothing owed.

Why does $98,765 of payables show 29.20 days?

Because the unrounded DPO is 29.199894 days. On $98,765.00 of accounts payable and $1,234,567.00 of cost of goods sold over 365 days the unrounded DPO is 29.199894 days, which rounds half-up to 29.20 days. The page prints the unrounded value so the rounding does not mislead you.