API Response Size Transfer Calculator
Estimate monthly response transfer from request volume and typical response size, then compare baseline vs peak traffic.
Inputs
Requests (per day)
Avg 23.15 req/sec.
Avg RPS
Use steady-state throughput.
Est 3,456,000 requests/day.
Average response size (KB)
~870 GB/month, 2.65 Mbps average.
Scenario presets
Results
Requests per month (est.)
60,800,000
Monthly transfer (est.)
870 GB
What response size should include
- Payload bytes: JSON/HTML/media returned by the endpoint (usually the dominant part).
- Compression: measure the compressed bytes over the wire if you use gzip/brotli.
- Headers: often small, but can matter if you have many small responses.
How to measure average response size (without guessing)
- From access logs: average bytes sent by route (p50/p95 is better than mean).
- From APM: sample response body sizes for hot endpoints and exclude outliers (large downloads).
- Separate small API and large download endpoints; mixing them produces an average that fits neither.
Common multipliers (why bandwidth is higher than payload math)
- Retries/timeouts: incident windows can multiply responses per user action.
- Cache misses: if every request hits origin, your origin bandwidth follows the full request volume.
- Pagination: chatty clients that pull many pages inflate transfer quickly.
How to get your inputs
- GB/month: start from billing exports/flow logs; if you only have throughput, convert Mbps to GB/month.
- Boundaries: separate cross-AZ vs cross-region vs internet egress as separate line items.
- Effective rates: use your blended $/GB for the traffic mix you expect.
Result interpretation
- Requests and response size multiply; one growing while the other stays flat still raises transfer quickly.
- If transfer dominates, focus on caching and response compression first.
Common mistakes
- Mixing boundaries and applying the wrong $/GB rate.
- Ignoring retries/timeouts that multiply traffic during incidents.
Scenario planning
| Scenario | Requests/day | Avg response | Transfer |
|---|---|---|---|
| Baseline | Expected | Typical | Derived |
| Peak | High | Same | Higher |
Validate after changes
- Validate the top transfer paths and AZ/region locality after architecture changes.
- Re-check during peak windows (that's when hidden multipliers show up).
Next steps
Advertisement
Example scenario
- 2,000,000 requests/day with 15 KB average responses ~ 870 GB/month (estimate).
- Peak 180% scenario highlights incident-driven transfer spikes.
Included
- Monthly transfer estimate from requests/day and average response KB.
- Optional RPS-based request estimator.
- Baseline vs peak scenario table for bandwidth spikes.
- Useful for quick egress/CDN planning and cost comparisons.
Not included
- Protocol overhead, retries, uploads, and request headers.
- Compression differences between endpoints (model with your average KB).
How we calculate
- Requests per month ~ requests/day x 30.4.
- Monthly transfer (GB) ~ requests/month x average response KB / 1024 / 1024.
- This estimate ignores protocol overhead and retries.
FAQ
Should I use compressed or uncompressed size?
Use the typical size over the wire (compressed) to better estimate bandwidth.
Does this include uploads?
No. This models response payloads. If uploads are significant, model them separately.
Related tools
Related guides
API Gateway vs ALB vs CloudFront cost: what to compare (requests, transfer, add-ons)
A practical cost comparison of API Gateway, Application Load Balancer (ALB), and CloudFront. Compare request pricing, data transfer, caching impact, WAF, logs, and the hidden line items that change the answer.
Azure CDN pricing: estimate bandwidth, requests, and cache fill
A practical Azure CDN estimate: edge bandwidth, request volume, and origin egress (cache fill). Includes validation steps for hit rate, purge behavior, and big endpoints.
Azure Front Door pricing: model requests, bandwidth, and origin traffic
A practical Azure Front Door cost model: edge bandwidth, request volume, logging, and origin traffic (cache fill). Includes a checklist to validate hit rate and avoid double-counting egress.
CDN Cost & Pricing Guide (bandwidth, requests, origin egress)
Step-by-step CDN cost breakdown: bandwidth $/GB, request fees, and origin egress. Includes estimation tips and pitfalls.
CDN cost comparison: how to compare pricing across providers
A practical framework to compare CDN pricing across providers: normalize bandwidth, requests, regions, cache fill, and contract terms before choosing the lowest total cost.
CDN request pricing: estimate $ per 10k / 1M requests (and when it dominates)
Some CDNs charge request fees in addition to bandwidth. Learn what counts as a billable request, how to estimate requests/month from RPS or analytics, and how to model per-10k vs per-1M pricing without unit mistakes.
Advertisement
Disclaimer
Educational use only. Not legal, financial, or professional advice. Results are estimates based on the inputs and assumptions shown on this page. Verify pricing and limits with your providers and documentation.
Last updated: 2026-01-29