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{400}{15}$$$ into a decimal.

Write the problem in the special format:

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}\phantom{2}&\phantom{6}&\phantom{.}&\phantom{6}&\phantom{6}&\phantom{6}\end{array}&\\15&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}4&0&0\end{array}}&\\&\begin{array}{lll}\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 1

How many $$$15$$$'s are in $$$4$$$?

The answer is $$$0$$$.

Write down $$$0$$$ in the upper part of the table.

Now, $$$4-15 \cdot 0 = 4 - 0= 4$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}\color{Red}{0}&\phantom{2}&\phantom{6}&\phantom{.}&\phantom{6}&\phantom{6}&\phantom{6}\end{array}&\\\color{Magenta}{15}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}\color{Red}{4}& 0 \downarrow&0&.&0&0&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 2

How many $$$15$$$'s are in $$$40$$$?

The answer is $$$2$$$.

Write down $$$2$$$ in the upper part of the table.

Now, $$$40-15 \cdot 2 = 40 - 30= 10$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&\color{Chartreuse}{2}&\phantom{6}&\phantom{.}&\phantom{6}&\phantom{6}&\phantom{6}\end{array}&\\\color{Magenta}{15}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0& 0 \downarrow&.&0&0&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}\color{Chartreuse}{4}&\color{Chartreuse}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 3

How many $$$15$$$'s are in $$$100$$$?

The answer is $$$6$$$.

Write down $$$6$$$ in the upper part of the table.

Now, $$$100-15 \cdot 6 = 100 - 90= 10$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&2&\color{Violet}{6}&\phantom{.}&\phantom{6}&\phantom{6}&\phantom{6}\end{array}&\\\color{Magenta}{15}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0&0&.& 0 \downarrow&0&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}\color{Violet}{1}&\color{Violet}{0}&\color{Violet}{0}&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&9&0&\phantom{.}\\\hline\phantom{lll}&1&0&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 4

How many $$$15$$$'s are in $$$100$$$?

The answer is $$$6$$$.

Write down $$$6$$$ in the upper part of the table.

Now, $$$100-15 \cdot 6 = 100 - 90= 10$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&2&6&.&\color{Peru}{6}&\phantom{6}&\phantom{6}\end{array}&\\\color{Magenta}{15}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0&0&.&0& 0 \downarrow&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&9&0&\phantom{.}\\\hline\phantom{lll}&\color{Peru}{1}&\color{Peru}{0}&\phantom{.}&\color{Peru}{0}\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&\phantom{.}&9&0\\\hline\phantom{lll}&&1&\phantom{.}&0&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 5

How many $$$15$$$'s are in $$$100$$$?

The answer is $$$6$$$.

Write down $$$6$$$ in the upper part of the table.

Now, $$$100-15 \cdot 6 = 100 - 90= 10$$$.

Bring down the next digit of the dividend.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&2&6&.&6&\color{DarkMagenta}{6}&\phantom{6}\end{array}&\\\color{Magenta}{15}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0&0&.&0&0& 0 \downarrow\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&9&0&\phantom{.}\\\hline\phantom{lll}&1&0&\phantom{.}&0\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&\phantom{.}&9&0\\\hline\phantom{lll}&&\color{DarkMagenta}{1}&\phantom{.}&\color{DarkMagenta}{0}&\color{DarkMagenta}{0}\\&-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&9&\phantom{.}&0\\\hline\phantom{lll}&&&&1&0&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$

Step 6

How many $$$15$$$'s are in $$$100$$$?

The answer is $$$6$$$.

Write down $$$6$$$ in the upper part of the table.

Now, $$$100-15 \cdot 6 = 100 - 90= 10$$$.

$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccccccc}0&2&6&.&6&6&\color{OrangeRed}{6}\end{array}&\\\color{Magenta}{15}&\phantom{-}\enclose{longdiv}{\begin{array}{ccccccc}4&0&0&.&0&0&0\end{array}}&\\&\begin{array}{llllll}-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}4&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}3&0&\phantom{.}\\\hline\phantom{lll}1&0&0&\phantom{.}\\-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}\\\phantom{lll}&9&0&\phantom{.}\\\hline\phantom{lll}&1&0&\phantom{.}&0\\-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&\phantom{.}&9&0\\\hline\phantom{lll}&&1&\phantom{.}&0&0\\&-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&9&\phantom{.}&0\\\hline\phantom{lll}&&&&\color{OrangeRed}{1}&\color{OrangeRed}{0}&\color{OrangeRed}{0}\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&9&0\\\hline\phantom{lll}&&&&&1&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$

As can be seen, the digits are repeating with some period, therefore it is a repeating (or recurring) decimal: $$$\frac{400}{15}=26.6 \overline{6}$$$

Answer: $$$\frac{400}{15}=26.6\overline{6}$$$


Please try a new game Rotatly