We Value Your Privacy

We use cookies to enhance your browsing experience and analyze site traffic. All calculations happen locally in your browser - we never see or store your data. Learn more in our Privacy Policy

/
/
CalculateYogi
  1. Home
  2. Technology
  3. CPU Core Calculator
Technology

CPU Core Calculator

Work out real speedup from a parallel fraction, the cores a target needs, and the core count a request rate demands — with Amdahl's ceiling shown.

Start from a scenario
What do you want to work out?

Enter how much of the work runs in parallel and how many cores you have. You get the speedup, the efficiency per core, and the ceiling no core count can pass.

%

Amdahl's Law, for reference

Speedup at each core count and parallel fraction, computed from the law. The column headings match the table published in LLNL's Introduction to Parallel Computing Tutorial.

CoresP = 50%P = 90%P = 95%P = 99%
101.815.266.899.17
1001.989.1716.8050.25
1,0001.999.9119.6290.99
10,0001.999.9919.9699.01
100,0001.999.9919.9999.90
Did this calculator solve your problem today?

Contributor

Reviewed by

Last updated: September 14, 2026
SupportI build these free tools with love, late nights, and way too much coffee. If this calculator helped you, a small donation would mean the world to me and help keep this site running. Thank you for your kindness!

Related Calculators

You might also find these calculators useful

Server Capacity Calculator

How many users one server holds, and what limits it

VM Sizing Calculator

The machine N users need, and how many of them

RAM Requirement Calculator

Calculate optimal RAM for your PC, workstation, or server

Bottleneck Calculator

Find which part limits your PC, measured in fps

Size CPU cores on the law, not on a rule of thumb

More cores stop helping long before you run out of budget, and Amdahl's Law says exactly where. Enter the share of your work that runs in parallel and this calculator gives the real speedup at any core count, the ceiling no machine can pass, and the cores a target needs — or tells you plainly that the target is unreachable. Two sizing modes turn a measured load into a core count using the utilization law, with the cost of every headroom choice shown beside it.

What Amdahl's Law says about CPU cores

Split a program into the part that can run on many cores at once (the parallel fraction P) and the part that cannot (the serial fraction, 1 − P). Adding cores shortens only the first part; the second takes the same time on one core as on a thousand. So the speedup is bounded by 1 ÷ (1 − P) however much hardware you buy. At P = 0.95 that bound is 20×, and reaching even 19× of it takes hundreds of cores. This is why a core count chosen from a workload label rather than from a measured parallel fraction tends to be wrong in both directions.

Amdahl's Law

How to use the CPU core calculator

1

2

3

4

5

6

When to use it

Deciding whether to buy more cores

An engineer with a 95%-parallel job checks the ceiling, sees 20×, and finds that 64 cores already reach 15.4× — 77% of everything unlimited hardware could ever give.

Answering an impossible performance target

A team is asked to make a 60%-parallel service twice as fast. The ceiling is 2.5× and they already sit at 2.1×, so the answer is to raise P, not to buy hardware.

Sizing a service from its own traffic

A platform engineer turns 500 requests per second at 40 ms of CPU each into a core count at a chosen utilization, with the queueing cost of that choice shown.

Right-sizing a machine already in production

A database sitting at 92% is converted into CPU demand and re-sized to a target, which is the same arithmetic run in reverse.

Writing a Kubernetes CPU request

The same answer is given in millicores, which is the unit a container request actually takes.

Why size cores this way

The ceiling is the first thing to know

A target above 1 ÷ (1 − P) cannot be bought at any price. Knowing the ceiling before you shop is worth more than any recommended core count.

Efficiency falls long before the ceiling

Speedup per core drops steadily as N rises. The table shows where each extra core stops paying for itself, in your own numbers.

A measured load beats a workload label

“Database” and “web server” do not have parallel fractions; programs do. Both sizing modes take what you can actually measure.

Headroom is a choice with a price

Target utilization is not a standard anybody publishes. The page takes it as an input and shows the cores and the queueing each choice costs.

Threads are not cores

SMT exposes two hardware threads per physical core. The page reports both and never presents the thread count as extra throughput.

It answers in the units you deploy in

Physical cores for a machine, hardware threads for a scheduler, and millicores for a Kubernetes request — the same answer in all three.

Frequently asked questions

It depends on two things you can measure: how much CPU your work consumes, and how much of it can run in parallel. For a service, multiply the request rate by the CPU time one request costs — 500 requests per second at 40 ms each is 20 cores of demand — then divide by the utilization you want to sit at. For a single program, the parallel fraction decides it: past a certain core count the extra cores return almost nothing, and this calculator shows exactly where that point is for your P.

It states that the speedup from parallelising a program is limited by the part that stays serial. With P as the parallel fraction and N cores, speedup = 1 ÷ ((1 − P) + P ÷ N). As N grows the second term vanishes and the speedup approaches 1 ÷ (1 − P) — a hard ceiling set entirely by the serial share.

Because only the parallel part gets faster. At P = 0.90, eight cores give 4.71× and sixteen give 6.40× — double the hardware for 36% more speed. The serial tenth of the work takes the same time in both cases, and it grows as a share of the total runtime as everything around it shrinks.

1 ÷ (1 − P). At P = 0.50 it is 2×, at 0.90 it is 10×, at 0.95 it is 20× and at 0.99 it is 100×. LLNL's parallel computing tutorial puts it memorably: you can spend a lifetime getting 95% of your code parallel and never beat 20× no matter how many processors you use.

Run it on one core and on N cores and record both times. The measured speedup S gives P = (1 − 1 ÷ S) ÷ (1 − 1 ÷ N), which is the Karp–Flatt approach in reverse. A profiler works too: anything running while only one thread is busy belongs to the serial fraction.

Two, on every mainstream implementation of simultaneous multithreading — Intel Hyper-Threading and AMD SMT both expose two hardware threads per physical core. Those are scheduling slots, not two cores' worth of throughput; the real gain varies by workload and can be negative for some. This calculator reports the thread count as a count, and never as a performance multiplier.

Usually not. Kubernetes documents its own unit precisely: one CPU unit is one physical core or one virtual core, depending on the node. On most public clouds a vCPU is one hardware thread, so two vCPUs share one physical core. If you size in physical cores and deploy in vCPUs, check which one your provider means before halving or doubling anything.

Divide by 1,000. Kubernetes writes 0.1 CPU as 100m, read as one hundred millicpu or millicores, and the two spellings mean the same thing. The finest value it accepts is 1m, which is 0.001 CPU — 0.5m is not a valid request. This calculator gives every sizing answer in millicores as well as cores.

No standards body publishes a number, which is why this page takes it as an input rather than asserting one. The trade-off is concrete: for a single queue, mean response time is service time ÷ (1 − utilization), so 70% costs about 3.3× the service time and 90% about 10×. Burst traffic, failover capacity and background work all come out of the same headroom.

CalculateYogi

The most comprehensive calculator web app. Free, fast, and accurate calculators for everyone.

Calculator Categories

  • Math
  • Finance
  • Health
  • Conversion
  • Date & Time
  • Statistics
  • Science
  • Engineering
  • Business
  • Everyday
  • Construction
  • Education
  • Technology
  • Food & Cooking
  • Sports
  • Climate & Environment
  • Agriculture & Ecology
  • Social Media
  • Other

Company

  • About
  • Contact
  • Contributors

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy

© 2026 CalculateYogi. All rights reserved.

Sitemap

Made with by the AppsYogi team