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{Peru}{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{Peru}{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{Chocolate}{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{Chocolate}{5}&\phantom{.}&\color{Chocolate}{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{SaddleBrown}{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{SaddleBrown}{1}&\color{SaddleBrown}{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{Blue}{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{Blue}{3}&\color{Blue}{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{OrangeRed}{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{OrangeRed}{2}&\color{OrangeRed}{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{Crimson}{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{Crimson}{6}&\color{Crimson}{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{DarkMagenta}{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{DarkMagenta}{4}&\color{DarkMagenta}{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{DarkBlue}{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{DarkBlue}{5}&\color{DarkBlue}{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{DarkCyan}{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{DarkCyan}{1}&\color{DarkCyan}{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{DeepPink}{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{DeepPink}{3}&\color{DeepPink}{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{GoldenRod}{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{GoldenRod}{2}&\color{GoldenRod}{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{Fuchsia}{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{Fuchsia}{6}&\color{Fuchsia}{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{Chartreuse}{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{Chartreuse}{4}&\color{Chartreuse}{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}$$$