Works on this device
Performance Improvement Calculator
Enter a time or a rate before and after a change, such as a page load time, to see the time saved, the percentage reduction and the speed-up. You can also find a target time, use Amdahl's law when only one part gets faster, and compare many rows at once. The numbers are your own measurements: nothing is measured here.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out, for example Improvement from two times.
- Enter the values you measured and choose their units. Use the same way of measuring for before and after.
- Read the time saved, the percentage and the speed-up. For many pages or tests, choose Before and after for many rows.
The formulas
- Time reduced by (%) = (before − after) ÷ before × 100.
- Speed-up = before ÷ after for times, or after ÷ before for rates.
- Throughput increased by (%) = (before ÷ after − 1) × 100: how much more work fits in the same time.
- Rate increased by (%) = (after − before) ÷ before × 100.
- Target time = before × (1 − reduction ÷ 100), or before ÷ wanted speed-up.
- Amdahl's law: overall speed-up S = 1 ÷ ((1 − p) + p ÷ s), where p is the share of the old time that is made faster and s is the speed-up of that part. The most it can reach is 1 ÷ (1 − p).
Two percentages that are easy to mix up
A page that loaded in 4.2 s and now loads in 2.8 s saves 1.4 s. Its time is reduced by 33.33%, because 1.4 is a third of 4.2. Its speed-up is 4.2 ÷ 2.8 = 1.5, so 50% more pages fit in the same time. Both are true; say which one you mean.
A time cut by 50% is a speed-up of 2, and a time cut by 90% is a speed-up of 10.
Worked example
Amdahl's law: images take 60% of a page load, and a change makes them load 3 times as fast. S = 1 ÷ (0.4 + 0.6 ÷ 3) = 1 ÷ 0.6 = 1.667, so the whole page loads 40% faster in time. Even endlessly fast images give at most 1 ÷ 0.4 = 2.5 times.
To reach a speed-up of 1.5 with that 60%, the images must get p ÷ (1 ÷ S − (1 − p)) = 0.6 ÷ (0.6667 − 0.4) = 2.25 times faster.
Rows: the example pages take 1,800, 2,500 and 2,100 ms before and 1,200, 1,900 and 2,200 ms after. Together 6.4 s become 5.3 s: 17.19% less time and a speed-up of 1.208. The product page got slower.
Limits you should know
- The calculator works only with the numbers you enter. It does not test a website or a connection. To test a page, use the Website Performance Analyzer.
- Single measurements vary. Measure several times and compare averages or medians.
- Amdahl's law assumes that the parts do not affect each other and that making a part faster costs no extra time.
- For processors and threads, the Parallel Speedup Calculator has efficiency and the Karp-Flatt measure.