Fraction Calculator
Calculate with fractions and mixed numbers, simplified and explained.
Any decimal as a fraction in its lowest terms.
Any decimal, positive or negative.
How many of the final digits repeat forever. 0 for a normal decimal.
| Measure | Value |
|---|
Decimal to Fraction Calculator converts a decimal into an exact fraction, then reduces it to lowest terms and shows it as a mixed number. The method is the one taught in school: the digits after the point become the numerator, a power of ten becomes the denominator, and the greatest common divisor cancels the fraction down. 0.375 is 375/1000, and dividing both by 125 gives 3/8.
Repeating decimals need the other method, and the repeating digits box switches to it. For a decimal where the last few digits go on forever, you subtract the non-repeating part from the whole and divide by a difference of two powers of ten. That is why 0.3 recurring comes out as exactly one third rather than 3/10, and why 0.142857 recurring is 1/7.
The check row converts the fraction back to a decimal so you can see the conversion was exact. For a terminating decimal it matches to the last digit. For a repeating one it cannot, because the decimal form of a third never ends -- and that is the whole reason to prefer the fraction.
The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.
Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.
Looking for something this does not cover? FreeToolsZone.org is more free browser-based tools, organised by job, and it is worth a look if decimal to fraction calculator is only part of what you are working on.
The decimal to fraction calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
Type the digits you have and set the repeating digits box to how many of the final digits recur. Entering 0.3 with 1 repeating digit gives exactly 1/3.
A long decimal that is not recurring genuinely needs a large denominator: 0.123456 is 15432/125000 in lowest terms. Round the decimal first if you want a simpler fraction.
A whole number with a proper fraction beside it. 5/2 is 2 1/2 as a mixed number -- the same value written so the whole part is obvious.
Yes. The sign is carried through to the fraction and the mixed number, and the fraction itself is reduced the same way.
If the decimal to fraction calculator is not quite what you need, these other free tools solve closely related problems, and there are 25 more in math calculators.
Calculate with fractions and mixed numbers, simplified and explained.
Three calculators: percent of a number, what percent one number is, and change.
Simplify a ratio, solve for a missing term, or scale to a new total.
Count sig figs and round to a given precision.
GCF and LCM of several numbers, with factorisations.
Checked and rebuilt on 2026-10-14. The method this calculator uses is described in the section above, and corrections go through the contact page.