Decimal to Fraction Calculator
Welcome to our decimal to fraction calculator - a smart tool that helps you convert any decimal to a fraction in the blink of an eye. You'll find out how to turn a decimal into a fraction or even how to change repeating decimals to fractions. The basic idea of this fraction converter is to rewrite any decimal as a fraction - a ratio of two integer numbers.
Prefer watching rather than reading? Learn all you need in 90 seconds with this video we made for you:
Do you already know what's the difference between ratios and fractions? Head to our ratio calculator to find out!
Why is it helpful to convert a decimal to a fraction?
We use numbers in everyday life, both decimals and fractions. Although decimals may feel more natural for writing, a few problems could arise sooner or later.
For example, by using rational numbers, we are sometimes forced to round values at some point, depending on how many significant figures we need to use. Writing the same number in its fractional form gives us the exact value.
Working out fractional exponents is more straightforward with fractions than with decimals. What's ? Well, it's not so obvious at first glance. But what about ? It's easier to visualize this as . If still in doubt, compare these results using fraction exponent calculator.
This issue gets even more problematic when we deal with repeating digits, so it's worth knowing how to turn a repeating decimal into a fraction.
There are also more practical ways of using fractions instead of decimals. Imagine you're at a party and want to divide a cake or a pizza into even parts. If there is a group of six people, how much of the total would everybody get? It's either around or exactly - that's your choice.
On the other hand, you may also want to work things out the other way around by changing any fraction to a decimal or even into a percent. It all depends on the context. In the latter case, Omni's fraction to percent calculator may be helpful!
How to turn a decimal into a fraction?
Our goal is to find two integer numbers, a numerator and a denominator, which, divided by themselves, make the initial value. Let's say that we want to evaluate what is as a fraction:
Set your initial numerator to be the same as the starting number (), and set the denominator as .
Move the decimal dot to the end of numerator . Each leap corresponds to multiplying the numerator by 10.
As we've moved the dot by three digits, it means that we should multiply the denominator by 1000, which is 10 to power 3.
Work out the greatest common factor of and , which is 125. Feel free to use our GCF calculator whenever the number is less straightforward.
Divide both values by 125, the numerator is , and the denominator is .
As a result of this fraction converter, we found that as a fraction is .
How to convert a repeating decimal to a fraction?
Converting a repeating decimal to a fraction is a bit more challenging. Let's see how our decimal to fraction calculator deals with the task. Take into account , which is with two repeating digits. We can also write it as , or :
Let our number be , so that .
Multiply it by 100, which is 10 to the power 2 (the number of repeating digits). .
Subtract these two values: As you can see, by using this trick the trailing digits just cancel out!
Move the decimal dot until the value is an integer: . It's equivalent to multiplying the number by 10, so .
Divide both sides by 990, so we have .
Estimate the greatest common divisor of 619 and 990 to find if we can simplify the fraction. The gcd is, in fact, 1. It means 619 and 990 are coprime numbers, so our fraction is already in simplest form.
as a fraction is then .
How to use decimal to fraction calculator? - Fraction converter in practice
Now that we know how to change a decimal to a fraction let's take a look at a problem. Is there a difference between and ? In other words, is the number of repeating digits relevant to fraction conversion, and if so, in what way? Begin with :
- A single repeating figure means we need to find , which is .
- Multiplying by 10 results in , so that .
- The gcf of 165 and 90 is 15, so we can write the fraction in its simplest form, .
So how about turning the other decimal into a fraction following the same procedure?
- Two repeating digits mean we need to find , which is .
- Multiplying by 10 results in , so that .
- The gcf of 1815 and 990 is 165, so we can write the fraction in its simplest form, .
Great! and are precisely the same. You can check it with this decimal to fraction calculator if you aren't convinced yet! You can write your decimal in several different ways, and it doesn't change the outcome of transforming it into a fraction.
Additionally, you can convert the outcomes from an improper fraction to a mixed number. There are two ways of doing so:
Divide the numerator and the denominator, and take the integer part of the result. For the fractional part, use the modulo operator over the numerator with the denominator as a divisor.
… or rewrite the integer part at the beginning and simply convert the decimal part to a fraction. In the end, combine both pieces.
How do I convert a decimal to a fraction?
To convert a decimal to a fraction:
- Count the decimal places in your number. Call this number
10to the power of
n. That is, write
nzeroes. This is your denominator.
- Remove the decimal dot and any leading zeroes from your decimal number. This is your numerator.
- If possible, simplify the fraction.
What is 1.8 as a fraction?
1.8 as a fraction is 9/5. To arrive at this answer, first write 1.8 = 18/10, and then simplify by dividing both the numerator and the denominator by their greatest common divisor, i.e. by 2.
What is 0.9999... as a fraction?
0.9999... is 1. To get this astounding result, we suppose that x = 0.9999...., then multiply both sides by 10. We now have 10x = 9.9999..... Now, we subtract from the latter equation the former: 10x − x = 9.999... − 0.999... and so 9x = 9. Therefore, x=1.
Can every decimal be written as a fraction?
Yes, every decimal can be written as a fraction. A decimal is in fact a fraction whose denominator is a power of
1000. However, simplifying this fraction (by dividing both its numerator and denominator by their greatest common factor), we may end up with a fraction whose denominator is no longer a power of
10. For instance,
0.5 written as a fraction (after simplification) is