Azure VM Cost Calculator

Estimate the monthly and annual cost of an Azure virtual machine from its hourly rate and usage hours.

Formula last reviewed 4 August 2026 · How we verify our calculators

Enter details

hrs

Monthly cost (USD)

$70.08

Monthly cost (INR)
₹6,027
Annual cost (USD)
$840.96

Updates live as you type

Frequently asked questions

Azure VMs are billed per second with a per-hour rate, so monthly cost is the hourly rate times the hours the VM runs. A full month is about 730 hours.

Deallocate VMs when idle, right-size to a smaller series, use Azure Reserved VM Instances or Savings Plans for steady workloads, and Spot VMs for interruptible jobs.

No — it estimates the VM compute only. Add managed disk storage and outbound data transfer separately for a full bill.

B-series are burstable VMs that bank credits while idle and spend them under load — economical for workloads with low average CPU and occasional spikes.

Half a 730-hour bill, just by deallocating outside work hours

A D2s_v3 VM at roughly $0.096/hr, running the full 730-hour month, projects to $70.08 (0.096 × 730), about ₹6,027 at a ₹86/USD rate. Deallocate the identical VM outside a 12-hour working day instead of leaving it always on, and billable hours drop to roughly 365 a month — cutting cost to around $35, since Azure only bills while a VM is actually allocated and running, not for the time it merely exists in a subscription. Burstable B-series sizes add further savings for spiky, low-average-utilisation workloads by banking CPU credits during idle periods and spending them under load.

The figure here is for the VM compute only. Managed disks, outbound bandwidth, public IPs and other services bill separately, so combine this with the storage and bandwidth calculators for the full monthly cost. For predictable workloads, Reserved VM Instances and Savings Plans deliver substantial discounts over the pay-as-you-go rate used by this calculator, typically in the range of 30–65% depending on the commitment length.

Comparing a couple of VM sizes for the same workload through this calculator is also a fast way to check whether a smaller, cheaper size would handle the load just as well — over-provisioning "for headroom" is one of the most common sources of avoidable Azure spend.

Prices as of June 2026 and illustrative (commonly published rates). Azure pricing varies by region and changes frequently — always verify the current rate on the Azure pricing page before budgeting.