Decimal to Fraction Calculator
Turn a decimal into a fraction, including repeating decimals.
Put a repeating part in brackets: 0.1(6) is 0.1666…
Try
Result
You entered
Fraction
Mixed number
Decimal
Percent
Show the work
Recurring decimal
Let be the value of the decimal; the bar marks the digits that repeat forever.
Multiplying by a power of 10
Multiplying by moves the decimal point 6 places right, so the repeating block starts just after the point.
Subtracting the shifted decimals
Subtract from both sides: the two repeating tails are identical and cancel, leaving a whole number. Here is the number of non-repeating digits and is the length of the repeating block.
Using
Lowest terms
The equation gives with and ; divide both by their highest common factor .
Using
Result
So the decimal as a fraction is .