Skip to content
CalculatorAtlas

Accounts Payable Days Calculator

Tested

Days payable outstanding.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

$
$

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

Days payable outstanding (DPO) = accounts payable ÷ cost of goods sold × days in the period. $45,000 of payables on $300,000 of COGS over 365 days is 54.75 days.

Enter accounts payable, COGS and the days in the period. The calculator returns how many days, on average, a company takes to pay suppliers.

Related tools: Accounts Receivable Days Calculator: Days sales outstanding. Return on Equity Calculator: Net income relative to average shareholders' equity. Cash Conversion Cycle Calculator: Days to turn inventory into cash.

How to use the Accounts Payable Days Calculator

  1. Enter accounts payable ($) (0 or more).
  2. Enter cost of goods sold ($) (above 0).
  3. Enter days in period (between 0 and 366). It starts at 365.
  4. Press Calculate to see the result, and use Reset to start again.
Inputs of the Accounts Payable Days Calculator
InputWhat to enterAllowed values
Accounts payableA number, in $≥ 0
Cost of goods soldA number, in $> 0
Days in periodA number> 0, ≤ 366, starts at 365

Formula and method

Formula

DPO = accounts payable ÷ COGS × days

IEEE-754 double precision; shown to the decimals indicated.

Use the average payable balance if you have it.

Worked examples

These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: Accounts payable = 45000; Cost of goods sold = 300000; Days in period = 365.

Results of example 1
ResultValue
Days payable54.75 days

Example 2

Inputs: Accounts payable = 12000; Cost of goods sold = 90000; Days in period = 360.

Results of example 2
ResultValue
Days payable48 days

The first line is the headline result (days payable). IEEE-754 double precision; shown to the decimals indicated.

What it shows

A higher DPO means the company holds on to cash longer before paying suppliers, which helps cash flow. But a very high figure may mean late payment, strained supplier relationships or lost early-payment discounts.

Comparing fairly

DPO varies by industry, so compare with peers and with the company's own history. Use COGS for the same period as the payables balance, and use an average payables balance if the balance changed a lot during the period.

How the result changes with accounts payable

Holding every other input at the first worked example, this table changes only accounts payable. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.

How the result changes with accounts payable
Accounts payableDays payable
2250027.38 days
4500054.75 days
90000109.5 days
180000219 days

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • Cost of goods sold: entering "0" shows "Cost of goods sold must be greater than 0." beside that field and no result.
  • Accounts payable: left empty shows "Enter accounts payable." beside that field and no result.

Choosing between the Accounts Payable Days Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Accounts Payable Days Calculator and similar calculators
CalculatorYou enterIt returns
[Accounts Receivable Days Calculator](/business/accounts-receivable-days-calculator/)accounts receivable, revenue and days in periodDays sales outstanding
[Return on Equity Calculator](/business/return-on-equity-calculator/)net income, equity at start and equity at endReturn on equity
[Cash Conversion Cycle Calculator](/business/cash-conversion-cycle-calculator/)days inventory outstanding, days sales outstanding and days payable outstandingCash conversion cycle
[Current Ratio Calculator](/business/current-ratio-calculator/)current assets and current liabilitiesCurrent ratio
[Employee Turnover Calculator](/business/employee-turnover-calculator/)separations and average number of employeesTurnover rate

Background: business metrics

Business ratios depend on exactly which costs and revenues you include, so read each page's definition. Two common checks: break-even units = fixed costs ÷ (price − variable cost per unit), so $50,000 of fixed costs with a $10 price and $5 variable cost breaks even at 10,000 units; and net profit margin = net profit ÷ revenue, so $20,000 profit on $100,000 revenue is 20%.

Return on investment ignores time: 20% over five years is far less impressive than 20% in one, so compare returns over the same period.

Assumptions and limitations

  • COGS must be positive

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for cost of goods sold and accounts payable to confirm this.

Frequently asked questions

What is a good DPO?

It depends on the industry and on supplier terms; 30 to 60 days is common.

How does DPO relate to the cash conversion cycle?

The cycle is DIO plus DSO minus DPO.

Can I use revenue instead of COGS?

COGS is the standard denominator because payables relate to purchases.

What does the Accounts Payable Days Calculator calculate?

Days payable outstanding. It returns Days payable.

What formula does the Accounts Payable Days Calculator use?

DPO = accounts payable ÷ COGS × days. Use the average payable balance if you have it.

What do I need to enter in the accounts Payable Days Calculator?

You enter Accounts payable ($), Cost of goods sold ($) and Days in period.

How is the result rounded or limited?

IEEE-754 double precision; shown to the decimals indicated. COGS must be positive.

What is an example of a accounts Payable Days result?

With accounts payable 45000, cost of goods sold 300000 and days in period 365, the days payable is 54.75 days.

Sources

  • Common definition used on this page. No single authoritative standard defines it, so the exact formula is stated in the formula section above

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.