Guide · Ilia Dubovskii · 30 November 2026

How to Measure Cloud Cost Savings Line by Line (a Method You Can Audit)

A cloud cost saving is measured correctly line by line, not by comparing two monthly bills. The total bill moves with traffic, new features, price changes and expiring discounts, so "the bill went down by $3,000" can hide a $6,000 saving or invent one that never happened. The method below gives every change its own baseline, measures it on the provider's own billing data after the change, and adds the lines up. It works with the FinOps FOCUS export on AWS, Azure and Google Cloud, or with the AWS Cost and Usage Report.

The short version

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:

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
ChangeResize orders-db from db.r6g.2xlarge to db.r6g.xlarge
Line it touchesThe resource id, plus the usage types it bills under
Kindremoved, resized, rate change, or architecture change
Baseline windowThe 30 days before the change, from billing data
ShippedDate and time the change took effect
Measurement window7 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 volumesremoved$320.00 per monthnone$320.00
Resize a database to half the sizeresized$1,100.00 per month$550.00 per month$550.00
S3 traffic off the NAT gateway: 20,000 GB at $0.045 per GBarchitecture$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:

  1. Remove and resize first, and measure those.
  2. Size commitments from the usage that is left, after the cleanup.
  3. Measure the commitment saving only on usage that the commitment actually covered, minus any unused commitment.

8. What does not count

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

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