Skip to content
FinToolSuite
Updated 2026-09-06 · Cloud & Tech · Educational use only ·
Privacy

CDN Cost Calculator

Monthly delivery bill split across transfer, requests and storage

Work out a monthly CDN bill from gigabytes transferred, request volume and cached storage at the per-unit rates a provider quotes.

What this tool does

This calculator sums the three meters a content delivery network bills against: gigabytes transferred out to users multiplied by the per-gigabyte rate, millions of requests multiplied by the per-million rate, and stored gigabytes multiplied by the storage rate. It shows the monthly total, the three components separately, and the annual figure at twelve times the monthly. Transfer usually dominates: at the default figures it is 92.7% of the bill against 4.6% for requests and 2.7% for storage, which is why each input's sensitivity is simply its share of the total. Two structural points matter for reading the output. Rates are tiered by volume and vary substantially by the region traffic is served into, so a single flat per-gigabyte figure represents a traffic-weighted average rather than any published headline rate. And the calculation covers only the edge-to-user leg; every cache miss also pulls the object from the origin, and that origin egress is billed separately by whoever hosts it, so a site with a low cache hit ratio pays for the same bytes twice. Commitment discounts, minimum charges, and separately priced features such as edge compute or image transformation are outside the model.

Quick answer: with the default values, the result is $431.50 (Monthly CDN Cost). Adjust the values below for your own figures.


Enter Values

People also use

Formula Used
Gigabytes transferred out to users in the month
Transfer rate charged per gigabyte served
HTTP requests answered in the month, in millions
Rate charged per million requests
Gigabytes held in cache storage
Monthly storage rate charged per gigabyte held

Disclaimer

Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.

A content delivery network bills on three meters: bytes served out to users, HTTP requests answered, and bytes held in cache. Which one dominates depends entirely on what the site serves. Video and images push transfer; an API answering many small calls pushes request count; storage is almost never the driver.

Rates differ by provider, by contract volume and, most sharply, by the region a request is served from. Delivery into some markets costs several times what the same gigabyte costs elsewhere, and published rate cards step down as volume rises. A single flat figure cannot represent either of those, so the honest input is a traffic-weighted average across the regions actually served rather than the headline rate at the top of a price page.

Two mechanisms move the transfer meter more than any negotiation. Compression shrinks what crosses the wire, and modern schemes such as Brotli, standardised as an IETF specification, are supported by every current browser. Caching stops the byte being sent at all: HTTP caching, defined in RFC 9111, exists so that a stored response can be reused to reduce both latency and network overhead each time it is served, and every reuse is a request the origin never sees.

Run it with sensible defaults

Using monthly gb transferred of 5,000, cost per gb of 0.08, monthly requests of 20 million, cost per million requests of 1, storage of 500 GB and storage cost per GB of 0.023, the calculation works out to 431.50 a month, or 5,178 a year. The defaults are meant as a starting point, not a recommendation.

The split is the useful part. Transfer is 400 of that bill, requests 20, storage 11.50, so transfer alone is 92.7% of the total, requests 4.6% and storage 2.7%. On a shape like this one, effort spent on storage rates is effort wasted.

The levers in this calculation

Monthly GB Transferred and Cost per GB are the larger levers: a 1% change in either moves Monthly CDN Cost by 0.93%, against 0.03% for Storage Cost per GB. That is not a coincidence. Each input's sensitivity is simply its share of the bill, so transfer at 92.7% of the total moves the result by roughly 0.93% per 1%, and storage at 2.7% moves it by 0.03%.

Transfer volume and transfer rate are interchangeable in the arithmetic, since only their product enters the sum. Halving the bytes served has exactly the same effect as halving the rate paid for them, which is worth knowing because one of those is usually within a team's control and the other usually is not.

How the math works

Total is transfer gigabytes times the transfer rate, plus millions of requests times the per-million rate, plus stored gigabytes times the storage rate. The three components are independent and summed, with the annual figure being twelve times the monthly total.

Two things the model does not see are worth naming, because both add cost rather than reduce it. The first is the second transfer leg: this calculation measures bytes going from edge to user, but every cache miss also pulls the object from the origin, and that origin egress is billed separately by whoever hosts it. At a 90% cache hit ratio, the default 5,000 GB implies roughly 500 GB fetched from origin; at 70% it is 1,500 GB. A site with a poor hit ratio pays twice for the same content.

