Fraction to Decimal Calculator

Convert fractions to decimals step by step

The calculator will convert the given fraction (proper or improper) or mixed number into a decimal (possibly, repeating or recurring), with steps shown.

Enter a fraction or

If you don't need a mixed number, leave the left cell empty.
If you need a negative fraction, write the minus sign in the left cell.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Solution

Your input: convert $$$\frac{100}{20}$$$ into a decimal.

Write the problem in the special format:

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\20&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}1&0&0\end{array}}&\\&\begin{array}{lll}\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 1

How many $$$20$$$'s are in $$$1$$$? The answer is $$$0$$$.

Write down the calculated result in the upper part of the table.

Now, $$$1-0 \cdot 20 = 1 - 0= 1$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccc}\color{DarkCyan}{0}&\phantom{0}&\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccc}\color{DarkCyan}{1}& 0 \downarrow&0&.&0\end{array}}&\\&\begin{array}{llll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 2

How many $$$20$$$'s are in $$$10$$$? The answer is $$$0$$$.

Write down the calculated result in the upper part of the table.

Now, $$$10-0 \cdot 20 = 10 - 0= 10$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccc}0&\color{Peru}{0}&\phantom{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccc}1&0& 0 \downarrow&.&0\end{array}}&\\&\begin{array}{llll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}\color{Peru}{1}&\color{Peru}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 3

How many $$$20$$$'s are in $$$100$$$? The answer is $$$5$$$.

Write down the calculated result in the upper part of the table.

Now, $$$100-5 \cdot 20 = 100 - 100= 0$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccc}0&0&\color{Red}{5}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccc}1&0&0&.& 0 \downarrow\end{array}}&\\&\begin{array}{llll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}\color{Red}{1}&\color{Red}{0}&\color{Red}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}1&0&0&\phantom{.}\\\hline\phantom{lll}&&0&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 4

How many $$$20$$$'s are in $$$0$$$? The answer is $$$0$$$.

Write down the calculated result in the upper part of the table.

Now, $$$0-0 \cdot 20 = 0 - 0= 0$$$.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccc}0&0&5&.&\color{Chartreuse}{0}\end{array}&\\\color{Magenta}{20}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccc}1&0&0&.&0\end{array}}&\\&\begin{array}{llll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}1&0&0&\phantom{.}\\\hline\phantom{lll}&&\color{Chartreuse}{0}&\phantom{.}&\color{Chartreuse}{0}\\&-&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&&&\phantom{.}&0\\\hline\phantom{lll}&&&&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Since the remainder is $$$0$$$, then we are done.

Therefore, $$$\frac{100}{20}=5.0$$$

Answer: $$$\frac{100}{20}=5.0$$$