UTILS.
Private by default
½

Fraction to Decimal & Decimal to Fraction Converter

Convert fractions and mixed numbers to decimals, and decimals (including repeating ones like 0.(3)) to an exact fraction, mixed number and percentage.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

Enter a fraction like 3/4 or 1 1/2, or a decimal like 0.75. For a repeating decimal, bracket the repeating digits, 0.1(6), or end with … to repeat the last digit.

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.

Frequently asked questions

Can I enter mixed numbers?
Yes — write a whole part then a fraction, like 1 1/2, and it converts to 1.5.
How is the fraction found?
The decimal's digits are placed over a power of ten (for a repeating decimal, over a number like 9, 99 or 90) and reduced by the greatest common divisor, so the fraction is exact rather than an approximation.
How do I enter a repeating decimal like 0.333…?
End it with three dots to repeat the last digit: 0.333… gives 1/3 and 0.1666… gives 1/6. For a multi-digit repetend, wrap it in parentheses, e.g. 0.(3) or 0.1(6).

More tools