Divide the numerator -- or top number -- by the denominator -- or bottom number -- to obtain the whole number. For example 20/5 is simplified to 4/1, which is the same as 4.
Write the value as a mixed fraction if the denominator does not fully divide by the numerator. For example, 17/4 leaves a remainder of one. Write it as 4 ¼.
Round the mixed fraction to the nearest whole number if only a whole number is desired. For example, round 4 ¼ to 4, or round 4 ¾ to 5.