DDecimal to Fraction

Decimal to Fraction: How to Convert, with Worked Examples

Decimal to Fractionphrase

Decimal to fraction means rewriting a number that has a decimal point as a ratio of two whole numbers, such as 0.75=340.75 = \frac{3}{4}. The value stays the same, only the way it is written changes.
d=D10nd = \frac{D}{10^{n}}

Decimal to fraction is the process of rewriting a number that has a decimal point as a ratio of two whole numbers, such as turning 0.750.75 into 34\frac{3}{4}.

Nothing about the number changes during the conversion. A decimal and its fraction are two spellings of one value, so the skill is really about reading place value correctly and then tidying the result.

What does decimal to fraction mean?

Every decimal is already a fraction in disguise. The number 0.750.75 means 7 tenths plus 5 hundredths, which is 75 hundredths, and “75 hundredths” is exactly the fraction 75100\frac{75}{100}. The digits after the point supply the numerator, and the place value of the last digit supplies the denominator.

That is why only certain denominators appear at first: 10, 100, 1000 and so on. The third place after the point is the thousandth place, so a decimal such as 0.6250.625 is read as 625 thousandths, or 6251000\frac{625}{1000}.

Any number you can write as a fraction of two integers (with a nonzero bottom) is a rational number. Converting a decimal to a fraction is the test of whether a decimal is rational, and for decimals that end, the answer is always yes.

Where do the words decimal and fraction come from?

“Decimal” comes from the Latin decimus, meaning “tenth”, which in turn comes from decem, “ten”. The word points straight at the structure: each place is one tenth the size of the place to its left.

“Fraction” comes from the Latin fractio, “a breaking”, from the verb frangere, “to break”. It is the same root as “fracture”. A fraction is a whole that has been broken into equal pieces.

Decimal fractions were pushed into European arithmetic by the Flemish mathematician Simon Stevin, whose short book De Thiende (“The Tenth”) appeared in 1585. He did not use a point. He wrote small circled numbers above the digits to mark each place, and the compact point and comma came later.

How do you convert a decimal to a fraction?

The whole method fits in one formula. If the decimal has nn digits after the point, and DD is the whole number you get by deleting the point, then

d=D10nd = \frac{D}{10^{n}}

In words: put the digits over a 1 followed by as many zeros as there are decimal places. Then simplify.

  1. Count the digits after the decimal point. Call that count nn.
  2. Write those digits (without the point) as the numerator.
  3. Write 10n10^{n} as the denominator: 10, 100, 1000 and so on.
  4. Divide top and bottom by their greatest common factor to reach simplest form.

If there is a whole-number part, convert only the decimal part and keep the whole number in front for a mixed number. You can also fold everything together into an improper fraction, which is usually friendlier for later algebra.

Quick check

Which fraction equals 0.060.06 in simplest form?

Worked examples: 0.75, 2.375 and 0.0125

Example 1. The decimal 0.750.75 has two decimal places, so it starts as 75100\frac{75}{100}. The greatest common factor of 75 and 100 is 25.

75100=75÷25100÷25=34\frac{75}{100} = \frac{75 \div 25}{100 \div 25} = \frac{3}{4}

Example 2. The decimal 2.3752.375 has three decimal places. Deleting the point gives 2375 over 1000. The greatest common factor is 125.

2.375=23751000=198=2382.375 = \frac{2375}{1000} = \frac{19}{8} = 2\frac{3}{8}

Check: 19÷8=2.37519 \div 8 = 2.375. The mixed number and the improper fraction are the same value.

Example 3. The decimal 0.01250.0125 has four decimal places, so the denominator is 10000. The digits after the point read 0125, and a leading zero adds nothing to the numerator, so the numerator is 125.

0.0125=12510000=1800.0125 = \frac{125}{10000} = \frac{1}{80}

Zeros after the point still count when you decide nn. They are the reason the denominator is large.

Try this: Convert 0.640.64 by reading it aloud as “sixty-four hundredths”, writing 64100\frac{64}{100}, and simplifying. Then divide your answer’s top by its bottom on a calculator to confirm you get 0.640.64 again. (The answer is 1625\frac{16}{25}.)

How do you convert a repeating decimal to a fraction?

A repeating decimal such as 0.36‾0.\overline{36} never ends, so there is no last place to read a denominator from. Algebra solves it by shifting the decimal and subtracting, which cancels the endless tail.

Let x=0.36‾x = 0.\overline{36}. The repeating block has two digits, so multiply by 100:

100x=36.36‾100x = 36.\overline{36} 100x−x=36⇒99x=36⇒x=3699=411100x - x = 36 \quad\Rightarrow\quad 99x = 36 \quad\Rightarrow\quad x = \frac{36}{99} = \frac{4}{11}

For a block that starts right after the point, the shortcut is to put the repeating digits over as many nines as there are digits in the block. When some digits come first, as in 0.16‾0.1\overline{6}, multiply twice so the tails line up: 100x=16.6‾100x = 16.\overline{6} and 10x=1.6‾10x = 1.\overline{6}, so 90x=1590x = 15 and x=1590=16x = \frac{15}{90} = \frac{1}{6}.

0.999... equals 1

Let x=0.9‾x = 0.\overline{9}. Then 10x=9.9‾10x = 9.\overline{9}, so 9x=99x = 9 and x=1x = 1. The two spellings name the same number, which surprises almost everyone the first time.

Quick check

