Home · Everyday · Tech, Text & Media · Amdahl's Law Calculator

Amdahl's Law Calculator

Predicts the overall speedup of a program when only a fraction of it is parallelised, and shows the ceiling set by the serial part.

Your figures

Example result — edit the figures to make it yours

4.7059

Overall speedup

Computed from the inputs on this page with the formula below — change any figure and every result updates.

Theoretical maximum 1/(1 − p)10.0000

What this calculator does

Predicts the overall speedup of a program when only a fraction of it is parallelised, and shows the ceiling set by the serial part. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

S = 1 / ( (1 − p) + p/s )

Amdahl's law splits a workload into a serial fraction (1 − p) that never speeds up and a parallel fraction p accelerated by a factor s, giving overall speedup S = 1/((1 − p) + p/s). The defaults — 90% parallel running 8× faster — yield about 4.71× overall, not the naive 7.2×.

The serial fraction is a hard ceiling: even infinite parallel speed gives at most 1/(1 − p), so p = 0.9 can never beat 10×. Real systems do worse than the formula because it ignores synchronisation, memory bandwidth and load imbalance; use it as an optimistic bound when deciding whether more cores are worth buying.

Worked example

With the example inputs this page opens with (parallelisable fraction p (0–1) 0.9, speedup of the parallel part s 8), the result is 4.7059 — overall speedup. Computed from the inputs on this page with the formula below — change any figure and every result updates.

Quick reference

Quick reference — varying Speedup of the parallel part s
Speedup of the parallel part sOverall speedupTheoretical maximum 1/(1 − p)
21.81818210
43.07692310
84.70588210
166.410
327.80487810
648.76712310

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

Why does doubling cores stop helping?

Each doubling only shrinks the p/s term; once it is small next to (1 − p), the serial part dominates the total time and further cores change almost nothing.

How does the Amdahl's Law Calculator work?

Predicts the overall speedup of a program when only a fraction of it is parallelised, and shows the ceiling set by the serial part. Parallel fraction p · Parallel speedup s → Overall speedup. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Amdahl's Law Calculator need?

Parallel fraction p · Parallel speedup s → Overall speedup. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Amdahl's Law Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.