Amdahl's law (parallel speed-up) calculator

Maximum speed-up from running part of a program on more processors. Enter your values and see the formula, your numbers plugged in and every step of the working. Free, no sign-up, SI and imperial units.

Formula

S = 1 / [(1 − p) + p / N]
S_max = 1 / (1 − p)

Inputs

  • Parallel fraction of the work (p), in % or other units
  • Number of processors / cores (N)

Worked example: A job that is 90 % parallel on 8 cores

  • Parallel fraction of the work p = 90 %
  • Number of processors / cores N = 8
  1. Convert inputs to SI units: p = 90 % = 0.9
  2. Serial part: 1 − p = 0.1; parallel part per core: p / N = 0.9 ÷ 8 = 0.1125
  3. S = 1 ÷ (0.1 + 0.1125) = 4.70588×
  4. Efficiency = 4.70588 ÷ 8 = 58.8235 %
  5. Even with infinite cores the serial part limits speed-up to 10×

Answer: Speed-up S = 4.70588 ; Parallel efficiency S/N = 58.8235 %; Maximum speed-up (infinite cores) S_max = 10

More software engineering calculators

Software Engineering formula sheet · All calculators · Practice problems