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.
Solution
Your input: convert $$$\frac{1200}{40}$$$ into a decimal.
Write the problem in the special format:
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccc}\phantom{3}&\phantom{0}&\phantom{.}&\phantom{0}\end{array}&\\40&\phantom{-}\enclose{longdiv}{\begin{array}{cccc}1&2&0&0\end{array}}&\\&\begin{array}{llll}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 1
How many $$$40$$$'s are in $$$1$$$? The answer is $$$0$$$.
Write down the calculated result in the upper part of the table.
Now, $$$1-0 \cdot 40 = 1 - 0= 1$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}\color{DarkCyan}{0}&\phantom{0}&\phantom{3}&\phantom{0}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{40}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}\color{DarkCyan}{1}& 2 \downarrow&0&0&.&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&2&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 2
How many $$$40$$$'s are in $$$12$$$? The answer is $$$0$$$.
Write down the calculated result in the upper part of the table.
Now, $$$12-0 \cdot 40 = 12 - 0= 12$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&\color{Peru}{0}&\phantom{3}&\phantom{0}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{40}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&2& 0 \downarrow&0&.&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}\color{Peru}{1}&\color{Peru}{2}&\phantom{.}\\-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&2&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 3
How many $$$40$$$'s are in $$$120$$$? The answer is $$$3$$$.
Write down the calculated result in the upper part of the table.
Now, $$$120-3 \cdot 40 = 120 - 120= 0$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&\color{Red}{3}&\phantom{0}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{40}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&2&0& 0 \downarrow&.&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&2&\phantom{.}\\-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}\color{Red}{1}&\color{Red}{2}&\color{Red}{0}&\phantom{.}\\-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}1&2&0&\phantom{.}\\\hline\phantom{lll}&&0&0&\phantom{.}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 4
How many $$$40$$$'s are in $$$0$$$? The answer is $$$0$$$.
Write down the calculated result in the upper part of the table.
Now, $$$0-0 \cdot 40 = 0 - 0= 0$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&3&\color{Chartreuse}{0}&\phantom{.}&\phantom{0}\end{array}&\\\color{Magenta}{40}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&2&0&0&.& 0 \downarrow\end{array}}&\\&\begin{array}{lllll}-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&2&\phantom{.}\\-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&2&0&\phantom{.}\\-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}1&2&0&\phantom{.}\\\hline\phantom{lll}&&\color{Chartreuse}{0}&\color{Chartreuse}{0}&\phantom{.}\\&-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&&&0&\phantom{.}\\\hline\phantom{lll}&&&0&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 5
How many $$$40$$$'s are in $$$0$$$? The answer is $$$0$$$.
Write down the calculated result in the upper part of the table.
Now, $$$0-0 \cdot 40 = 0 - 0= 0$$$.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccc}0&0&3&0&.&\color{Chocolate}{0}\end{array}&\\\color{Magenta}{40}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccc}1&2&0&0&.&0\end{array}}&\\&\begin{array}{lllll}-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}1&2&\phantom{.}\\-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}&0&\phantom{.}\\\hline\phantom{lll}1&2&0&\phantom{.}\\-&\phantom{2}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{.}\\\phantom{lll}1&2&0&\phantom{.}\\\hline\phantom{lll}&&0&0&\phantom{.}\\&-&\phantom{0}&\phantom{0}&\phantom{.}&\phantom{0}\\\phantom{lll}&&&0&\phantom{.}\\\hline\phantom{lll}&&&\color{Chocolate}{0}&\phantom{.}&\color{Chocolate}{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{1200}{40}=30.0$$$
Answer: $$$\frac{1200}{40}=30.0$$$