Payment failure rate is the percentage of online payment attempts that did not succeed: failed attempts divided by all attempts, times 100. It is 100 minus the payment success rate.
Payment failure rate = (Payment attempts − Payments captured) ÷ Payment attempts × 100
On the sample data below, six months come to 16.42%.
Why it matters
Failure rate makes small problems visible. Going from 5% to 7% failure sounds small, but it is 40% more failed payments and the same rise in customers who might leave.
Worked example
The table shows the columns this metric needs from six months of a made-up subscription brand. Add each column up over the six months, then put the totals into the formula:
| Month | Online payment attempts | Online payments captured |
|---|---|---|
| 2026-01 | 512 | 421 |
| 2026-02 | 547 | 456 |
| 2026-03 | 601 | 503 |
| 2026-04 | 579 | 486 |
| 2026-05 | 648 | 542 |
| 2026-06 | 707 | 596 |
| Total | 3,594 | 3,004 |
(3,594 − 3,004) ÷ 3,594 × 100 = 16.42%
Add up first, then divide. Averaging the six monthly figures gives a slightly different answer, because it counts a small month the same as a large one.
Month by month
| Month | Payment failure rate |
|---|---|
| 2026-01 | 17.77% |
| 2026-02 | 16.64% |
| 2026-03 | 16.31% |
| 2026-04 | 16.06% |
| 2026-05 | 16.36% |
| 2026-06 | 15.70% |
Payment failure rate calculator
How to read it
Look at failure reasons where your payment gateway reports them: customer-side reasons (wrong PIN, insufficient balance, cancelled) need different fixes from bank-side reasons (timeouts, declines).
Common mistakes
- Report success or failure rate, not both; they are the same information.
- A customer cancelling a UPI request is counted as a failure by most gateways, though nothing broke.
- Fraud-check rejections are deliberate failures. Track them separately so a stricter rule is not mistaken for an outage.
Calculate payment failure rate in Excel, SQL or Python
The quickest version, for the sample sheet laid out as in the CSV (headers in row 1, months in rows 2 to 7):
=(SUM(S2:S7) - SUM(T2:T7)) / SUM(S2:S7)- Payment failure rate in Excel and Google Sheets — per-month formula and zero-safe version
- Payment failure rate in SQL — query by month and for the period
- Payment failure rate in Python (pandas) — pandas script with expected output
Related metrics
See all business metrics, or the statistics methods that sit behind them.
Questions people ask
- What is payment failure rate?
- Payment failure rate is the percentage of online payment attempts that did not succeed: failed attempts divided by all attempts, times 100. It is 100 minus the payment success rate.
- How do you calculate payment failure rate?
- Payment failure rate = (Payment attempts − Payments captured) ÷ Payment attempts × 100. For example, with six months of sample data: (3,594 − 3,004) ÷ 3,594 × 100 = 16.42%.
- What is the payment failure rate formula in Excel?
- With the sample data laid out as in the downloadable CSV, =(SUM(S2:S7) - SUM(T2:T7)) / SUM(S2:S7) gives the figure for the whole period (format the cell as a percentage). For one month, use =(S2 - T2) / S2 and fill it down.
- What is a good payment failure rate?
- There is no figure that is right for every business: it depends on your products, prices and channels. Look at failure reasons where your payment gateway reports them: customer-side reasons (wrong PIN, insufficient balance, cancelled) need different fixes from bank-side reasons (timeouts, declines).
Check how stable it is
A metric moves for ordinary reasons as well as real ones. These methods separate the two: the spread shows what a normal month looks like, the moving average smooths it, the z-score flags a month that is out of line and the trend line shows the direction.
Guides
About the data on this page
The figures come from a small made-up dataset, printed above in full so you can check every number by hand. Download it as monthly.csv. The results are computed from those rows when the page is built, and the Excel formulas, SQL and Python on these pages are run against the same rows before publishing, so the code and the answers agree.
To get these numbers from your own data without writing formulas, try AnalyzeIt: ask in plain words and it shows the working behind every figure.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in