# Long Division Calculator

The calculator will divide any two numbers (positive or negative, integer or decimal), with steps shown. Enter the dividend and the divisor and get the quotient to the given precision without remainder or quotient with remainder.

Divide by

Calculate the quotient to decimal points

If you don't enter quotient precision, long division will be performed with the remainder.
Sometimes, precision is not needed, e.g. 7/2=3.5.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please write it in the comments below.

## Solution

Your input: find $\frac{408}{160}$ using long division.

Write the problem in the special format:

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

Step 1

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

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

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

Bring down the next digit of the dividend.

$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}\color{DarkMagenta}{0}&\phantom{0}&\phantom{2}\end{array}&\\\color{Magenta}{160}&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}\color{DarkMagenta}{4}& 0 \downarrow&8\end{array}}&\\&\begin{array}{lll}-&\phantom{0}&\phantom{8}\\\phantom{lll}0\\\hline\phantom{lll}4&0\end{array}&\begin{array}{c}\end{array}\end{array}$

Step 2

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

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

Now, $40-0 \cdot 160 = 40 - 0= 40$.

Bring down the next digit of the dividend.

$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}0&\color{BlueViolet}{0}&\phantom{2}\end{array}&\\\color{Magenta}{160}&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}4&0& 8 \downarrow\end{array}}&\\&\begin{array}{lll}-&\phantom{0}&\phantom{8}\\\phantom{lll}0\\\hline\phantom{lll}\color{BlueViolet}{4}&\color{BlueViolet}{0}\\-&\phantom{0}&\phantom{8}\\\phantom{lll}&0\\\hline\phantom{lll}4&0&8\end{array}&\begin{array}{c}\end{array}\end{array}$

Step 3

How many $160$'s are in $408$? The answer is $2$.

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

Now, $408-2 \cdot 160 = 408 - 320= 88$.

$\require{enclose}\begin{array}{rlc}&\phantom{-\enclose{longdiv}{}}\begin{array}{ccc}0&0&\color{Crimson}{2}\end{array}&\\\color{Magenta}{160}&\phantom{-}\enclose{longdiv}{\begin{array}{ccc}4&0&8\end{array}}&\\&\begin{array}{lll}-&\phantom{0}&\phantom{8}\\\phantom{lll}0\\\hline\phantom{lll}4&0\\-&\phantom{0}&\phantom{8}\\\phantom{lll}&0\\\hline\phantom{lll}\color{Crimson}{4}&\color{Crimson}{0}&\color{Crimson}{8}\\-&\phantom{0}&\phantom{8}\\\phantom{lll}3&2&0\\\hline\phantom{lll}&8&8\end{array}&\begin{array}{c}\end{array}\end{array}$

Since the remainder is greater than the divisor, then we are done.

Therefore, $\frac{408}{160}=2+\frac{88}{160}=2+\frac{11}{20}$

Answer: $\frac{408}{160}=2+\frac{11}{20}$