The short version
- Measure each change on its own line: the resource or usage it touched, a baseline before, the same line after.
- Removed resource: the saving is its baseline monthly cost. Resized resource: the price difference for the hours it actually ran. Rate change (commitments): list cost minus effective cost on the covered usage.
- Use at least 7 days of billing data after each change, so one full weekly cycle is inside the window, and scale to a month.
- Order matters: count usage reductions first, then commitments on the usage that is left, or the same dollar is counted twice.
- Do not count negotiated discounts, credits, or usage that fell because the business did less.
1. Why comparing two bills does not work
A bill line is quantity times price. Between two months both move for reasons that have nothing to do with cost work:
- Quantity moves with the business. More customers, a new feature, a batch job that ran twice. A real saving of $2,000 a month can sit under $5,000 of new usage.
- Prices move. Providers change list prices, and new charges appear (for example public IPv4 addresses on AWS since February 2024).
- Discounts start and end. A Savings Plan or reservation expiring raises the bill with no change in usage. Credits ending does the same.
- Months differ in length. A 31-day month costs about 3% more than a 30-day month for anything billed by the hour.
So the whole-bill comparison is useful for one thing: noticing that something changed. It cannot say what a specific change was worth. For that you need the line.
2. The unit: one change, one line
Every change gets a record before it ships:
| Field | Example |
|---|---|
| Change | Resize orders-db from db.r6g.2xlarge to db.r6g.xlarge |
| Line it touches | The resource id, plus the usage types it bills under |
| Kind | removed, resized, rate change, or architecture change |
| Baseline window | The 30 days before the change, from billing data |
| Shipped | Date and time the change took effect |
| Measurement window | 7 days of billing data starting the day after |
The resource id is the key. In a FOCUS export it is ResourceId; in the AWS Cost and Usage Report it is line_item_resource_id. Usage that has no resource id (for example some data transfer) is measured on the usage type and account instead, and the record says so.
3. The four kinds of saving and how each is calculated
1. Removed (an idle volume, an unused load balancer, a forgotten environment). The saving is the baseline monthly cost of that resource: what it cost per day in the baseline window, times days in a month. Nothing replaces it, so there is no "after" to subtract. Check that nothing else started costing more because it is gone.
2. Resized or changed type (rightsizing, gp2 to gp3, a newer instance generation). The saving is the unit price difference times the quantity that actually ran after the change. If the new size ran 160 hours in the 7-day window instead of 168, use 160. This keeps the number honest when a resource was stopped for part of the week.
3. Rate change (Savings Plans, Reserved Instances, committed use discounts). The usage did not change, the price did. The saving is the list cost of the covered usage minus its effective cost. FOCUS defines both columns for exactly this purpose: ListCost is list unit price times quantity, and EffectiveCost includes commitment discounts and the amortized share of prepayments (FOCUS ListCost, FOCUS EffectiveCost). In the AWS Cost and Usage Report, a SavingsPlanCoveredUsage line shows the On-Demand cost and savingsPlan/SavingsPlanEffectiveCost shows what it cost under the plan (Understanding Savings Plans in the CUR). Unused commitment is a cost, not a saving: subtract it.
4. Architecture change (S3 traffic moved from a NAT gateway to a gateway endpoint, logs sampled before ingestion). One line goes down and sometimes another goes up. The saving is the baseline unit cost times the quantity that no longer flows through the old line, minus anything new the change costs (an endpoint's hourly charge, for example). Both lines go in the record.
4. Baseline and measurement windows
The baseline is the 30 days before the change, at daily granularity. Thirty days covers month-end jobs that a single week would miss. The measurement window is the first 7 full days of billing data after the change. Seven days includes every weekday and the weekend once, which is the cycle most production traffic follows.
To turn a 7-day measurement into a monthly figure, scale by hours: a month averages 730 hours and a week has 168, so multiply by 730 / 168, about 4.35. For the removed and resized kinds, use the baseline unit price, not the price on the day you measure, so a provider price change during the window does not count as your saving (or your loss).
Billing data arrives with a delay. On AWS, Cost Explorer refreshes cost data at least once every 24 hours (Cost Explorer) and the Cost and Usage Report is updated up to three times a day (Cost and Usage Reports), so allow a day or two after the window closes before reading it.
5. A worked example
Three changes on one account. Prices are illustrative inputs, not quotes.
| Change | Kind | Baseline | After (7 days, scaled) | Monthly saving |
|---|---|---|---|---|
| Delete 40 unattached volumes | removed | $320.00 per month | none | $320.00 |
| Resize a database to half the size | resized | $1,100.00 per month | $550.00 per month | $550.00 |
| S3 traffic off the NAT gateway: 20,000 GB at $0.045 per GB | architecture | $900.00 per month | $0.00 (gateway endpoint, no charge) | $900.00 |
The total measured saving is $1,770.00 per month. In the same month the bill might have gone up, because a new service launched. That does not change the $1,770.00: those three lines are lower than they would have been, by that much.
6. Doing it in SQL on a FOCUS export
AWS Data Exports can deliver a FOCUS table, so the same query works across providers that export FOCUS (AWS FOCUS export, AWS FOCUS columns). Daily effective cost for one resource, for the baseline and the measurement window:
SELECT date_trunc('day', ChargePeriodStart) AS day,
SUM(EffectiveCost) AS effective_cost,
SUM(ListCost) AS list_cost,
SUM(ConsumedQuantity) AS quantity
FROM focus_export
WHERE ResourceId = 'arn:aws:rds:us-east-1:111122223333:db:orders-db'
AND ChargePeriodStart >= TIMESTAMP '2026-10-01 00:00:00'
AND ChargePeriodStart < TIMESTAMP '2026-11-15 00:00:00'
GROUP BY 1
ORDER BY 1;
The step in the daily line is the change. The baseline is the average day before it; the measured value is the average of the 7 full days after it.
7. Order of operations: do not count a dollar twice
Usage reductions and commitments interact. If you buy a Savings Plan sized on today's usage and then remove a third of that usage, part of the commitment goes unused, and the "saving" on paper was never real. So:
- Remove and resize first, and measure those.
- Size commitments from the usage that is left, after the cleanup.
- Measure the commitment saving only on usage that the commitment actually covered, minus any unused commitment.
8. What does not count
- Negotiated discounts and credits. They change price for reasons outside the engineering work. FOCUS separates them:
ContractedCostis the cost after negotiated discounts, distinct fromListCost(FOCUS ContractedCost). - Usage that fell because the business did less. A quiet week is not a saving. The line-by-line method mostly excludes this on its own, because a resize is measured on price difference, not on total spend.
- Moving cost to another line. Replacing a managed service with self-managed instances moves cost; count the new line against the old.
- Changes rolled back because they caused a problem. If a change is undone, its line comes out of the total.
9. Have it done for you
This is how we measure the saving on our FinOps engagements, and how we invoice: one month of the measured saving, once, after the last change has 7 days of real billing data behind it. We cut your cloud bill within 30 days, every line is shown to you before the invoice, and the client keeps every month after. No savings, no payment. AWS, Azure and Google Cloud, any account size. Get a free savings assessment. Prefer to do it yourself? Compass is open source and finds AWS cost waste with a savings estimate per finding.
10. Sources
- FOCUS specification v1.4: Effective Cost
- FOCUS specification v1.4: List Cost
- FOCUS specification v1.4: Contracted Cost
- FOCUS specification v1.4: Billed Cost
- AWS: creating a FOCUS export
- AWS: FOCUS columns in Data Exports
- AWS: Understanding Savings Plans in the Cost and Usage Report
- AWS: Analyzing your costs with Cost Explorer
- AWS: What are Cost and Usage Reports
- AWS: What is AWS Data Exports
- FOCUS: the FinOps Open Cost and Usage Specification
11. FAQ
How do you measure cloud cost savings?
Line by line. Each change gets a baseline from the 30 days of billing data before it and a measurement from the 7 days after it, on the same resource or usage line. Removed resources count at their baseline cost, resized ones at the price difference for the hours they ran, and commitments at list cost minus effective cost on the usage they covered. Add the lines up.
Why can't I compare this month's bill with last month's?
Because the total moves with usage, prices and discounts that have nothing to do with the cost work. A real saving can be hidden by growth, and an expiring discount can look like a loss. The bill comparison tells you something changed, not what a change was worth.
What is the difference between list cost, effective cost and billed cost?
In the FOCUS specification, list cost is the list unit price times quantity, effective cost includes all discounts and the amortized share of commitment purchases, and billed cost is what appears on the invoice for the period. Rate savings from commitments are measured as list cost minus effective cost.
How long should I wait before measuring a saving?
Seven full days of billing data after the change, plus a day or two for the billing data to arrive. Seven days covers one weekly traffic cycle. Scale the week to a month by 730 / 168.
Do Savings Plans and Reserved Instances count as savings?
Yes, measured on the usage they actually covered: list or On-Demand cost minus effective cost, minus any unused commitment. Size them after removing waste, or the same dollar gets counted twice.
Do negotiated discounts and credits count as savings?
Not as engineering savings. They change the price you pay without any change to the infrastructure, and FOCUS records them separately as contracted cost and credits.
Last checked: 30 November 2026. Written from the FOCUS specification and the AWS billing documentation, linked below.
Related: FinOps paid from savings · AWS cost optimization guide · FinOps Watch
Beamreach