Cost Management
Cost factors · pricing options · pricing calculator · Cost Management · budgets and alerts · tags
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Factors that affect cost
Azure is consumption-based: you pay for what you use. Six factors shape the bill.
| Factor | What it means |
|---|---|
| Resource type | The type of resource, its settings and its region affect the price (for example VM size and licensing, or storage type, access tier and redundancy). |
| Consumption | Pay-as-you-go charges by usage. Commitments and spare capacity lower the price (see below). |
| Maintenance | Provisioning a VM also provisions storage and networking. Deprovisioned VMs can leave those resources behind and costing money. |
| Geography | Power, labor, taxes and fees differ by location, so the same resource can cost different amounts in different regions. Network traffic is priced by billing zones. |
| Subscription type | Some subscription types include usage allowances, such as a free trial with 12 months of free products and credit for the first 30 days. |
| Azure Marketplace | Third-party solutions: you may pay for the Azure services plus the vendor's services. The vendor sets the billing structure. |
- Billing zones are not availability zones. A billing zone is a geographical grouping of regions used for data-transfer pricing.
- Inbound data transfer is sometimes free. Outbound data transfer (leaving Azure datacenters) is priced by zone. Moving data within Europe costs less than from Europe to Asia or South America.
Ways to pay less for compute
| Option | How it works | Best fit |
|---|---|---|
| Pay-as-you-go | Pay for what you use in the billing cycle | Flexible, unpredictable use |
| Reservations | Commit to specific resources for 1 or 3 years. Applies to services such as VMs, databases and storage. Up to 72% off pay-as-you-go | Stable, predictable usage |
| Savings plan for compute | Commit to an hourly spend for 1 or 3 years on eligible compute. Up to 65% off. Applies across eligible services and regions | Changing or dynamic compute |
| Spot virtual machines | Use unused Azure capacity at lower prices. Workloads can be evicted when Azure needs the capacity back | Interruptible work such as batch jobs |
| Azure Hybrid Benefit | Use on-premises Windows Server and SQL Server licenses or Red Hat and SUSE Linux subscriptions on Azure | Existing licenses |
Reservations and savings plans are billing discounts. They don't change the runtime state of your resources.
Pricing calculator
- The pricing calculator estimates the cost of provisioning resources in Azure before you deploy: single resources, a built solution or an example scenario.
- It is for information only. The prices are estimates, nothing is provisioned and you aren't charged for anything you add.
- It covers compute, storage and associated network costs, including storage type, access tier and redundancy.
- Compare monthly estimates across regions, service tiers and redundancy options before deployment.
- The Total Cost of Ownership (TCO) calculator has been retired.
Microsoft Cost Management
Cost Management is a set of tools to analyze, monitor and optimize costs. It works at billing account, subscription, resource group and management group scope.
| Need | Tool |
|---|---|
| Explore incurred costs ad hoc, with views | Cost Analysis |
| Heavier dashboards and reports | Power BI |
| Send cost data to other systems | Exports and the Cost Details API |
| Warn when cost or forecast passes an amount | Budget alerts |
| Warn about an unexpected spike or dip in daily usage | Anomaly alerts |
| Email the latest costs on a daily, weekly or monthly schedule | Scheduled alerts |
| Find ways to cut cost on existing resources | Azure Advisor cost recommendations |
- Budgets notify, they don't stop anything. Resources aren't affected and consumption isn't stopped. Budgets are evaluated every 24 hours. A subscription or resource group budget can also notify an action group to take automated actions.
- Cost Management is available at billing account, subscription, resource group and management group scope.
- Cost allocation splits shared costs between subscriptions, resource groups or tags. It doesn't change the invoice.
Tags
- Tags are key-value metadata on Azure resources, for example
Environment = Production. - Use tags to group billing data, for example by cost center or by environment.
- You can tag resources, resource groups and subscriptions, not management groups.
- Resources don't inherit tags from a resource group or subscription. Use Azure Policy to apply them. Cost Management tag inheritance only copies them into cost data: they aren't saved on the resources.
- Azure Policy can require tags (deny effect) or add them (modify effect, with a remediation task for existing resources).
- Maximum 50 tag name-value pairs per resource, resource group or subscription. Tags are plain text: never put sensitive values in them. Tag names are case-insensitive, tag values are case-sensitive.
Exam Tips
Tick each tip once you can answer it without looking.
“Estimate the cost of a solution before deploying anything” → Pricing calculator. Trap: Cost Analysis shows costs already incurred; the calculator provisions nothing and only estimates.
“Explore costs already incurred, with views and drill-down” → Cost Analysis (in Cost Management). Trap: The pricing calculator is for estimates before deployment.
“Stable, predictable usage of a specific resource committed for 1 or 3 years, deeper discount than a savings plan” → Reservations. Trap: A savings plan fits changing compute and gives a smaller discount; Spot can be evicted.
“Compute use changes across VM sizes and regions; commit an hourly spend” → Savings plan for compute. Trap: Reservations lock in a specific resource, size and region.
“Interruptible batch job, unused capacity at lower prices” → Spot virtual machines. Trap: Spot workloads can be evicted when Azure needs the capacity back.
“Budget threshold reached” → Notification (email, optionally an action group). Trap: A budget alone doesn't stop resources or consumption.
“Alert on an unexpected daily spike or dip in usage” → Anomaly alert. Trap: A budget alert fires on a cost or forecast amount, not on a change in pattern.
“Email the latest cost view on a daily, weekly or monthly schedule” → Scheduled alert. Trap: Recipients don't need Azure portal access to read it.
“Tag a resource group; do its resources get the tag?” → No: tags aren't inherited. Trap: Use Azure Policy (modify or append) to copy tags down.
“Group billing data by cost center or environment” → Tags. Trap: Tags can't be applied to management groups.
“Require every new resource to carry a tag” → Azure Policy with a deny effect. Trap: A resource lock protects against delete or change; it doesn't check tags.
“Price differs for the same VM in two regions” → Geography. Trap: Power, labor, taxes and fees vary by location.
“Data leaving Azure datacenters is priced by” → Billing zones (outbound transfer). Trap: Billing zones are not availability zones; some inbound transfer is free.
“Reuse existing Windows Server or SQL Server licenses on Azure” → Azure Hybrid Benefit. Trap: Reservations commit to usage; they don't bring licenses.
“Where is the Total Cost of Ownership calculator?” → Retired. Trap: Use the pricing calculator for estimates.
“Leftover disks and networking after a VM is deprovisioned” → Maintenance factor. Trap: Deprovisioning a VM may not remove its additional resources.
Sources
- Describe factors that can affect costs in Azure
- Explore the pricing calculator
- Overview of Cost Management
- Cost Analysis quickstart
- Create and manage budgets
- What are Azure Reservations?
- What are savings plans?
- Use tags to organize your Azure resources
- Policy definitions for tagging resources
Checked against Microsoft Learn on November 13, 2026.