Determine gross income and subtract your expenses to get net income
Divide your net income by the purchase price.
Convert this number into a percentage by moving the decmial 2 spaces to the right. That's your cap rate.