Cloudflare Workers & R2 cost calculator
Estimate the monthly bill for Workers, KV, D1 and R2 from your request counts, CPU time and storage, line by line.
Try an example
Workers
Standard usage model. 10M requests and 30M CPU-ms included.
Worker invocations. Static asset requests are free.
Only CPU counts; time spent waiting on I/O is free.
Workers KV
10M reads, 1M writes / deletes / lists and 1 GB included.
D1
25B rows read, 50M rows written and 5 GB included.
Rows scanned, not rows returned. Indexes cut this a lot.
R2 Standard
Free tier: 10 GB-month, 1M Class A and 10M Class B. No egress fees.
Writes and lists: PUT, COPY, LIST, multipart uploads.
Reads: GET, HEAD. Deletes are free.
R2 Infrequent Access
Cheaper storage, pricier operations. No free tier, 30-day minimum.
Line by line
Enter some usage, or try an example above.
What this assumes
- Prices in USD before tax. This is an estimate; your Cloudflare dashboard has the real bill.
- Workers Paid is a $5 monthly minimum per account and covers the Workers, KV and D1 allowances. R2 is billed on its own and its free tier applies on every plan.
- Static asset requests are free. With Workers caching enabled, requests served from cache still count as requests.
- R2 rounds up to the next billing unit (1.1 GB-month bills as 2). Infrequent Access has no free tier and a 30-day minimum storage duration.
- The Free plan check divides monthly usage by 30 days. Its 10 ms CPU limit applies to every request, so an average under 10 ms can still hit it.
- Not included: Durable Objects, Queues, Workers AI, Images, Logs and other add-ons.
- Prices checked 2026-11-20 against Cloudflare's Workers and R2 pricing pages.
More tools
- Website security audit Grade a website’s security in one pass: HTTPS, HSTS, certificate, security headers, cookies, mixed content, and DNSSEC / SPF / DMARC / CAA, with fixes you can copy.
- DNS lookup Query A, AAAA, CNAME, MX, TXT, NS, SOA and CAA records through Cloudflare or Google DNS-over-HTTPS, with TTLs and DNSSEC status.
- SSL certificate checker Test a site’s HTTPS connection, HTTP to HTTPS redirect and HSTS, and list its current certificates from Certificate Transparency logs with days to expiry.
- HTTP headers checker See the status and response headers a URL returns, with a security header audit and caching and CDN details.