Decimal to Fraction Calculator

Convert any decimal, including repeating decimals like 0.333…, into its simplest fraction and mixed number.

InstantPrivate — runs in your browserFree, no sign-up

Your details

e.g. 0.375, 2.75 or −1.2
0.1666… → type 0.16 and 1. 0.142857… → 6.
Used for the ‘best approximation’, e.g. 3.14159 → 355/113.

Result

How to use

  1. 1

    Type the decimal number.

  2. 2

    If some digits repeat forever, enter how many digits at the end repeat.

  3. 3

    See the simplest fraction, the mixed number and the working.

Questions

How do I convert a decimal to a fraction?

Write the decimal over a power of 10 and simplify. 0.375 = 375/1000; dividing by the HCF 125 gives 3/8.

How do I convert a repeating decimal?

Let x = 0.333… Then 10x = 3.333…, so 10x − x = 3 and x = 3/9 = 1/3. The calculator does this for any number of repeating digits.

Why is 0.999… equal to 1?

Using the same method: x = 0.999…, 10x = 9.999…, so 9x = 9 and x = 1. They are two ways of writing the same number.

About this Decimal → Fraction tool

Decimal to Fraction Calculator — Convert any decimal, including repeating decimals like 0.333…, into its simplest fraction and mixed number. It is one of 200 free tools on namasivayam.in, made by software engineer Namasivayam Vadivelan for everyday use in India.

Everything is calculated instantly in your browser: nothing you type or upload is sent to any server, there is no sign-up, and it works on mobile and desktop. Type the decimal number.

Related reading

Articles that go with this tool

All articles →

Related tools

More maths tools you may like

All 200 tools →

Results are estimates to help you plan. They are not financial, tax or medical advice.