Here's how to subtract 5/7 from 5/8:


Step 1We can't subtract two fractions with different denominators. So you need to get a common denominator. To do this, you'll multiply the denominators times each other... but the numerators have to change, too. They get multiplied by the other term's denominator. So we multiply 5 by 7, and get 35. Then we multiply 5 by 8, and get 40. Next we give both terms new denominators  8 × 7 = 56. So now our fractions look like this:


Step 2Since our denominators match, we can subtract the numerators. 35 − 40 = 5 So the answer is:


Step 3Last of all, we need to simplify the fraction, if possible. Can it be reduced to a simpler fraction? To find out, we try dividing it by 2... Nope! So now we try the next greatest prime number, 3... Nope! So now we try the next greatest prime number, 5... Nope! So now we try the next greatest prime number, 7... No good. 7 is larger than 5. So we're done reducing. There you have it! The final answer is:
