⚡ ~/naveed Dev Tools
⚡ Portfolio Home 👤 About Naveed Bio & Credentials 📫 Contact Naveed Get In Touch ✍️ Engineering Blog Deep Dives 🎯 Interview Hub 1,000+ Scenarios ☸️ Kubernetes Mastery Hub 24 Modules 🎮 DevOps Arcade & Quizzes Subnet Blitz ⚡ 🗺️ DevOps Roadmaps PDFs & Guides 🤖 Morpheus Analysis AI Quant ↗ 🛠️ Developer Tools Utilities 🧪 Labs & Experiments 📄 Interactive CV & Certs 🔗 All Links & Socials ⚡ Join The Dispatch (Weekly SRE Newsletter) →
☁️ Free · No Login · 100% Browser-Based

Free Azure VM Cost Calculator
Pay As You Go vs Reserved vs Spot

Estimate your monthly Azure virtual machine bill using real East US prices from the Azure Retail Prices API. This Azure VM cost calculator compares pay as you go, 1-year and 3-year reservations, and Spot for Linux and Windows. Part of our free cloud cost calculator.

● Prices from the Azure Retail Prices API● 10 common VM sizes● Zero data sent to server

🖥️ Azure VM Cost Calculator

Pick a VM size, operating system and pricing model to see the hourly, monthly and yearly cost in East US. The calculator compares pay as you go, 1-year and 3-year reservations, and Spot, using prices pulled from the Azure Retail Prices API.

Common sizes only. East US region.
Windows adds the licence cost.
Reservations are billed as a flat rate over the term.
730 is a full month. Use less for dev VMs that shut down.

🖥️ Your Azure VM Estimate

Same VM, every pricing model

Pricing modelHourly per VMMonthly totalYearly totalvs pay as you go
Last updated: November 11, 2026. Prices pulled from the Azure Retail Prices API (East US, Linux and Windows, USD).

Azure VM Pricing by Size in East US

Azure bills virtual machines per hour of compute, with Windows adding a licence charge on top. A D2s v5 (2 vCPU, 8 GB) costs $0.096 per hour on Linux, about $70.08 per month at 730 hours. Reservations and Spot cut that sharply.

This Azure VM cost calculator is the Azure-only companion to our multi-cloud cloud cost calculator, which compares Azure against AWS, GCP and five other providers. The prices below were pulled from the Azure Retail Prices API on November 11, 2026 for the East US region. Other regions are priced differently, so treat this as a baseline.

SizevCPU / RAMFamilyLinux per hourLinux per monthWindows per hour1-yr reserved per month3-yr reserved per monthSpot per hour
B1s1 / 1 GBBurstable B$0.0104$7.59$0.0140n/an/an/a
B2s2 / 4 GBBurstable B$0.0416$30.37$0.0496n/an/an/a
B2ms2 / 8 GBBurstable B$0.0832$60.74$0.0912n/an/an/a
B4ms4 / 16 GBBurstable B$0.1660$121.18$0.1820n/an/an/a
D2s_v52 / 8 GBGeneral purpose D$0.0960$70.08$0.1880$43.25$27.69$0.0192
D4s_v54 / 16 GBGeneral purpose D$0.1920$140.16$0.3760$86.50$55.36$0.0405
D8s_v58 / 32 GBGeneral purpose D$0.3840$280.32$0.7520$172.92$110.72$0.0811
E4s_v54 / 32 GBMemory optimized E$0.2520$183.96$0.4360$108.50$72.67$0.0504
F2s_v22 / 4 GBCompute optimized F$0.0846$61.76$0.1770n/an/a$0.0190
F4s_v24 / 8 GBCompute optimized F$0.1690$123.37$0.3540n/an/a$0.0338

Reserved prices are the term total divided by 12 or 36 months and cover compute only. n/a means the price was not included in this snapshot, not that the option does not exist. Spot prices change often, so check the live rate before relying on them.

Azure Reserved Instances vs Pay As You Go vs Spot

For a D2s v5 on Linux, a 1-year reservation saves about 38% and a 3-year reservation about 60% compared with pay as you go. Spot was about 80% cheaper when checked, but Azure can evict Spot VMs, so it suits batch jobs and CI runners, not databases.

Model for D2s v5 (Linux)Monthly per VMSavingCommitmentGood for
Pay as you go$70.08baselineNoneShort-lived and unpredictable workloads
1-year reserved$43.2538%12 monthsSteady production services
3-year reserved$27.6960%36 monthsLong-lived platforms you are sure about
Spot$14.0280%None, can be evictedBatch, CI runners, stateless workers

If you run Windows Server or SQL Server, Azure Hybrid Benefit lets you bring existing licences and removes the Windows surcharge. In this calculator a Windows VM adds the difference between the Windows and Linux hourly price, and reservations do not include that licence unless you use Hybrid Benefit.

What the Azure VM Price Does Not Include

The hourly price covers compute only. Managed disks, public IP addresses, load balancers, backups and outbound data transfer are billed separately. For a realistic estimate, add storage and bandwidth. Azure charges for outbound data, which the AWS equivalent is covered in our AWS data transfer cost calculator.

To compare an Azure VM against the equivalent on AWS or GCP, use the instance sizer in the cloud cost calculator. For tips on trimming a bill you already have, read how to reduce cloud costs without breaking production.


Frequently Asked Questions

Short answers to the questions people ask most about this calculator and the pricing behind it. Every figure is a public list price for the stated region.

How is Azure VM cost calculated? ▼
Azure bills each VM per hour of compute at the rate for its size, operating system and region. Windows adds a licence charge. Storage, public IPs, backups and outbound data transfer are billed separately from the VM.
How much does an Azure D2s v5 VM cost per month? ▼
A D2s v5 (2 vCPU, 8 GB) costs $0.096 per hour on Linux in East US, which is about $70.08 per month at 730 hours. On Windows it costs $0.188 per hour.
How much do Azure reserved instances save? ▼
For a D2s v5 on Linux in East US, a 1-year reservation saves about 38% and a 3-year reservation about 60% compared with pay as you go. Savings differ by size and region.
Is Azure Spot VM pricing cheaper? ▼
Yes. The D2s v5 Spot price was about 80% below pay as you go when checked. Spot capacity can be evicted with short notice, so use it for fault-tolerant work such as batch jobs and CI runners.
Does the Azure VM price include disks and networking? ▼
No. The hourly price is for compute only. Managed disks, public IP addresses, load balancers and outbound data transfer are billed separately, so add them to get a realistic monthly total.