Kubernetes Resource Units Converter
Convert a Kubernetes CPU or memory quantity such as 250m, 1.5, 512Mi or 2G into cores, millicores, bytes and other common units. It works with the suffixes the Kubernetes API accepts.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Kubernetes Resource Units Converter
- Type a Kubernetes quantity into the Quantity box, such as 250m for CPU or 512Mi for memory.
- Choose CPU or Memory so the suffixes are read correctly.
- Read the converted values for cores, millicores, bytes, Mi, Gi, M and G.
Frequently asked questions
What does the m mean in a Kubernetes CPU value?
The m stands for millicore. 1000m equals 1 CPU core, so 250m is a quarter of a core and 1500m is 1.5 cores.
What is the difference between Mi and M in Kubernetes memory?
Mi is a mebibyte, which is 1,048,576 bytes (1024 squared). M is a megabyte, which is 1,000,000 bytes. Gi and G follow the same pattern, so 1Gi is 1,073,741,824 bytes and 1G is 1,000,000,000 bytes.
Can a Kubernetes CPU request be a decimal?
Yes. 0.5 and 500m both mean half a core. The API accepts finer values, but the kubelet works in whole millicores, so very small values are rounded.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.