Common cost analysis uses
Cost Management users often want answers to questions that many others ask. This article walks you through getting results for common cost analysis tasks in Cost Management.
View forecast costs
Forecast costs are shown in cost analysis areas for area and stacked column views. The forecast is based on your historical resource use. Changes to your resource use affect forecast costs.
In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
In the default view, the top chart has the Actual/Amortized cost and forecast cost sections. The solid color of the chart shows your Actual/Amortized cost. The shaded color shows the forecast cost.
For more information about forecasting costs, see Forecasting costs in Cost Analysis.
View forecast costs grouped by service
The default view doesn't show forecast costs group by a service, so you have to add a group by selection.
In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
Select Group by > Service name.
The view shows your costs grouped for each service. The forecast cost isn't calculated for each service. It's projected for the Total of all your services.
View forecast costs for a service
You can view forecast costs narrowed to a single service. For example, you might want to see forecast costs for just virtual machines.
- In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
- Select Add filter and then select Service name.
- In the choose list, select a service. For example select, virtual machines.
Review the actual cost for selection and the forecast cost.
You can add more customizations to the view.
- Add a second filter for Meter and select a value to filter for an individual type of meter under your selected service name.
- Group by Resource to see the specific resources that are accruing cost. The forecast cost isn't calculated for each service. It's projected for the Total of all your resources.
View your Azure and AWS costs together
Note
The Connector for AWS in the Cost Management service retires on March 31, 2025. Users should consider alternative solutions for AWS cost management reporting. On March 31, 2024, Azure will disable the ability to add new Connectors for AWS for all customers. For more information, see Retire your Amazon Web Services (AWS) connector.
To view Azure and AWS costs together, you use management group scopes in Azure.
- Create a management group or select an existing one.
- Assign the existing Azure subscriptions that you need to the management group.
- Assign the same management group to the linked account of the connector.
- Go to cost analysis and select Accumulated costs.
- Select Group by - Provider.
View New Commerce license and consumption costs
You can view your New Commerce license and consumption products along with your Azure charges in Cost analysis. Select the filter list, then select Provider, and then choose from the list of options. For example, Microsoft 365 and Dynamics 365.
You can narrow to specific seat-based or consumption charges by using the Charge type filter and selecting values of Purchase or Usage.
Currently, purchasing New Commerce products is only available for Partners.
View cost breakdown by Azure service
Viewing costs by an Azure service can help you to better understand the parts of your infrastructure that cost the most. For example, VM compute costs might be small. Yet you might accrue significant networking costs because of the amount of information emitting from the VMs. Understanding the primary cost drivers of your Azure services is essential so that you can adjust service usage, as needed.
- In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
- Select Cost by service and then group by Service tier.
- Change the view to Table.
Review invoiced charges in Cost analysis
To view your invoice details in the Azure portal, navigate to Cost analysis for the scope associated with the invoice that you're analyzing. Select the Invoice details view. Invoice details show you the charges as seen on the invoice.
Viewing invoice details, you can identify the service that has unexpected costs and determine which resources are directly associated with the resource in Cost analysis. For example, if you want to analyze charges for the Virtual Machines service, navigate to the Accumulated cost view. Then, set the granularity to Daily and filter charges Service name: Virtual machines and group charges by Resource.
View cost breakdown by Azure resource
Your services are built with Azure resources. Reviewing costs based on resources can help you quickly identify your primary cost contributors. If a service has resources that are too expensive, consider making changes to reduce your costs.
The view is only available for subscription and resource group scopes.
- In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
- Select Cost by resource.
- Change the view to Table.
View cost breakdown by selected dimensions
Dimensions allow you to organize your costs based on various metadata values shown in your charges. For example, you could group your costs by location.
- In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
- Select the Group by filter.
- Optionally, you save the view for later use.
- Select a pie chart below the graph to view more detailed data.
View costs per day or by month
Looking at daily and monthly costs can help you to better understand if there's a time of the week or year where your costs are higher. If you have more customer traffic in a holiday period, does that lead to a corresponding increase in your Azure costs? Is Friday a more costly day than Monday?
- In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
- Set the Granularity to Monthly or Daily.
View your Spot VM charges
Spot VMs can provide large cost savings for workloads that can handle interruptions. Workloads are run on unused Azure capacity. Since they can be evicted at any time, Spot VMs get a significant discount. Use the following steps to view your Spot VM charges.
- In the Azure portal, navigate to cost analysis for your scope. For example, Cost Management + Billing > Cost Management > Cost analysis.
- Add a filter for Pricing Model: Spot.
The Pricing Model dimension is also used to view on demand and reservation charges.
View your reservation charges
Reserved instances provide a way for you to save money with Azure. With reservations, you spend money up front for a given number of resources over time. Cost analysis shows the charges as they appear on your bill. The charges are shown as actual costs or amortized over the course of your reservation period.
Note
Although you can buy a reservation with a pay-as-you-go (MS-AZR-0003P) subscription, Cost Analysis doesn't support viewing amortized reservation costs. If you try to view costs with the Amortized cost metric, you'll see the same results as Actual Cost.
- In the Azure portal, navigate to cost analysis for your scope. For example, Cost Management + Billing > Cost Management > Cost analysis.
- Add a filter for Pricing Model: Reservation.
- Under Scope and next to the cost shown, select the down arrow symbol, select either Actual cost or Amortized cost metric.
Each metric affects how data is shown for your reservation charges.
Actual cost - Shows the purchase as it appears on your bill. For example, if you bought a one-year reservation for $1200 in January, cost analysis shows a $1200 cost in the month of January for the reservation. It doesn't show a reservation cost for other months of the year. If you group your actual costs by VM, then a VM that received the reservation benefit for a given month would have zero cost for the month.
Amortized cost - Shows a reservation purchase split as an amortized cost over the duration of the reservation term. Using the same example above, cost analysis shows a varying cost for each month throughout the year, because of the varying number of days in a month. If you group costs by VM in this example, you'd see cost attributed to each VM that received the reservation benefit.
View your reservation utilization
After you buy a reservation, it's important to track its utilization so that you get what you paid for. For example, if you bought 10 VMs for a year and only use five of them, then essentially half of the purchase is wasted. There are two different ways to assess your utilization:
View unused RI costs in cost analysis
To identify how much cost is currently being wasted each month for your reservation purchase, follow the steps below.
- In the Azure portal, navigate to cost analysis for the scope where your reservation is applied. For example, Cost Management + Billing > Cost Management > Cost analysis.
- Add a filter for Pricing Model: Reservation.
- Select the Amortized Cost view.
- Set the granularity to Monthly.
- Set the time period to the current year or your reservation term.
- Set the chart type to Column (stacked).
- Group charges by Charge Type.
- Review the results for
unusedreservation
values.
View utilization in Reservations
For detailed instructions, see Optimize reservation use.
View costs for a specific tag
Many Azure users apply tags to their resources such as a cost center or development environment (production and test) to better categorize charges. Tags appear as a dimension in cost analysis. You can use the dimension to gain insights into your custom tagging categorizations.
Support for tags applies to usage reported after the tag was applied to the resource. Tags aren't applied retroactively for cost rollups.
- In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
- Select Group by for your tag.
Download your usage details
Your usage details report file, in CSV format, provides a breakdown of all the charges that accrued towards an invoice. You can use the report to compare it to, and better understand, your invoice. Each billed charge on your invoice corresponds to broken-down charges in the usage report.
- In the Azure portal, navigate to the Usage and Charges tab for a billing account or subscription. For example: Cost Management + Billing > Billing > Usage + charges.
- Select the line item to download from and then select the download symbol.
- Select the usage file to download.
View monthly EA cost breakdown
Your EA enrollment accrues costs for your entire organization. Understanding how costs accrue and are invoiced over time helps you to engage the appropriate stakeholders to ensure that costs are managed responsibly.
Costs are only shown for your active enrollment. If you transferred an enrollment (inactive) to a new one (active), costs for the previous enrollment aren't shown in Cost Management.
- In the Azure portal, navigate to Cost Management + Billing > Overview.
- Select Breakdown for the current month and view your Azure Prepayment (previously called monetary commitment) burn down.
- Select the Usage and Charges tab and view the prior month's breakdown in the chosen timespan.
View enrollment monthly cost by term
Use a graphical view of your enrollment's monthly costs to understand the cost trends and invoiced amounts for a given period.
- In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
- Select your enrollment and set the enrollment term.
- Set the granularity to monthly and then set the view to Column (stacked).
You can group by and filter your data for a more detailed analysis.
View EA enrollment accumulated costs
View the net accumulated charges over time to understand overall expenditures for your organization for a given period.
- In the Azure portal, navigate to cost analysis for your scope. For example: Cost Management + Billing > Cost Management > Cost analysis.
- Select your enrollment and then view your current accumulated costs.
Next steps
- If you haven't already completed the first quickstart for Cost Management, read it at Start analyzing costs.
- Read the Cost Management documentation.