CDN Cost Calculator

How much will your CDN service cost each month?

Find out how much your CDN will cost per month. Enter monthly data transfer, average bandwidth usage, and select your CDN provider — see total monthly cost, cost per GB, and cost per request. Assumes standard pricing tiers without enterprise discounts.

Updated June 2026 · How this works

Worth knowing
How It Works
The formula, explained simply

CDN pricing works like a utility bill — you pay for what you use, but the meter runs on two different measurements. Data transfer charges accumulate every time someone downloads a file from your CDN, while request charges pile up every time someone asks for any file, regardless of size. A single webpage might trigger 50 requests (HTML, CSS, JavaScript, images) but only transfer 2MB total.

Most CDN providers use tiered pricing where your first terabyte costs more per gigabyte than subsequent usage. CloudFlare charges $0.085 per GB for your first 1TB monthly, then drops to $0.08 per GB beyond that threshold. This pricing structure rewards high-volume customers but punishes small sites that cannot reach the discount tiers.

Regional pricing adds another layer of complexity. AWS CloudFront charges different rates for data delivered to users in the United States versus Asia Pacific, with some regions costing 40% more per gigabyte. Your actual bill depends on where your users are located, not where your origin server sits. This calculator assumes your primary traffic region to estimate costs, but global applications need to factor in geographic distribution for accurate budgeting.

When To Use This
Right tool, right situation

Use this calculator during architecture planning when choosing between CDN providers or estimating infrastructure budgets. Compare calculated costs against your current hosting bills to determine if CDN acceleration justifies the expense. For new applications, estimate traffic based on similar projects or multiply your expected user count by average page weight to project data transfer needs.

Recalculate monthly as your application grows, especially after marketing campaigns or product launches that change traffic patterns. CDN costs scale directly with usage, so a successful product launch can multiply your monthly bill overnight. Use the calculator to model different traffic scenarios and identify when volume discounts or provider switches become cost-effective.

This tool also helps during provider negotiations when your calculated standard rates exceed $500 monthly. Take the calculator results to CDN sales teams as baseline costs for custom pricing discussions. Enterprise customers typically achieve 20-40% discounts through annual contracts, so calculator results represent maximum costs rather than negotiated rates for high-volume users.

Common Mistakes
Why results sometimes look wrong

The biggest mistake is estimating CDN costs using average monthly traffic without accounting for traffic spikes. If your normal 100GB monthly usage suddenly jumps to 1TB during a viral event, your bill increases 10x overnight. CDN providers charge for actual usage, not averages, so plan for peak traffic scenarios rather than typical loads.

Another common error is ignoring the request component of CDN pricing. Developers focus on data transfer costs while overlooking that image-heavy websites or API endpoints can generate millions of requests monthly. A website serving 1000 small thumbnails per page visit accumulates request charges faster than data transfer charges, especially with providers like Fastly that charge premium rates per request.

Many developers also underestimate international traffic costs. If you select US pricing but 60% of your users are in Asia Pacific, your actual CloudFront bill will be significantly higher than calculator estimates. Always check your analytics for geographic traffic distribution before choosing a region for cost estimation, as some regions cost 40-50% more per gigabyte than US rates.

The Math
Worked examples and deeper derivation

CDN cost calculation combines two pricing models: tiered volume pricing for data transfer and linear pricing for requests. For data transfer, providers typically charge a higher rate for the first tier (usually 1TB-10TB monthly) then reduce the per-GB rate for higher volumes. The formula becomes: Cost = (Tier1_GB × Tier1_Rate) + (Tier2_GB × Tier2_Rate) + ... + (Requests_in_millions × Request_Rate).

CloudFlare's pricing illustrates this tiered structure: first 1TB costs $0.085/GB, additional usage costs $0.08/GB, plus $0.50 per million requests. For 1.5TB monthly usage with 2 million requests: (1000 × $0.085) + (500 × $0.08) + (2 × $0.50) = $85 + $40 + $1 = $126 monthly. The volume discount saves $2.50 on the second 500GB compared to the first-tier rate.

Request pricing stays linear but varies dramatically between providers. Fastly charges $0.0075 per thousand requests ($7.50 per million), while CloudFlare charges $0.50 per million — a 15x difference. For API-heavy applications generating millions of small requests, this pricing gap can overwhelm data transfer costs and determine provider selection.

Small E-commerce Site
500GB data transfer, 1M requests monthly, Cloudflare US
Total cost of $43.00/month breaks down to $42.50 for data transfer and $0.50 for requests.
High-Traffic Blog
2TB data transfer, 5M requests monthly, AWS CloudFront US
Monthly cost reaches $243.00 with $170 for data and $3.00 for requests, suggesting volume discount negotiations.
API-Heavy Application
200GB data transfer, 10M requests monthly, Fastly Global
Cost totals $99.00 monthly with $24 for data and $75 for requests, showing request-heavy pricing impact.
Expert Unlock
The thing most explanations skip

Standard CDN pricing calculators assume uniform traffic distribution, but real applications show massive geographic and temporal variance. CloudFront charges $0.085/GB for US traffic but $0.114/GB for Asia Pacific — a 34% premium that calculators using "global" pricing cannot capture accurately. Professional CDN cost management requires traffic analytics integration to weight regional pricing by actual user distribution.

Why do CDN costs vary so much between providers?

How much does CloudFlare CDN cost per month?
CloudFlare charges $0.085 per GB for the first 1TB monthly, then $0.08 per GB beyond that, plus $0.50 per million requests. A typical small website using 100GB and 500K requests costs about $8.75 monthly.
What makes CDN costs increase suddenly?
Traffic spikes from viral content, video streaming, or software downloads can multiply data transfer costs overnight. Most CDN providers charge per GB, so a 10x traffic increase means 10x costs without volume discounts.
When should I negotiate custom CDN pricing?
Contact CDN sales teams when monthly costs exceed $500-1000. Enterprise customers typically save 20-40% through annual contracts, committed usage, or custom pricing tiers that standard calculators cannot estimate.

Need something this doesn't cover?

Suggest a tool — we'll build it →