---
title: "DPO calculator"
description: "DPO is a liquidity and working-capital metric, calculated as (Ending AP ÷ COGS for the period) × Days in the period. Some use purchases rather than COGS, which suits a business whose AP is mostly opex. Polarity neutral; render with on-time payment rate adjacent — see procure to pay."
canonical: "https://lopifi.com/calculators/dpo"
---

# DPO calculator

> DPO is a liquidity and working-capital metric, calculated as (Ending AP ÷ COGS for the period) × Days in the period. Some use purchases rather than COGS, which suits a business whose AP is mostly opex. Polarity neutral; render with on-time payment rate adjacent — see procure to pay.

Source: https://lopifi.com/calculators/dpo
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Formula:** `(Ending AP ÷ COGS for the period) × Days in the period`

*[Interactive dpo calculator]* Runs in your browser; nothing you type is sent anywhere. Amounts in US dollars.

## Worked on a real month of books

Northwind Traders, Inc., September 2026 (accrual basis, USD), the month the free course is taught on. Every figure is read off the course's posted ledger, not typed.

|  | Step | Working | Value |
| --- | --- | --- | ---: |
| 1 | (Ending AP ÷ cost of revenue) × days | ($6,000 ÷ $17,000) × 30 | 10.6 days |

See the statements these come from in [the course](https://lopifi.com/md/learn).

## How to read it

DPO is how long the company holds its cash before paying suppliers. On 30-day terms, a DPO around 30 is paying on time.

In the cash conversion cycle it offsets DSO and inventory days. Paying on terms, neither early nor late, is usually best.

## Common mistakes

- Using revenue instead of cost of goods sold or purchases as the flow.
- Stretching payables past terms to improve the number.

## Questions

### What does DPO mean?

Days payable outstanding: how many days of purchases are still unpaid at the period's end.

### Is a higher DPO better?

Close to supplier terms. A DPO far above terms usually means paying late, which costs discounts and goodwill.

## Read it with

- [Accounts payable vs accounts receivable](https://lopifi.com/md/differences/accounts-payable-vs-accounts-receivable): Accounts payable is what the company owes its suppliers, and it sits with the liabilities. Accounts receivable is what customers owe the company, and it sits with the assets.
- [DSO vs DPO](https://lopifi.com/md/differences/dso-vs-dpo): DSO counts the days of sales customers haven't paid for yet. DPO counts the days of purchases the company hasn't paid for. With inventory days, they make up the cash conversion cycle.
- [DSO calculator](https://lopifi.com/md/calculators/dso): DSO is a liquidity and working-capital metric, calculated as (Ending AR ÷ Credit sales for the period) × Days in the period.
- [DIO calculator](https://lopifi.com/md/calculators/dio): DIO is a liquidity and working-capital metric, calculated as (Inventory ÷ COGS for the period) × Days in the period.
- [Cash conversion cycle calculator](https://lopifi.com/md/calculators/cash-conversion-cycle): DSO + DIO − DPO: the days between paying suppliers and collecting from customers. Negative means customers pay before suppliers are paid
- [DPO](https://lopifi.com/md/glossary/dpo): DPO is a liquidity and working-capital metric, calculated as (Ending AP ÷ COGS for the period) × Days in the period.

*The formula is the one the [glossary](https://lopifi.com/md/glossary/dpo) states, and the arithmetic is unit-tested. A ratio with nothing to divide by shows a dash — undefined is not zero. General information, not tax, legal or accounting advice. Check with a CPA before you act on it.*
