Algorithm speedup calculator

Compare elapsed time for baseline and optimized versions of the same workload.

Enter values

Start with the example below, or enter your own values.

How it works

Speedup is baseline time divided by optimized time. Use identical correctness and measurement boundaries.

Try an example

Baseline time (same unit): 120; Optimized time (same unit): 30. The form starts with these values; change them to explore your own case.

Example result: 4 ×

  1. Divide baseline elapsed time by optimized elapsed time.

Learn more in Computational performance and speedup.

Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.