# how to calculate mips?

**Answer # 1 #**

- First, determine the instruction count.
- Next, determine the execution time.
- Next, gather the formula from above = MIPS = IC / (ET*10^6).
- Finally, calculate the Million Instructions Per Second.

**Answer # 2 #**

The MIPS estimation has been utilized by computer producers like IBM to degree the “cost of computing.” The value of computers is decided in MIPS per dollar. Interests, the esteem of computers in MIPS per dollar has consistently multiplied on a yearly premise for a final couple of decades.

Required inputs for calculating MIPS are the

Step 1: Perform the Divide operation between no. of instructions and Execution time and store the value (Let X) in a variable.

Step 2: Perform the Divide operation between that variable (X) and 1 million for finding millions of instructions per second. Example:

Step 1: Perform the Divide operation between the number of cycles per second (CPU) and the number of cycles per instruction (CPI) and store the value (X) in a variable.

Step 2: Perform a Divide operation between that variable and 1 million for finding millions of instructions per second. Example:

Advantages of MIPS:

Disadvantages of MIPS: