All calculators

Free ToolClient-sideRuns locallyNo signup

Kubernetes HPA Replica Calculator

A basic single-CPU-metric HPA estimate: current replicas times utilization over target, rounded up, then clamped between minReplicas and maxReplicas. It assumes at least one replica. Other metrics, tolerance, scale-to-zero and stabilization windows are not modeled.

Every result on this page is pre-rendered with the default inputs, so the numbers are readable with JavaScript off. Results update as you type and nothing leaves your browser. Part of the Buildopsy engineering calculators.

A basic single-metric HPA estimate: desired replicas equal current replicas times current utilization over target utilization, rounded up and clamped to the minimum and maximum. It assumes at least one replica. Other HPA behaviors are not modeled.

Live result · Desired replicas · The autoscaler formula, computed live.
Desired
10
replicas · current × util ÷ target
Replica mix
  • Current replicas
  • To add or remove
Runs locally · No data sent
Scale action
+2 to add
replicas to add
Cap status
within 1-20 bounds
against max replicas

More engineering calculators

Open the hub →

LLM Token Cost Calculator · Edge Request Cost Calculator · Context Compaction Calculator · Agent Retry Cost Calculator · Error Budget Calculator · Kubernetes HPA Replica Calculator · Trace Sampling Rate Calculator · Connection Pool Size Calculator · Downtime Cost Calculator