Kubernetes Resource Sizing Calculator
Estimate CPU and memory requests/limits for Kubernetes pods based on app type, concurrency level, and observed usage.
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.
10%100%
1.0×4.0×
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
—
Fill in the parameters and click Calculate Resources.
Copied!
Summary
Estimate CPU and memory requests/limits for Kubernetes pods based on app type, concurrency level, and observed usage.
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.
Frequently Asked Questions
Last updated: 2026-07-22 ·
Reviewed by Nham Vu