# Fraction calculator

## To add, subtract, multiply or divide fractions, follow these steps:

### Adding and subtracting fractions:

1. Find the least common multiple (LCM) of the denominators of the fractions.
2. Convert each fraction to an equivalent fraction with the LCM as the denominator.
3. Add or subtract the numerators of the equivalent fractions.
4. Simplify the resulting fraction by dividing both the numerator and denominator by their greatest common factor (GCF), if possible.
5. If necessary, convert the resulting fraction to a mixed number or improper fraction.

Example: Add 1/3 and 2/5.

1. LCM of 3 and 5 is 15.
2. 1/3 is equivalent to 5/15, and 2/5 is equivalent to 6/15.
3. 5/15 + 6/15 = 11/15
4. 11/15 cannot be simplified further.
5. The answer is 11/15.

### Multiplying fractions:

1. Multiply the numerators of the fractions.
2. Multiply the denominators of the fractions.
3. Simplify the resulting fraction by dividing both the numerator and denominator by their greatest common factor (GCF), if possible.
4. If necessary, convert the resulting fraction to a mixed number or improper fraction.

Example: Multiply 2/3 by 4/5.

1. 2 x 4 = 8
2. 3 x 5 = 15
3. 8/15 cannot be simplified further.
4. The answer is 8/15.

### Dividing fractions:

1. Flip the second fraction (the divisor) upside down.
2. Multiply the first fraction (the dividend) by the flipped second fraction (the divisor).
3. Simplify the resulting fraction by dividing both the numerator and denominator by their greatest common factor (GCF), if possible.
4. If necessary, convert the resulting fraction to a mixed number or improper fraction.

Example: Divide 2/3 by 4/5.

1. Flip 4/5 upside down to get 5/4.
2. Multiply 2/3 by 5/4: (2/3) x (5/4) = 10/12
3. 10/12 can be simplified by dividing both the numerator and denominator by 2: 10/12 = 5/6.
4. The answer is 5/6.