Decimal to fraction converter

Type the decimal and put any repeating part in brackets. The conversion is exact, with no rounding.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter decimal number.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

Terminating: digits ÷ 10^places, then simplify. Repeating: (all digits - non-repeating digits) ÷ (10^k × (10^m - 1))

Example

Inputs: Decimal number = 0.75. Result: Fraction in lowest terms: 3/4; Percentage: 75%.

0.75
3/4

Limits and caveats

  • A rounded value like 0.333 becomes 333/1000; type 0.(3) if you mean one third.
  • Thousands separators and exponent forms like 1e-3 are not accepted.

Questions about this tool

How do I turn 0.75 into a fraction?

Write it as 75/100, then divide both by 25 to get 3/4.

How do I type a repeating decimal?

Put the repeating digits in brackets: 0.1666 repeating is 0.1(6), which becomes 1/6.

Can I type Arabic-Indic digits?

Yes. The tool accepts Arabic-Indic digits and the Arabic decimal separator, and shows the result in Western digits.