THE LINUX FOUNDATION PROJECTS
Tokenomicon + FinOps X 2027 San Diego · Jun 7-10 & London · Feb 8-9 Apply to attend
See what is coming in FOCUS v1.5
Docs navigation
On this page

    Determine Effective Savings Rate

    FOCUS Versions

    v1.3 v1.4

    Context

    The Effective Savings Rate (ESR) is a KPI to track the efficiency of using commitment discounts.

    The KPI calculation is (Contracted Cost – Effective Cost) / Contracted Cost.

    Outcome: FinOps Practitioners are able to compute the ESR, which is (Contracted Cost – Effective Cost) / Contracted Cost.

    FOCUS SQL Query

    SELECT
      SUM(ContractedCost) AS ContractedCost,
      SUM(EffectiveCost) AS EffectiveCost,
      (SUM(ContractedCost) - SUM(EffectiveCost)) / NULLIF(SUM(ContractedCost), 0) AS EffectiveSavingsRate
    FROM focus_data_table
    WHERE ChargePeriodStart >= ? AND ChargePeriodEnd < ?
      AND NOT (ChargeCategory = 'Purchase' AND BilledCost > 0 AND EffectiveCost = 0)

    FOCUS Datasets

    FOCUS Columns