What it does
The fraction calculator has three modes:
- Calculate: add, subtract, multiply or divide two fractions or mixed numbers, such as 1 1/2 + 2/3 = 2 1/6.
- Simplify: reduce a fraction or mixed number to lowest terms, such as 6/8 = 3/4.
- Decimal to fraction: turn a decimal into a fraction in lowest terms, such as 0.375 = 3/8.
The answer updates as you type. It is shown as a mixed number, as an improper fraction and as a decimal, with the steps below.
How to use it
- Under Mode, choose Calculate, Simplify or Decimal to fraction.
- For Calculate or Simplify, type the first fraction’s whole number (leave it blank for 0), numerator and denominator. For Calculate, choose an operation and type the second fraction the same way. For Decimal to fraction, type the decimal.
- Select Copy result to put the answer on your clipboard.
Whole numbers and numerators go from −999,999 to 999,999, and denominators from 1 to 999,999. A denominator of 0, or dividing by a fraction equal to 0, has no answer, so the calculator marks the field instead. The calculator remembers your mode, operation and numbers on this device, but not a decimal you type.
How it’s calculated
Every number is a whole number, so the working is exact and nothing is rounded except the Decimal row. A mixed number is turned into an improper fraction first. To add or subtract, both fractions are given the least common multiple of the denominators. For 1 1/2 + 2/3 it reads:
1 1/2 = 3/2; 3/2 + 2/3 = 9/6 + 4/6 = 13/6
To multiply, the numerators and the denominators are multiplied, and the result is brought to lowest terms:
1 1/2 = 3/2; 3/2 × 2/3 = 6/6 = 1 (both divided by 6)
To divide, the first fraction is multiplied by the second one turned upside down:
1 1/2 = 3/2; 3/2 ÷ 2/3 = 3/2 × 3/2 = 9/4
To simplify, the numerator and the denominator are divided by their greatest common divisor:
6/8 = 3/4 (both divided by 2)
To turn a decimal into a fraction, its digits are written over a power of ten and then simplified:
0.375 = 375/1,000 = 3/8 (both divided by 125)
The calculation rests on these assumptions. A mixed number’s sign covers all of it: −1 1/2 is −(1 + 1/2). The answer is in lowest terms, with the sign in front. The decimal is exact when it ends within 10 decimal places, otherwise rounded half up to 10 (≈). A repeating decimal typed in is read as the digits typed.
Good to know
- A mixed number with a negative numerator is not accepted: put the minus sign on the whole number, so −1 1/2 is whole number −1, numerator 1, denominator 2. A fraction with no whole number can have a negative numerator, such as −1/2.
- The answer 0 6/8 is shown as 3/4, and 1 6/8 as 1 3/4, with 7/4 in the Fraction row. A fraction larger than 1, such as 8/6, is shown as the mixed number 1 1/3, with 4/3 in the Fraction row.
- A repeating decimal such as 0.333 is read as the digits typed, 333/1,000, not as 1/3.
Privacy
Everything is worked out in your browser, on your device. Nothing you type is uploaded. Only your chosen mode, operation and numbers are kept, in this browser’s storage, so the page can show them again.