Kubernetes Resource Sizing Calculator
Estimate CPU and memory requests/limits for Kubernetes pods based on app type, concurrency level, and observed usage.
Use the Kubernetes Resource Sizing Calculator
Workload Parameters
From your monitoring (e.g. Prometheus container_cpu_usage_seconds_total). 1000m = 1 vCPU.
From your monitoring. Enter 0 if unknown — a heuristic will be used.
CPU Request
—
Scheduling guarantee
CPU Limit
—
Throttle ceiling
Memory Request
—
Scheduling guarantee
Memory Limit
—
OOMKill ceiling
Pod Spec Snippet
Sizing Notes
Cluster Capacity Estimates
Total cluster CPU / memory needed
—
Summary
Kubernetes resource sizing determines the CPU and memory requests and limits you declare in a pod spec. Getting these numbers right prevents OOMKill events, avoids CPU throttling, and ensures the scheduler places pods on nodes with enough capacity. This calculator estimates those values from your application type, concurrency, and observed peak usage — with a configurable safety buffer on top.
How it works
- Select your application type (web API, worker, batch job, etc.).
- Enter the expected peak concurrency (requests or tasks in flight simultaneously).
- Input your observed peak CPU and memory usage from monitoring.
- Choose a safety headroom percentage to buffer for spikes.
- The calculator outputs recommended requests and limits for your pod spec.
Use cases
- Right-size pods before deploying to production to avoid OOMKill events.
- Convert raw Prometheus/Datadog metrics into pod resource fields.
- Estimate cluster capacity needed for a given workload count.
- Tune the requests/limits ratio to improve bin-packing on nodes.
- Prepare resource specs for HorizontalPodAutoscaler threshold planning.
- Compare resource profiles across different application types.