tao.
← Tools · DevOps & Cloudflare

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.

Est. per month$0.00

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