Decimal to Fraction Converter

Turn finite decimals and repeating decimals like 1.2(34) into the simplest exact fraction.

Examples
Fraction result
Simplified fraction
Mixed number
Decimal type
Enter a finite or repeating decimal.

Every conversion happens in your browser — the decimal you type never leaves your device.

FAQ

How do I type a repeating decimal?

Put the repeating part in parentheses: 0.(3) means 0.333..., and 1.2(34) means 1.2343434.... Plain decimals like 0.125 work too.

Is the fraction exact?

Yes. The tool works from the digits you type, then reduces the numerator and denominator by their greatest common divisor. It does not guess a repeating pattern from a rounded decimal.

Why show a mixed number too?

The simplified fraction is the exact answer. The mixed-number row is just another way to read values greater than 1, so 1.25 shows as 5/4 and 1 1/4.