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.

10%100%
1.0×4.0×
Fill in the parameters and click Calculate Resources.
Copied!

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

  1. Select your application type (web API, worker, batch job, etc.).
  2. Enter the expected peak concurrency (requests or tasks in flight simultaneously).
  3. Input your observed peak CPU and memory usage from monitoring.
  4. Choose a safety headroom percentage to buffer for spikes.
  5. 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-06-15 · Reviewed by Nham Vu