Kubernetes HPA Calculator

Estimate Kubernetes HPA desired replicas from current replicas, target utilization and observed load.

Need help with the calculation?
Ask AI about this article

This calculator applies the core Kubernetes Horizontal Pod Autoscaler replica formula to your current numbers. Use it to sanity-check why an HPA would scale up, scale down or stay capped by min and max replicas.

Formula used

The desired replica estimate is current replicas multiplied by current metric divided by target metric, rounded up and clamped to your min and max replicas.

Scope

This is a planning and debugging calculator. Real HPA behavior also includes readiness delays, stabilization windows, policies, missing metrics and controller sync timing.