Skip to content

CPU Execution Time Calculator

Compute program CPU time from the instruction count, cycles per instruction (CPI), and clock rate using the CPU performance equation — the iron law of processor performance.

Inputs

Program and processor

Results

Enter a value to see results.

Execution time

t = \dfrac{IC \times CPI}{f} = \dfrac{1,000,000,000 \times 1.5}{3\,\text{GHz}} = ?\,\text{sec}

Total cycles

C = IC \times CPI = 1,000,000,000 \times 1.5 = ?

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?