The second is the pricing structure itself. Rates are tiered by volume and vary by region, so a flat per-gigabyte figure overstates the bill at high volume and understates it for traffic weighted toward expensive regions. Commitment discounts, minimum monthly charges, and separate line items for features such as edge compute or image transformation sit outside the model as well.

Example Scenario

5,000GB × $0.08 + 20M requests × $1 + storage = $431.50.

Inputs

Monthly GB Transferred:5,000
Cost per GB (in your currency):$0.08
Monthly Requests (millions):20
Cost per Million Requests (in your currency):$1
Storage (GB):500
Storage Cost per GB:$0.023
Expected Result$431.50
Expected Result breakdown
Transfer Cost$400.00
Request Cost$20.00
Storage Cost$11.50
Annual Cost$5,178.00

This example uses sample figures for illustration. Adjust the inputs above to match a specific situation and see how the result changes.

Sources & Methodology

Methodology

The calculator computes a monthly content delivery network cost by summing three independent components. Transfer cost is monthly gigabytes served multiplied by the per-gigabyte rate. Request cost is monthly requests in millions multiplied by the per-million-request rate. Storage cost is stored gigabytes multiplied by the monthly storage rate. The three are added to give the monthly total, and that total is multiplied by twelve for the annual figure. Each component is treated as strictly proportional to its usage metric, with rates held constant across the period. Because only the product of volume and rate enters each term, halving the volume and halving the rate produce identical results, and each input's sensitivity to a proportional change equals that component's share of the total bill. The model does not represent volume-tiered pricing, in which per-unit rates step down as usage rises, nor regional rate variation, which on transfer can differ by a multiple between markets; a single rate therefore stands for a traffic-weighted average. It also excludes origin egress, the separate charge incurred when a cache miss fetches an object from the origin server, along with commitment or reserved-capacity discounts, minimum monthly charges, one-time setup fees, taxes, and separately billed features such as edge compute, image transformation, security filtering or log delivery. Results are an estimate of baseline delivery cost only.

Frequently Asked Questions

How can CDN costs be reduced?
Three mechanisms act on the meters this calculator bills against. Compression shrinks each response before it crosses the wire; Brotli for text and modern image formats for pictures both reduce transferred bytes without changing what the user sees. Longer cache lifetimes reduce origin fetches, which cuts the second transfer leg that this model does not even count. And an image pipeline that resizes to the delivered dimensions rather than serving full-resolution originals tends to move transfer volume more than either of the other two on image-heavy sites, because oversized images are usually the largest single source of waste. Since transfer is 92.7% of the default bill, anything acting on bytes served moves the total far more than a better storage rate does.
How do providers differ?
Pricing models differ more than the networks do. Some charge per gigabyte with rates that step down by volume and vary by region; some bundle transfer into a flat subscription; some price request volume separately and some fold it in. Feature sets diverge too, around edge compute, image transformation, security filtering and the granularity of cache control. Because rates and packaging change frequently, a current quote for the actual traffic shape beats any comparison written down in advance, and this calculator is agnostic: it takes whatever per-unit figures a provider quotes and shows what they produce.
Is a free tier enough?
For low-traffic sites, often yes, and free or bundled tiers are common across the market. The practical question is which meter runs out first, since free tiers are usually generous on one dimension and capped on another. A site serving modest traffic but many small API requests can exhaust a request allowance while barely touching a transfer allowance, and a site serving a few large video files does the reverse. Entering the expected figures here and comparing them against the tier limits shows which constraint binds before it costs anything.
How can usage be estimated before the first bill?
Transfer is page views multiplied by average page weight. One million page views at 2 MB each is about 2,000 GB a month, which is the figure that goes in the transfer field. Request count follows from the number of assets per page, since each image, script and stylesheet is its own request unless bundled. Storage is total asset size, which is usually the smallest and most predictable of the three. These estimates are rough by nature; once a provider dashboard reports a full month of real usage, those figures replace the estimates and the model becomes considerably more reliable.

Related Calculators

More Cloud & Tech Calculators

Explore Other Financial Tools

Spotted something off?

Calculations or display — let us know.