Error Rate

A primary reliability signal in performance tests. Define “failure” clearly (HTTP 5xx, timeouts, assertion fails).

Error % = (failures ÷ attempts) × 100.

Tip: Keep “Failed Requests” and “Total Requests” on the same basis (period, units, and population) before calculating Error Rate.

Cluster: Software Testing hub · Uptime calculator · Percentage guide

Error rate is the share of requests that failed during a test or production window.

Enter failed requests and total requests attempted.

Requests counted as failures
All attempted requests in the window

Error Rate %

Understanding Error Rate

How we calculate. Error % = (failures ÷ attempts) × 100. The form uses the same arithmetic as the worked examples on this page. See our methodology and accuracy policy.

Real-world scenario: A typical Error Rate case uses failed requests 750 and total requests 50000. Enter the same figures below to reproduce the worked path.

What is Error Rate?

A primary reliability signal in performance tests. Define “failure” clearly (HTTP 5xx, timeouts, assertion fails).

  • Align failure taxonomy across tools
  • Separate client vs server errors when diagnosing
  • Pair with throughput — low errors at tiny load can mislead

The Formula

Error Rate
Error rate % = (Failed requests ÷ Total requests) × 100

Worked Example

Scenario: Of 50,000 requests, 750 failed.
Step 1: Failed = 750
Step 2: Total = 50000
Step 3: (750 ÷ 50000) × 100 = 1.5%
Answer: Error rate is 1.5%.

Common Use Cases

  • SLA gates: max error % for go-live
  • Soak tests: watch error drift over hours
  • Incident reviews: quantify blast radius

Pro Tips

  • Timeouts count as errors if users experience failure
  • Do not hide retries that mask true fail rates
  • Break down by endpoint

Limitations: Error Rate figures are educational performance-testing aids—not contractual capacity guarantees. Validate with calibrated load tools and production telemetry.

FAQ

Are 4xx errors failures?

Depends on the test: expected 401/404 checks may be successes; unexpected 4xx usually count as fails.

Availability vs error rate?

They are related but not identical—availability often weights downtime windows; error rate weights request outcomes.

Authoritative References

For performance and quality engineering context, consult: