Decimal to Fraction Calculator

Convert a decimal number to a simplified fraction.



Enter a decimal number, then press Calculate.

Decimal to Fraction Calculator

I was splitting a £12 taxi fare with a friend, and my share was 0.75 of the total. I typed 0.75 into the tool, and it said 3/4. Three quarters of £12 is £9, so I handed the driver a ten-pound note and got a pound back. The rest of this guide is the working behind that decimal to fraction conversion.

At a glance:

  • A decimal to fraction conversion starts with one decimal in and one fraction out: count the digits after the point, write the number over 10, 100 or 1,000, and reduce by the greatest common factor.
  • One number in (default 0.75), the simplest form out, with one line of working.
  • Values over 1 give an improper fraction: 2.625 gives 21/8, not a mixed number; the mixed number 2 5/8 is worked by hand below.
  • It converts the digits you type: 0.333 gives 333/1000, not 1/3; the repeating method is worked by hand below.
  • One error, "Error: enter a decimal."

What Is a Decimal to Fraction Calculator?

This tool turns a decimal number into a fraction. A decimal like 0.75 is 75 hundredths, so the tool writes it as 75/100 and reduces it to 3/4. The Fraction article on Wikipedia sets out what a fraction is, and the Fraction Calculator on CalcSolver works with fractions once you have them. The tool on this page does one job only, and it shows the raw fraction and the factor it divided by. It does not work backwards, and it does not give a mixed number.

How to Convert a Decimal to a Fraction?

Three steps, and they never change: count the digits after the point, write the number over 10, 100 or 1,000, and divide the top and the bottom by their greatest common factor. A decimal to fraction calc does those three steps in one click.

Step-by-Step Decimal to Fraction Conversion

Take 0.75. It has two digits after the point, so write it over 100: 75/100. The greatest common factor of 75 and 100 is 25, so divide the top and the bottom by 25 to get 3/4. The steps line shows the same working: "0.75 = 75/100, simplified by dividing by 25."

How to Simplify a Fraction to Its Lowest Terms?

Divide the numerator and the denominator by their greatest common factor, and keep dividing until no number bigger than 1 divides both. For 75/100, the greatest common factor is 25, so one division gives 3/4. For 18/10, the greatest common factor is 2, so one division gives 9/5.

Decimal to Fraction Conversion Examples

The same three steps work for every terminating decimal. The number 0.5 is 5/10, and the greatest common factor is 5, so it reduces to 1/2. The number 0.08 is 8/100, and the greatest common factor is 4, so it reduces to 2/25.

How to Convert a Repeating Decimal to a Fraction?

A repeating decimal never ends, so the power-of-ten method cannot finish it: 0.333 goes on for ever, and writing it over 1,000 gives 333/1000. The true method is algebra: multiply the decimal until the repeating part lines up and cancels. A repeating decimal to fraction calculator does the algebra for you, and the sections below show it by hand.

Converting Repeating Decimals Using Algebra

Call the decimal x and multiply it by a power of ten until the repeating part lines up, then subtract. For 0.333..., let x = 0.333..., so 10x = 3.333..., and subtracting gives 9x = 3, so x = 3/9 = 1/3. For 0.1666..., let x = 0.1666..., so 10x = 1.666... and 100x = 16.666..., and subtracting gives 90x = 15, so x = 15/90 = 1/6. For 0.181818..., let x = 0.181818..., so 100x = 18.181818..., and subtracting gives 99x = 18, so x = 18/99 = 2/11. The tool does not do this: type 0.333 and it gives 333/1000, which is the terminating decimal, not the repeating one.

Repeating Decimal to Fraction Examples

0.777... gives x = 0.777..., 10x = 7.777..., 9x = 7, so x = 7/9. 0.454545... gives x = 0.454545..., 100x = 45.454545..., 99x = 45, so x = 45/99 = 5/11. Divide back to check: 7 ÷ 9 = 0.777... and 5 ÷ 11 = 0.454545...

How to Use the Decimal to Fraction Calculator?

Type the decimal into the one box, press Convert, and read the bold answer and the one line of working underneath it. A decimal to fraction calc does the counting and the reducing for you.

Enter a Decimal Number

Type the decimal into the one input box, which already holds 0.75. The box takes any number, including a negative one and a number with a whole part, so −0.75 and 2.625 both work. I check that the number I typed is the one I meant before I press Convert, because one wrong digit gives a different fraction.

Get the Fraction Result

Press Convert and the answer appears in bold, with the working underneath. For the default 0.75, the answer is "0.75 = 3/4", and the steps line says "0.75 = 75/100, simplified by dividing by 25." For 2.625, the answer is "2.625 = 21/8", an improper fraction; the mixed number 2 5/8 is worked by hand in section 5. If you type something that is not a number, the tool shows "Error: enter a decimal."

Simplify and Understand Your Answer

Read the steps line first: it shows the raw fraction and the factor the tool divided by. For 0.75, the raw fraction is 75/100 and the factor is 25, so it gives 3/4. Check it by dividing the top and the bottom by the same number.

Decimal to Fraction Conversion Examples

Six examples, and the tool confirms the first five. The sixth, 0.999..., never ends, so it is worked by hand with algebra. A decimal to fraction calc on CalcSolver gives the first five in one click, and the GCF & LCM Calculator finds the greatest common factor for each one.

What Is 0.5 as a Fraction?

The number 0.5 has one digit after the point, so it is 5/10. The greatest common factor of 5 and 10 is 5, so divide by 5 to get 1/2. One half is the most common answer in everyday life, and it is the one to learn first.

What Is 0.75 as a Fraction?

The number 0.75 has two digits after the point, so it is 75/100. The greatest common factor of 75 and 100 is 25, so divide by 25 to get 3/4. The steps line says "0.75 = 75/100, simplified by dividing by 25."

What Is 1.8 as a Fraction?

The number 1.8 is 18/10. The greatest common factor of 18 and 10 is 2, so divide by 2 to get 9/5. As a mixed number that is 1 4/5, because 9 ÷ 5 leaves a remainder of 4.

What Is 2.75 as a Fraction?

The number 2.75 is 275/100. The greatest common factor of 275 and 100 is 25, so divide by 25 to get 11/4. As a mixed number that is 2 3/4, because 11 ÷ 4 leaves a remainder of 3.

What Is 0.125 as a Fraction?

The number 0.125 has three digits after the point, so it is 125/1000. The greatest common factor of 125 and 1000 is 125, so divide by 125 to get 1/8. The tool's steps line says "0.125 = 125/1000, simplified by dividing by 125."

What Is 0.999... as a Fraction?

The number 0.999... is exactly 1, and the algebra proves it: let x = 0.999..., so 10x = 9.999..., and subtracting gives 9x = 9, so x = 1. The tool cannot do this one: type 0.999 and it gives 999/1000, which is close to 1 but not equal to it.

Decimal to Fraction Calculator with a blue calculator, an orange fraction bar and a pie chart with one orange slice
Count the digits, write the fraction, and divide by the greatest common factor.

Why Convert Decimals to Fractions?

Decimals are easy to type and fractions are easy to compare, so the conversion is the bridge between the two. A decimal to fraction converter turns 0.75 into 3/4 in one click. The topic is taught in the US Common Core in Grade 5 (5.NF) and Grade 6 (6.NS), tested at UK GCSE, covered in India's NCERT Class 6 and 7, and drilled on Khan Academy and in SAT and ACT practice.

Common Uses of Decimal to Fraction Conversion

Cooking: a recipe that calls for 0.75 cups of flour needs 3/4 of a cup, and one that calls for 0.125 cups of vanilla needs 1/8 of a cup. Money is the next: 0.75 of a £12 fare is 3/4 of it, which is £9. Measurements come third: 0.125 of an inch is 1/8 of an inch on a tape measure.

Understanding Decimal and Fraction Values

A decimal and a fraction can be the same number written two ways: 0.75, 3/4 and 75% are the same value. The fraction shows the part and the whole: 3/4 means three parts out of four. The fraction is the clearer form when you need to add, subtract or compare, and the decimal is the clearer form when you need to type a number into a calculator.

Benefits of Using a Decimal to Fraction Converter

One click gives the answer and the working. The tool shows the raw fraction and the factor it divided by, so a wrong answer can be traced back to the line where it went wrong. Work the problem by hand, then compare your answer with the tool's, and the line where they differ is the line you need to fix.

Understanding Different Types of Decimals

Four kinds of decimal, and three of them can be written as fractions. A terminating decimal ends, a repeating decimal repeats, a non-terminating non-repeating decimal never ends and never repeats. A mixed decimal has a whole part in front of it. Every decimal to fraction conversion in this guide follows the same three steps: the power-of-ten method for a terminating decimal, and algebra for a repeating decimal.

Terminating Decimals

A terminating decimal ends after a fixed number of digits, and it always converts to a fraction by the power-of-ten method. The numbers 0.5, 0.75 and 0.125 convert to 1/2, 3/4 and 1/8. A terminating decimal is the only kind the tool converts exactly, because the tool counts the digits.

Repeating Decimals

A repeating decimal repeats the same digits for ever, and it converts to a fraction by algebra, not by the power-of-ten method. The decimal 0.333... gives 1/3, and the decimal 0.1666... gives 1/6. The tool cannot do these, because you cannot type an endless decimal into the box.

Non-Terminating and Non-Repeating Decimals

A non-terminating non-repeating decimal never ends and never repeats, and it cannot be written as a fraction at all. The number pi is 3.14159... and it goes on for ever without repeating, and the square root of 2 is 1.41421... and it does the same. These are irrational numbers, and no fraction of two whole numbers equals them exactly. You can round them to a fraction that is close (22/7 is close to pi), but that is an approximation.

Mixed Decimals

A mixed decimal has a whole part in front of the point, and it converts to an improper fraction or a mixed number. The number 1.8 is 18/10, which reduces to 9/5, and as a mixed number that is 1 4/5. The tool gives the improper fraction only (21/8, not 2 5/8), so the mixed number is worked by hand: divide the top by the bottom; the whole part is the quotient and the remainder stays over the bottom.

Converting Fractions to Decimals and Percentages

The conversion runs both ways. A fraction becomes a decimal by dividing the top by the bottom, and a decimal becomes a percentage by multiplying by 100. The tool on this page does the decimal to fraction direction only, so the other two are worked by hand below.

How to Convert a Fraction to a Decimal?

Divide the numerator by the denominator. The fraction 3/4 becomes 3 ÷ 4 = 0.75, and the fraction 1/8 becomes 1 ÷ 8 = 0.125. The same idea divides whole numbers, and the Long Division Calculator gives the quotient and the decimal.

How to Convert a Decimal to a Percentage?

Multiply the decimal by 100 and add the percent sign. The decimal 0.75 becomes 75%, and the decimal 0.125 becomes 12.5%, and the decimal 1.8 becomes 180%. The decimal 0.5 becomes 50%. A decimal to fraction conversion and a percentage are the same number written two ways.

Frequently Asked Questions

The eight questions below cover every decimal to fraction conversion in this guide.

How do I convert a decimal to a fraction?

Write the decimal over 10, 100 or 1,000, and divide the top and the bottom by their greatest common factor. For 0.75, there are two digits after the point, so it is 75/100, and the greatest common factor is 25, so it reduces to 3/4. The tool on CalcSolver does those three steps in one click. I check every answer by dividing the fraction back: 3 ÷ 4 = 0.75.

How do I convert a terminating decimal to a fraction?

Use the same three steps, because a terminating decimal always has a fixed number of digits after the point. For 0.5, there is one digit, so it is 5/10, and the greatest common factor is 5, so it reduces to 1/2.

How do I convert a repeating decimal to a fraction?

Call the decimal x, multiply by a power of ten until the repeating part lines up, and subtract so the repeating part cancels. For 0.333..., let x = 0.333..., so 10x = 3.333..., and subtracting gives 9x = 3, so x = 1/3. A repeating decimal to fraction calculator does the algebra for you, and the tool on this page does not: type 0.333 and it gives 333/1000.

Can every decimal be written as a fraction?

No. A terminating decimal can, and a repeating decimal can, because both are rational numbers. A non-terminating non-repeating decimal cannot: pi and the square root of 2 go on for ever without repeating. Those are irrational numbers, and no fraction of two whole numbers equals them exactly. A rounded fraction is an approximation, not the number itself.

What is the fastest way to simplify a fraction?

Divide the numerator and the denominator by their greatest common factor in one step. The number 75/100 reduces to 3/4, because the greatest common factor is 25. The number 125/1000 reduces to 1/8, because the greatest common factor is 125. The tool on CalcSolver shows the factor in its steps line. Dividing by a smaller common factor works too, but it takes more steps.

Why does 0.999... equal 1?

Because the algebra says so: call it x, multiply by 10, and subtract. The nines cancel and leave 9x = 9, so x = 1. The nines never end, so the gap between 0.999... and 1 is no gap at all. The decimal 0.999 is not 1 (it is 999/1000, one thousandth short), and that is the difference between a terminating decimal and a repeating one.

Can I convert a mixed decimal into a fraction?

Yes. A mixed decimal has a whole part in front of the point, and it converts to an improper fraction or a mixed number. The number 3.5 is 35/10, which reduces to 7/2, and as a mixed number that is 3 1/2. The tool on CalcSolver gives the improper fraction only, so the mixed number is worked by hand: divide the top by the bottom and keep the remainder over the bottom.

What is the difference between a terminating and repeating decimal?

A terminating decimal ends after a fixed number of digits, and a repeating decimal repeats the same digits for ever. The number 0.75 terminates after two digits, and the number 0.333... repeats for ever. Both can be written as fractions: 0.75 is 3/4, and 0.333... is 1/3.

Related Calculators and Math Resources

This page sits with a small set of tools on CalcSolver. A decimal to fraction converter does the one job on this page. Only one of them has its own page on CalcSolver, and the guide says so plainly for the other three.

Fraction Calculator

The Fraction Calculator on CalcSolver works with fractions once you have them: it adds, subtracts, multiplies and divides fractions, and it is the next step after the conversion. I check every fraction by dividing it back before I trust it, and the Fraction Calculator's answer is the one to compare against.

Simplify Fraction Calculator

There is no Simplify Fraction Calculator page on CalcSolver, so the simplify method is in section 2 of this guide: divide the top and the bottom by their greatest common factor, and keep dividing until no number bigger than 1 divides both.

Repeating Decimal to Fraction Calculator

There is no separate repeating-decimal page, so the repeating method is in section 3 of this guide: call the decimal x, multiply by a power of ten until the repeating part lines up, and subtract so the repeating part cancels.

Fraction to Decimal Converter

There is no Fraction to Decimal Converter page, so the fraction-to-decimal method is in section 8 of this guide: divide the numerator by the denominator. The fraction 5/8 becomes 5 ÷ 8 = 0.625. The Long Division Calculator does the same division for whole numbers.

Try your own number now: the 0.75 from a recipe, the 0.125 from a tape measure, or the 2.625 from a shelf you are building. The tool on CalcSolver gives the fraction in one click, but the habit of counting the digits first is what actually teaches you the method.