All Tools View Categories About Contact Privacy

CPU Unit Converter (millicores <-> cores)

Convert Kubernetes CPU quantities between millicores (500m) and cores (2).

Runs entirely in your browser - nothing is uploaded and no cluster connection is made.

Use "m" for millicores (500m) or a number for cores (2).

Your conversion result will appear here.

About CPU Unit Converter (millicores <-> cores)

Kubernetes CPU is expressed in cores or millicores. Requests and limits use either a decimal number of cores (2) or a millicore value (500m). The CPU Unit Converter translates between them instantly.

Paste a value such as 500m, 2 or 1.5 and the tool returns both representations so you can use whichever your manifest expects.

Everything runs locally; nothing is uploaded and no cluster is contacted.

Features

  • Two-way conversion - millicores to cores and back.
  • Flexible input - accept 500m, 2, 1.5, etc.
  • Instant - both values shown at once.
  • Copy / Download / Print - export the result.
  • Private - runs entirely in the browser.

How to Use

  1. Enter a CPU value (e.g. 500m or 2).
  2. Click Generate to see cores and millicores.
  3. Copy or download the result.

Examples

500m becomes 0.5 cores (500 millicores).

2 becomes 2000 millicores (2 cores).

1.5 becomes 1500 millicores.

Benefits

  • No mistakes - avoid mixing up m and cores.
  • Fast - immediate two-way output.
  • Correct - exact 1000m = 1 core math.
  • Private - no network calls.

Frequently Asked Questions

What is a millicore?
Kubernetes measures CPU in cores; a millicore is one thousandth of a core. 1000m equals 1 core, so 500m equals 0.5 cores.
How do I write CPU values in Kubernetes?
Use a plain number for cores (e.g. 2) or a value suffixed with "m" for millicores (e.g. 500m). Both are valid in resources.requests/limits.cpu.
Does this connect to a cluster?
No. Everything is computed in your browser and nothing is uploaded.
Is fractional input allowed?
Yes. Values like 1.5 cores or 1500m are accepted.
Can I copy the result?
Yes. Use Copy, Download or Print on the result panel.