How to use the fraction calculator
- On the Fraction math tab, type each fraction’s numerator (top) and denominator (bottom). For a mixed number such as 1 1/2, also fill the small whole-number box.
- Pick the operation: +, −, × or ÷. The answer appears instantly as a simplified fraction, a mixed number and a decimal, followed by every step of the working.
- Use the Simplify tab to reduce a single fraction, or Decimal → fraction to convert a decimal (including repeating decimals) into a fraction.
Rules for fraction arithmetic
For addition and subtraction the calculator uses the least common denominator rather than simply multiplying the denominators, which keeps the numbers smaller and the steps easier to follow. Every answer is then reduced by dividing the numerator and denominator by their greatest common divisor (GCD).
Worked example: 1 1/2 + 2/3
- Convert the mixed number: 1 1/2 = (1 × 2 + 1)/2 = 3/2.
- The least common denominator of 2 and 3 is 6, so 3/2 = 9/6 and 2/3 = 4/6.
- Add the numerators: (9 + 4)/6 = 13/6.
- GCD(13, 6) = 1, so 13/6 is already in simplest form.
- As a mixed number, 13 ÷ 6 = 2 remainder 1, so the answer is 2 1/6, or 2.1666… (2.16) as a decimal.
Simplifying fractions
A fraction is in simplest form when the numerator and denominator share no common factor other than 1. To simplify 84/126, find the GCD with the Euclidean algorithm: 126 = 1 × 84 + 42, then 84 = 2 × 42 + 0, so the GCD is 42. Dividing both parts by 42 gives 2/3.
Converting decimals to fractions
A terminating decimal becomes a fraction over a power of ten: 0.375 has three decimal places, so 0.375 = 375/1000 = 3/8 after dividing by the GCD of 125.
A repeating decimal needs one extra trick. For x = 0.1666…, multiply by 100 to get 100x = 16.666… and by 10 to get 10x = 1.666…. Subtracting cancels the endless tail: 90x = 15, so x = 15/90 = 1/6. Enter 0.1 as the decimal and 6 as the repeating digits to see these steps.
| Decimal | Fraction | Decimal | Fraction |
|---|---|---|---|
| 0.5 | 1/2 | 0.333… | 1/3 |
| 0.25 | 1/4 | 0.666… | 2/3 |
| 0.125 | 1/8 | 0.1666… | 1/6 |
| 0.2 | 1/5 | 0.142857142857… | 1/7 |
| 0.0625 | 1/16 | 0.111… | 1/9 |
Long decimals that come from measurements rarely have an exact “nice” fraction, so the calculator also offers an approximation. Choose Nearest 1/16 to round to the nearest sixteenth of an inch — 0.33 becomes 5/16, off by 0.0175. The best fraction with denominator ≤ 1000 option uses continued fractions to find the closest simple fraction, which turns 3.14159 into 355/113 (off by about 0.0000029).