Long multiplication calculator

Multiply any two numbers and see the partial-product layout exactly as you'd write it on paper — one row per digit of the bottom number, then summed.

Long multiplication inputs

Product
345 × 678 = 233,910
Partial products
3
Digits in product
6

How long multiplication works

  1. Write the two numbers stacked, with the longer one on top.
  2. Multiply the top number by each digit of the bottom number, one digit at a time, starting from the units.
  3. Each new partial product is shifted one place to the left of the previous one (because each digit's place value is 10× bigger).
  4. Add all the partial products to get the final answer.
a × (bn·10n + … + b1·10 + b0) = a·bn·10n + … + a·b1·10 + a·b0

FAQ

Does this support negatives or decimals?

Negatives are supported — the sign of the product follows the standard sign rules. For decimals, multiply as if both were whole numbers and shift the decimal point by the total number of decimal places at the end (or use the big number calculator).

Why are some rows shorter than others?

If a digit of the bottom number is 0 the partial product is 0, which is sometimes written as a single 0 with the appropriate shift. The calculator displays the row to make the position visible.

Related calculators