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 $$$2\frac{5}{7}$$$ into a decimal.
Temporarily forget about the integer part, work with $$$\frac{5}{7}$$$
Write the problem in the special format:
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{c}\phantom{0}&\phantom{.}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\7&\phantom{-}\enclose{longdiv}{\begin{array}{c}5\end{array}}&\\&\begin{array}{l}\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 1
How many $$$7$$$'s are in $$$5$$$? The answer is $$$0$$$.
Write down the calculated result in the upper part of the table.
Now, $$$5-0 \cdot 7 = 5 - 0= 5$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}\color{DarkMagenta}{0}&\phantom{.}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}\color{DarkMagenta}{5}&.& 0 \downarrow&0&0&0&0&0&0&0&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 2
How many $$$7$$$'s are in $$$50$$$? The answer is $$$7$$$.
Write down the calculated result in the upper part of the table.
Now, $$$50-7 \cdot 7 = 50 - 49= 1$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&\color{Purple}{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0& 0 \downarrow&0&0&0&0&0&0&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}\color{Purple}{5}&\phantom{.}&\color{Purple}{0}\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 3
How many $$$7$$$'s are in $$$10$$$? The answer is $$$1$$$.
Write down the calculated result in the upper part of the table.
Now, $$$10-1 \cdot 7 = 10 - 7= 3$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&\color{Chartreuse}{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0& 0 \downarrow&0&0&0&0&0&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&\color{Chartreuse}{1}&\color{Chartreuse}{0}\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 4
How many $$$7$$$'s are in $$$30$$$? The answer is $$$4$$$.
Write down the calculated result in the upper part of the table.
Now, $$$30-4 \cdot 7 = 30 - 28= 2$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&\color{Violet}{4}&\phantom{2}&\phantom{8}&\phantom{5}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0& 0 \downarrow&0&0&0&0&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&\color{Violet}{3}&\color{Violet}{0}\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 5
How many $$$7$$$'s are in $$$20$$$? The answer is $$$2$$$.
Write down the calculated result in the upper part of the table.
Now, $$$20-2 \cdot 7 = 20 - 14= 6$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&\color{DarkCyan}{2}&\phantom{8}&\phantom{5}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0& 0 \downarrow&0&0&0&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&\color{DarkCyan}{2}&\color{DarkCyan}{0}\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&6&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 6
How many $$$7$$$'s are in $$$60$$$? The answer is $$$8$$$.
Write down the calculated result in the upper part of the table.
Now, $$$60-8 \cdot 7 = 60 - 56= 4$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&2&\color{Green}{8}&\phantom{5}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0&0& 0 \downarrow&0&0&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&\color{Green}{6}&\color{Green}{0}\\&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&5&6\\\hline\phantom{lll}&&&&&&4&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 7
How many $$$7$$$'s are in $$$40$$$? The answer is $$$5$$$.
Write down the calculated result in the upper part of the table.
Now, $$$40-5 \cdot 7 = 40 - 35= 5$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&2&8&\color{BlueViolet}{5}&\phantom{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0&0&0& 0 \downarrow&0&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&6&0\\&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&5&6\\\hline\phantom{lll}&&&&&&\color{BlueViolet}{4}&\color{BlueViolet}{0}\\&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&3&5\\\hline\phantom{lll}&&&&&&&5&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 8
How many $$$7$$$'s are in $$$50$$$? The answer is $$$7$$$.
Write down the calculated result in the upper part of the table.
Now, $$$50-7 \cdot 7 = 50 - 49= 1$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&2&8&5&\color{Crimson}{7}&\phantom{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0&0&0&0& 0 \downarrow&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&6&0\\&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&5&6\\\hline\phantom{lll}&&&&&&4&0\\&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&3&5\\\hline\phantom{lll}&&&&&&&\color{Crimson}{5}&\color{Crimson}{0}\\&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&4&9\\\hline\phantom{lll}&&&&&&&&1&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 9
How many $$$7$$$'s are in $$$10$$$? The answer is $$$1$$$.
Write down the calculated result in the upper part of the table.
Now, $$$10-1 \cdot 7 = 10 - 7= 3$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&2&8&5&7&\color{DarkBlue}{1}&\phantom{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0&0&0&0&0& 0 \downarrow&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&6&0\\&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&5&6\\\hline\phantom{lll}&&&&&&4&0\\&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&3&5\\\hline\phantom{lll}&&&&&&&5&0\\&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&4&9\\\hline\phantom{lll}&&&&&&&&\color{DarkBlue}{1}&\color{DarkBlue}{0}\\&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&7\\\hline\phantom{lll}&&&&&&&&&3&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 10
How many $$$7$$$'s are in $$$30$$$? The answer is $$$4$$$.
Write down the calculated result in the upper part of the table.
Now, $$$30-4 \cdot 7 = 30 - 28= 2$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&2&8&5&7&1&\color{Brown}{4}&\phantom{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0&0&0&0&0&0& 0 \downarrow&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&6&0\\&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&5&6\\\hline\phantom{lll}&&&&&&4&0\\&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&3&5\\\hline\phantom{lll}&&&&&&&5&0\\&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&4&9\\\hline\phantom{lll}&&&&&&&&1&0\\&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&7\\\hline\phantom{lll}&&&&&&&&&\color{Brown}{3}&\color{Brown}{0}\\&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&2&8\\\hline\phantom{lll}&&&&&&&&&&2&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 11
How many $$$7$$$'s are in $$$20$$$? The answer is $$$2$$$.
Write down the calculated result in the upper part of the table.
Now, $$$20-2 \cdot 7 = 20 - 14= 6$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&2&8&5&7&1&4&\color{Peru}{2}&\phantom{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0&0&0&0&0&0&0& 0 \downarrow&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&6&0\\&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&5&6\\\hline\phantom{lll}&&&&&&4&0\\&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&3&5\\\hline\phantom{lll}&&&&&&&5&0\\&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&4&9\\\hline\phantom{lll}&&&&&&&&1&0\\&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&7\\\hline\phantom{lll}&&&&&&&&&3&0\\&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&2&8\\\hline\phantom{lll}&&&&&&&&&&\color{Peru}{2}&\color{Peru}{0}\\&&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&&1&4\\\hline\phantom{lll}&&&&&&&&&&&6&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 12
How many $$$7$$$'s are in $$$60$$$? The answer is $$$8$$$.
Write down the calculated result in the upper part of the table.
Now, $$$60-8 \cdot 7 = 60 - 56= 4$$$.
Bring down the next digit of the dividend.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&2&8&5&7&1&4&2&\color{DeepPink}{8}&\phantom{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0&0&0&0&0&0&0&0& 0 \downarrow\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&6&0\\&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&5&6\\\hline\phantom{lll}&&&&&&4&0\\&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&3&5\\\hline\phantom{lll}&&&&&&&5&0\\&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&4&9\\\hline\phantom{lll}&&&&&&&&1&0\\&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&7\\\hline\phantom{lll}&&&&&&&&&3&0\\&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&2&8\\\hline\phantom{lll}&&&&&&&&&&2&0\\&&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&&1&4\\\hline\phantom{lll}&&&&&&&&&&&\color{DeepPink}{6}&\color{DeepPink}{0}\\&&&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&&&5&6\\\hline\phantom{lll}&&&&&&&&&&&&4&0\end{array}&\begin{array}{c}\end{array}\end{array}$$$
Step 13
How many $$$7$$$'s are in $$$40$$$? The answer is $$$5$$$.
Write down the calculated result in the upper part of the table.
Now, $$$40-5 \cdot 7 = 40 - 35= 5$$$.
$$$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{cccccccccccccc}0&.&7&1&4&2&8&5&7&1&4&2&8&\color{Red}{5}\end{array}&\\\color{Magenta}{7}&\phantom{-}\enclose{longdiv}{\begin{array}{cccccccccccccc}5&.&0&0&0&0&0&0&0&0&0&0&0&0\end{array}}&\\&\begin{array}{lllllllllllll}-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}0&\phantom{.}\\\hline\phantom{lll}5&\phantom{.}&0\\-&\phantom{0}&\phantom{.}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}4&\phantom{.}&9\\\hline\phantom{lll}&&1&0\\&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&7\\\hline\phantom{lll}&&&3&0\\&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&2&8\\\hline\phantom{lll}&&&&2&0\\&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&1&4\\\hline\phantom{lll}&&&&&6&0\\&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&5&6\\\hline\phantom{lll}&&&&&&4&0\\&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&3&5\\\hline\phantom{lll}&&&&&&&5&0\\&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&4&9\\\hline\phantom{lll}&&&&&&&&1&0\\&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&7\\\hline\phantom{lll}&&&&&&&&&3&0\\&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&2&8\\\hline\phantom{lll}&&&&&&&&&&2&0\\&&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&&1&4\\\hline\phantom{lll}&&&&&&&&&&&6&0\\&&&&&&&&&&-&\phantom{0}&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&&&5&6\\\hline\phantom{lll}&&&&&&&&&&&&\color{Red}{4}&\color{Red}{0}\\&&&&&&&&&&&-&\phantom{0}&\phantom{0}\\\phantom{lll}&&&&&&&&&&&&3&5\\\hline\phantom{lll}&&&&&&&&&&&&&5\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{5}{7}=0. \overline{714285}$$$
Don't forget about the integer part: $$$2\frac{5}{7}=2.\overline{714285}$$$
Answer: $$$2\frac{5}{7}=2.\overline{714285}$$$