What fraction equals 0.27‾0.\overline{27} (the digits 27 repeating forever)?

Which decimals cannot be written as fractions?

Comparison of 3/8 giving 0.375 which ends and 1/7 giving 0.142857 which repeats
Eight is only 2s, so 3/8 ends at 0.375, while the prime 7 forces 1/7 to repeat forever.

Only decimals that never end and never repeat fail the test. The decimal expansions of π\pi and 2\sqrt{2} wander forever without a repeating block, which makes them irrational numbers. No pair of whole numbers has a ratio equal to either of them.

A common trap is a rounded value. The number 3.143.14 is a perfectly good terminating decimal, equal to 15750\frac{157}{50}, but it is not π\pi. It is a truncation of π\pi, and the fraction 227≈3.142857\frac{22}{7} \approx 3.142857 is another approximation. Neither equals π\pi exactly.

Terminating and repeating decimals together cover every rational number, and adding the irrational ones gives the real numbers. You can also predict which kind a fraction will produce without dividing.

Will it end or repeat?

Simplify the fraction first. If the denominator has no prime factors except 2 and 5, the decimal ends, as in 38=0.375\frac{3}{8} = 0.375. Any other prime factor forces a repeat, as in 17=0.142857‾\frac{1}{7} = 0.\overline{142857}.

Quick check

Which of these cannot be written as a fraction of two whole numbers?

Common mistakes when converting decimals to fractions

Place value boxes showing the 5 in 0.05 sits in hundredths, so 5/100 is right, 5/10 is wrong
The 5 in 0.05 sits in the hundredths place, so the denominator is 100, not 10.

The most frequent error is putting the wrong denominator under the digits. Students see 0.050.05 and write 510\frac{5}{10}, which is 0.50.5. The zero after the point pushes the 5 into the hundredths place, so the correct fraction is 5100=120\frac{5}{100} = \frac{1}{20}.

Other slips to watch for:

  • Stopping before simplifying, so 75100\frac{75}{100} is left as the final answer.
  • Dividing the top and bottom by different numbers, which changes the value.
  • Treating 0.330.33 and 13\frac{1}{3} as the same. The decimal 0.330.33 is exactly 33100\frac{33}{100}, while 13\frac{1}{3} is 0.3‾0.\overline{3}.
  • Reading 0.250.25 as 125\frac{1}{25} because the digits “look like” a bottom number.

A reliable self-check is to divide your numerator by your denominator. If you do not get the original decimal back, a step went wrong.

Decimal to fraction chart and notation around the world

Some conversions are worth memorizing, because they appear constantly.

Decimal Fraction Decimal Fraction
0.1250.125 18\frac{1}{8} 0.50.5 12\frac{1}{2}
0.20.2 15\frac{1}{5} 0.6250.625 58\frac{5}{8}
0.250.25 14\frac{1}{4} 0.750.75 34\frac{3}{4}
0.3750.375 38\frac{3}{8} 0.80.8 45\frac{4}{5}

Notation differs between countries and textbooks. The United States, the United Kingdom and many other countries write 0.750.75 with a point, while much of continental Europe and Latin America writes 0,750{,}75 with a comma. The two conventions also swap roles for grouping digits, so “1,500” can mean fifteen hundred or one and a half depending on where the page was printed.

Repeating decimals have variants too. A bar over the block, 0.3‾0.\overline{3}, is common in the United States. Many British and Commonwealth classrooms put a dot over the first and last digit of the block instead, and some texts use parentheses, as in 0.(3)0.(3). Mixed numbers such as 2382\frac{3}{8} are friendly in everyday use, but in algebra the same number is usually written 198\frac{19}{8}, since a mixed number can be misread as a product.

Where does decimal to fraction conversion show up?

Workshops and kitchens run on fractions even when calculators output decimals. A measurement of 0.3750.375 inches is 38\frac{3}{8} of an inch, which is a mark you can find on a tape measure. Reading ruler markings is nothing more than this conversion in reverse.

Money and markets used fractions for centuries. US stock prices were quoted in fractions of a dollar until the market switched to decimals in 2001, so older price tables need converting before they can be compared with modern ones.

In later math, exact fractions beat rounded decimals whenever errors would pile up, such as in algebra, probability and calculus. The three forms also link together: 0.750.75 is 34\frac{3}{4} and also 75 percent, and the decimal to percent page covers that last step. Once you can move comfortably between all three, comparing and ordering numbers becomes much easier.

Common questions

What is 0.125 as a fraction?

It is 18\frac{1}{8}. Write 125 over 1000, then divide top and bottom by 125 to get 18\frac{1}{8}.

Can every decimal be written as a fraction?

No. Decimals that end or repeat can always be written as fractions. Decimals that never end and never repeat, such as the decimal form of π\pi, are irrational and cannot.

How do you convert a decimal greater than 1, like 3.6?

Convert the whole decimal at once: 3.6=3610=1853.6 = \frac{36}{10} = \frac{18}{5}. As a mixed number, that is 3353\frac{3}{5}. Both forms are correct.

How do you convert a negative decimal to a fraction?

Ignore the minus sign, convert the positive decimal, then put the minus sign back in front. For example, −0.75=−34-0.75 = -\frac{3}{4}.

Is there a decimal to fraction formula?

Yes. If the decimal has nn digits after the point and those digits form the whole number DD, then the decimal equals D10n\frac{D}{10^{n}}. Simplify the result afterwards.

See also