Cloud Cost Report Analyzer
Operator: Abdulla Al Fahad. How tools are built and checked
A billed total hides what the invoice does not say: how much of it is an upfront commitment that is really spread over a year, how much of a committed discount went unused, and how much spend has no owner tag. Those answers sit in the cost and usage export, in the columns that separate BilledCost from EffectiveCost and mark commitment usage as used or unused.
The page reads FinOps FOCUS exports as CSV, gzipped CSV or Parquet, and AWS CUR 2.0 files mapped to the same columns. It streams the file and keeps only totals, so a file of several gigabytes does not have to fit in memory. It looks backwards at bills; it makes no forecast.
Key features
- Billed, effective (amortised) and list cost by day, service, sub-account and region, plus charge categories and billed totals per billing account and month
- Commitment coverage and utilisation, with unused commitment cost and a per-commitment check of purchase against amortised cost
- Untagged usage cost, the largest untagged resources, and cost per tag key and value
- Daily anomalies judged against the same weekday in earlier weeks, using the median and the median absolute deviation
- Showback of shared cost by proportional, even or fixed shares, and unit cost per month against a business metric you paste
Which columns are read and how each view is defined
A FOCUS file needs BilledCost and ChargePeriodStart. EffectiveCost, ListCost, ChargeCategory, BillingAccountId, SubAccountId, RegionName, ServiceName, ResourceId, Tags, the commitment columns, PricingCategory and BillingCurrency are used when present, and the Notes tab says which were found. Charge categories are Usage, Purchase, Tax, Credit and Adjustment; pricing categories are Standard, Committed, Dynamic and Other. FOCUS describes the effective cost of a prepaid purchase as zero, with its cost spread over later usage rows.
An AWS CUR 2.0 file is recognised by line_item_unblended_cost and line_item_line_item_type. Covered usage takes the savings plan or reservation effective-cost column, unused fees take the unused commitment columns, and each line item type is mapped to a charge category. CUR 2.0 stores tags in one nested column, which is read as JSON or as a key=value map. Check those totals against the provider's amortised view before relying on them.
How it works
Each row updates a fixed set of totals while the file is read: by day, by service, account and region, by charge category and by tag. No row is kept. Lists of services, accounts, tags and resources have hard caps, and anything past a cap goes into an (other) bucket that the Notes tab reports.
Coverage is committed usage divided by committed plus standard usage, in effective cost, and counts only usage rows that are not marked unused. Utilisation is used over used plus unused commitment cost. Dynamic pricing such as spot is outside both.
An anomaly needs at least three of the four previous same weekdays, so the first 21 days of a file are history only. The score is the gap to the median divided by 1.4826 times the median absolute deviation, with the spread floored at 5% of the median. A day is reported at a score of 3.5 or more when the gap is also at least 10% of the series' mean daily cost.
Showback takes the usage cost of services you mark as shared, subtracts the part that already carries the chosen tag, and splits the rest across the tag's values. The result is added to each value's direct cost.
Unit cost sums effective cost of all charges per month over the days that appear in your metric file, divides by the metric's sum on those days, and reports how many days matched so a short metric file is visible.
When this helps
- A finance analyst receives a 2 GB gzipped export each month and needs the unused commitment figure for the quarterly review; the page reads it in one pass and states how many rows it used.
- A platform team asks which three resources cause most of the 23.6% untagged spend in an example account; the top untagged resources list names them and their cost.
- A product owner divides March cloud cost by 39,000 orders to get 0.0824 per order and compares it with April's file using the same metric CSV.
- A shared logging account costing 468.00 is split across two teams by their direct cost, then by even shares to see how far the allocation method moves a team's total.
Opening a file
- Drop a FOCUS CSV, CSV.gz or Parquet file, or a CUR 2.0 export, or press Example.
- Watch the row count while it streams; Cancel stops reading, and a file that hits a cap says so above the results.
- Check the billed rows per billing account and month against the provider's invoice.
- Open Commitments, Tags and Anomalies to see coverage, untagged spend and flagged days.
- In Showback tick the shared services and choose a method; in Unit cost pick the metric column.
- Download the XLSX workbook, the PDF summary or the daily pivot CSV.
Example
The Example button: an invented month of March 2025 for two accounts and three services
212 rows: EC2, S3 and RDS usage for 30 days, one Savings Plan purchase of 720.00 on 1 March spread over daily usage and unused rows, 26.40 of tax, one untagged database (db-dev-1), and EC2 on-demand cost multiplied by four on 25 March.What the views show
Billed 3,214.40 and list 4,204.40; usage effective cost 3,188.00. The Savings Plan used 630.00 and left 90.00 unused, 87.5% utilisation, and its purchase equals the amortised 720.00. Commitment coverage is 20.3%. Untagged usage is 753.00. EC2 on 25 March is 199.50 against a Tuesday baseline of 79.50, a score of 30.2. Splitting RDS's 468.00 evenly across the tag team gives 234.00 each, so web totals 2,294.00 and data 609.00. The 39,000 orders in the metric file give 0.0824 per order.Limits
Coverage divides by all standard-priced usage, including services no commitment can cover, so it understates coverage for the services that are eligible.
Several billing currencies are added as plain numbers. Split the file by currency first when an export mixes them.
A commitment's purchase balances against its amortised cost only when the file holds the whole purchase term and the provider books the fee as one purchase row; otherwise the last column of the table shows a gap that is not an error.
Tag-based views read the Tags column of usage rows only; tax, credit and purchase rows carry no showback cost.
- Put the metric file's date column in YYYY-MM-DD form; the page matches it to charge days and reports how many days matched.
- Choose billed cost when you reconcile with an invoice and effective cost when you compare teams, because a prepaid purchase appears in billed cost on one day and in effective cost on every day it covers.
Common errors and how to fix them
- This file has no BilledCost and ChargePeriodStart columns
- The file is not a FOCUS cost and usage export. Export from the provider's FOCUS option, or from AWS Data Exports as CUR 2.0, and keep the original header names.
- rows were skipped for an unreadable ChargePeriodStart
- Dates must start with YYYY-MM-DD. A spreadsheet that reformatted the column to a local date needs the original export.
- The file is a ZIP archive
- Unzip it and open the CSV or Parquet file inside. Gzip files are read directly.
Best practices
- Compare the billed total of every billing account and month with the invoice first; every other view inherits that figure.
- Keep one metric CSV per business unit so a month's unit cost can be recomputed from the same files.
- Read the commitment table with its date range in mind: a plan bought mid-month shows a high unused share for the first days.
What the console already gives you
Each cloud's own cost console covers single-account views for people who have access to it. This page is for analysts who work from exported files, from several clouds in one FOCUS file, or from allocation rules the console does not hold.
Parquet files are read row group by row group, with the decompressed size of every page checked against a budget before it is allocated.
Where the anomaly test is weak
A weekday baseline cannot know about a holiday or a planned migration, so a legitimate change is reported like a fault. Tests on series that are zero most days show a large score for a single charge, which is why tax and one-off rows are excluded and only usage charges are tested.
Frequently asked questions
Why does effective cost equal billed cost in my file?
The page uses BilledCost for both when the file has no EffectiveCost column, and the Notes tab lists the missing column. With a real EffectiveCost the two differ on days covered by a prepaid commitment.
How large a file can it read?
Up to 3 GB on disk and 40 million rows, with gzip output capped at 8 GB. In a Node test on the author's machine a 185 MB CSV of 1.06 million rows took 6.5 seconds, about 28 MB a second; browsers will differ.
Why is the first anomaly only reported after three weeks?
The baseline for a day is the median of the same weekday in the previous four weeks and needs three of them. A file shorter than 22 days has no baseline, and you get a message to that effect rather than an empty list.
Does it replace FOCUS conformance validation?
No. It reads the columns it needs and reports which are missing, but it does not check every FOCUS rule, such as nullability constraints or that effective cost reconciles across a whole invoice.