Exact fraction arithmetic with automatic reduction, mixed numbers and repeating-decimal conversion
Numerators and denominators stay as integers, so 1/3 + 1/6 gives exactly 1/2 rather than a drifting floating-point approximation
Addition and subtraction use the least common denominator, then the result is reduced by the GCD; both steps are shown in the working
Four readable steps cover common denominators, the raw calculation, reduction and decimal conversion
Values such as 1 1/2 can be used directly, and results are shown as an improper fraction, a mixed number and a decimal
Enter 0.75 to get 3/4, or 0.1 with repeating part 6 to get 1/6 exactly
Choose 0 to 10 decimal places; digits come from integer long division with correct rounding of the last digit
Accepts 3/4, 1 1/2, 5, 0.75 and similar forms; put a minus sign first for negatives such as -2/3.
Choose add, subtract, multiply or divide, and set how many decimal places the result should show.
Three cards show the reduced fraction, mixed number and decimal; the step list explains each transformation.
In the lower panel enter the decimal, and put the repeating digits into the repeat field, e.g. 0.1 with 6 gives 1/6.
Check common denominators and reduction, and use the step list to find where handwritten work went wrong
Scale 3/4 cup by 1 1/2 to get 9/8 cup, i.e. 1 1/8 cups, without measurement rounding
Add inch fractions such as 5/8 and 3/16 without converting to decimals and losing precision
Add equity, discount or revenue-share fractions exactly, then convert to decimals only at the end
Demonstrate why rational numbers are stored as integer pairs and how repeating decimals map to rationals
Generate ready-to-copy worked examples and answer keys for fraction exercises
Binary floating point cannot represent 0.1 exactly, and repeated fraction operations accumulate that error. Keeping numerators and denominators as integers and reducing by the GCD after each operation keeps every result exact.
Fractions with different denominators must be rewritten with the same denominator first. The smallest convenient choice is lcm(a,b) = a*b / gcd(a,b), and each numerator is scaled by the same factor as its denominator.
A mixed number has an integer part and a proper fraction, so 1 1/2 = 1 + 1/2 = 3/2. Calculations use improper fractions internally; the sign applies to the whole value.
After reducing to lowest terms, a fraction has a terminating decimal exactly when the denominator has no prime factors other than 2 and 5, because decimal notation is based on 10 = 2*5. A factor of 3 or 7 produces a repeating decimal.
For x = 0.1666..., with one non-repeating and one repeating digit, 100x - 10x = 16 - 1 = 15, so x = 15/90 = 1/6. The tool computes (concatenated integer - non-repeating integer) / (power-of-ten difference) and then reduces.
| Input | Reduced result | Decimal (6 places) |
|---|---|---|
| 1/2 + 1/3 | 5/6 | 0.833333 |
| 3/4 - 1/6 | 7/12 | 0.583333 |
| 2/3 * 9/10 | 3/5 | 0.600000 |
| 5/8 / 1/4 | 5/2 | 2.500000 |
| 0.75 to fraction | 3/4 | 0.750000 |
| 0.1, repeat 6 | 1/6 | 0.166667 |