Size and estimate costs for Azure Application Gateway Standard_v2 and WAF_v2 with capacity unit calculation.
Fixed number of instances (each = 10 CUs)
Each CU supports 2,500 persistent connections
Each CU supports 2.22 Mbps
TLS handshakes, URL rewrites; each CU handles ~50/sec
$0.008/GB for both SKUs
Output will appear here...Standard_v2 provides Layer 7 load balancing with SSL termination, URL-based routing, multi-site hosting, and session affinity. Ideal when you manage WAF separately or do not need it.
WAF_v2 includes everything in Standard_v2 plus an integrated Web Application Firewall with OWASP Core Rule Set (CRS) 3.2, bot protection, and custom rules. The higher fixed cost reflects the WAF processing overhead.
Each Capacity Unit (CU) is the billing measure and includes:
The dimension requiring the most CUs determines your actual CU consumption. Each instance provides 10 CUs.
Set minimum instances to handle your baseline traffic without scale-up delay. New instances take 6-8 minutes to provision.
Set maximum instances to cap costs while handling traffic spikes. Monitor the CurrentCapacityUnit metric in Azure Monitor to right-size over time.
With autoscale, you are billed for the minimum instances even when idle, plus additional CUs consumed during scale-out events.
Application Gateway operates at Layer 7 (HTTP/HTTPS) and provides URL routing, SSL offloading, cookie-based affinity, and optional WAF.
Azure Load Balancer operates at Layer 4 (TCP/UDP) with ultra-low latency. It is cheaper for simple TCP distribution but lacks HTTP-aware features.
Many architectures use both: Load Balancer for internal microservice traffic and Application Gateway as the public-facing ingress with WAF protection.
The Azure Application Gateway Sizer helps you choose between Standard_v2 and WAF_v2 SKUs and estimate capacity unit requirements based on your traffic patterns. It factors in connections per second, throughput, and compute utilization to calculate the minimum and recommended capacity units. The tool also estimates monthly costs including the fixed gateway fee and variable capacity unit charges.
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.