No results found
We can’t find anything with that term at the moment, try searching something else.
Instantly convert decimals to fractions or mixed numbers with our free calculator. Accurately handles both terminating and repeating decimals. Try it now!
Result
3
8
There was an error with your calculation.
The Decimal to Fraction Calculator is a highly intuitive online tool designed to seamlessly convert decimal numbers into proper fractions or mixed numbers. Whether you are working with terminating or recurring (repeating) decimals, this decimal-to-fraction converter quickly evaluates your input and delivers the precise equivalent in the form of a simplified proper fraction or mixed number.
Using this converter is straightforward. Simply input your given number in decimal form into the first field. Then, enter the number of repeating trailing decimal places (refer to the detailed explanation below) and click "Calculate."
Repeating, or recurring, trailing decimal places are the specific digits following the decimal point that repeat infinitely.
For example, suppose you need to convert the recurring decimal $0.333\ldots=0.\bar{3}$. First, enter 0.3 into the "Enter a Decimal Number" field. Then, type 1 into the second input field since this number has only one repeating trailing decimal place (the 3). (The calculator will output $\frac{1}{3}$.)
For a recurring decimal like $0.454545\ldots=0.\bar{45}$, enter 0.45 into the first field and 2 into the second field, as there are two repeating trailing decimal places (45). (The answer will be $\frac{5}{11}$.)
If you are working with a decimal such as $2.83333333\ldots=2.8\bar{3}$, enter 2.83 into the first field and 1 into the second field since there is just one repeating digit (3). (The answer will be $2\frac{5}{6}$.)
For a more complex decimal like $0.285714285714\ldots=0.\bar{285714}$, enter 0.285714 into the first field and 6 into the second field, representing the six repeating digits (285714). (The answer will be $\frac{2}{7}$.)
The calculator fully supports both positive and negative decimal inputs.
Once you submit your decimal and specify the trailing decimal places, the tool instantly performs the conversion, providing the final fraction or mixed number alongside a detailed, step-by-step explanation of the solution.
Decimal numbers generally fall into two primary categories: terminating and non-terminating.
Decimal numbers with a finite number of digits after the decimal point are called terminating decimals because they naturally end at a specific point. Conversely, decimals with an infinite string of digits after the decimal point are known as non-terminating decimals.
Non-terminating decimals are further divided into recurring and non-recurring groups. If a specific pattern of digits infinitely repeats after the decimal point, it is a recurring decimal. Examples include:
$$16.3333333\ldots=16.\bar{3}$$
or
$$3.961961961\ldots=3.\bar{9}61$$
Non-terminating decimals where the digits after the decimal point never form a repeating pattern are called non-recurring decimals. Since these numbers cannot be written out completely, they cannot be converted into exact fractions and are not valid inputs for this tool. A classic example of a non-recurring decimal is:
$$6.7102984637\ldots$$
This decimal-to-fraction converter rewrites your decimal input into either a fraction or a mixed number. When formatting as a fraction, the calculator defaults to a proper fraction—a fraction representing a value less than 1, where the numerator is smaller than the denominator. Examples of proper fractions include:
$$\frac{4}{9}\ or \ \frac{3}{7}$$
An improper fraction represents a value greater than or equal to 1, meaning the numerator is greater than or equal to the denominator. Examples of improper fractions are:
$$\frac{11}{7}\ or \ \frac{13}{2}$$
When a number consists of a whole integer combined with a proper fraction, it is known as a mixed number. Examples of mixed numbers include:
$$3\frac{3}{5}\ or \ 6\frac{17}{31}$$
Our calculator will always provide the final answer as either a fully simplified proper fraction or a mixed number.
To manually convert a decimal to a fraction or mixed number, follow these practical steps:
Every decimal number x can be mathematically written as a fraction with 1 as the denominator: $\frac{x}{1}$. First, rewrite your given number as a fraction, setting the decimal as the numerator and 1 as the denominator.
Next, count the number of digits following the decimal point. Multiply both the numerator and the denominator by 10 raised to the corresponding power. If your number has n digits after the decimal point, you must multiply the fraction's numerator and denominator by ${10}^n$.
Find the greatest common factor (GCF) of the resulting fraction's numerator and denominator. Simplify the fraction by dividing both parts by this GCF.
Finally, if your simplified result is an improper fraction, convert it into a mixed number.
Let's walk through converting the decimal number 0.125 into a fraction. Applying the steps outlined above:
Represent the number as a fraction with 1 in the denominator:
$$0.125=\frac{0.125}{1}$$
Since the number has 3 digits after the decimal point (125), we multiply both the numerator and the denominator by ${10}^3$ (which is 1,000):
$$\frac{0.125}{1}×\frac{1000}{1000}=\frac{125}{1000}$$
Next, find the greatest common factor of the numerator and the denominator, which is 125. To simplify this fraction, divide both the top and bottom values by 125:
$$\frac{125\div125}{1000\div125}=\frac{1}{8}$$
Because this is already a proper fraction, no further simplification is required.
Answer: $0.125=\frac{1}{8}$
Converting a recurring decimal to a fraction requires a slightly different algebraic approach. Follow these steps:
Write an equation where a variable (e.g., x) equals the decimal number, writing out the repeating digits only once. For example, to convert the decimal number $5.61111\ldots=5.6\bar{1}$, set up the equation as follows:
$$x=5.6\bar{1}$$
Identify the number of digits in the repeating decimal group, n, and multiply both sides of the equation by ${10}^n$. In this example, there is only one repeating digit (1). Thus, multiply both sides by ${10}^1=10$:
$$10x=56.1\bar{1}$$
Subtract the first equation from the second equation. In our example, we get:
$$10x=56.1\bar{1}$$
$$x=5.6\bar{1}$$
$$9x=50.5$$
Solving for x, we get:
$$x=\frac{50.5}{9}$$
To eliminate the remaining decimal places, multiply both the numerator and the denominator by 10 to the power of n, where n represents the number of digits after the decimal point in the numerator. Here, there is one digit after the decimal point (5), so we multiply by 10:
$$\frac{50.5}{9}×\frac{10}{10}=\frac{505}{90}$$
Find the greatest common factor (GCF) of the numerator and the denominator, then simplify the fraction by dividing both by the GCF. In our example, the GCF is 5, therefore:
$$\frac{505\div5}{90\div5}=\frac{101}{18}$$
Finally, convert the improper fraction into a simplified mixed number:
$$\frac{101}{18}=5\frac{11}{18}$$
In conclusion, $5.6\bar{1}=5\frac{11}{18}$.