About this tool
Convert between fractions and decimals in both directions, all in your browser. Type a fraction such as 3/4, -5/8 or a mixed number like 1 1/2 to get its decimal, or type a decimal to get the exact fraction in lowest terms. Every result also shows the mixed number and the percentage.
Terminating decimals are converted exactly: the digits become the numerator over a power of ten (0.375 = 375/1000), then the fraction is divided by the greatest common divisor (3/8). Repeating decimals are handled algebraically: put the repeating block in brackets, so 0.(3) gives 1/3 and 0.1(6) gives 1/6, or end the number with … (or three dots) to repeat its last digit, so 0.1666… gives 1/6. A decimal typed without either marker is taken as written, so 0.333333 stays 333333/1000000. The arithmetic uses exact big-integer arithmetic, so even long decimals reduce without rounding error.