Skip to content
FiftyCalc Free calculators for all 50 states

Long Multiplication Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter a multiplicand and a multiplier of up to four digits to see each row of the long multiplication and the answer.

Result

Sample figures

Product (sum of the rows)—

Row 1: top × ones digit —

  • Row 2: top × tens digit × 10—
  • Row 3: top × hundreds digit × 100—
  • Row 4: top × thousands digit × 1,000—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Long Multiplication Calculator

Multiplicand (top number, whole): enter 0 or more. Prefilled example: 347.

Multiplier (bottom number, whole, up to 9,999): enter a number from 0 to 9,999. Prefilled example: 26.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Multiplicand (top number, whole): enter 0 or more.
  2. Multiplier (bottom number, whole, up to 9,999): enter a number from 0 to 9,999.
  3. Read the result: Product (sum of the rows); the panel also shows Row 1: top × ones digit, Row 2: top × tens digit × 10, Row 3: top × hundreds digit × 100 and Row 4: top × thousands digit × 1,000.

How this calculator works

Long multiplication splits the multiplier into its place values: a × b = a × (ones digit) + a × (tens digit) × 10 + a × (hundreds digit) × 100 + a × (thousands digit) × 1,000. Each term is one row of the written method, shifted one place left per row.

Adding the rows gives the product. This is the distributive property of multiplication over addition.

The formula

  1. P1=a×(floor⁡(b)mod10)
  2. P2=a×(floor⁡(b10)mod10)×10
  3. P3=a×(floor⁡(b100)mod10)×100
  4. P4=a×(floor⁡(b1,000)mod10)×1,000
  5. P=P1+P2+P3+P4
Symbols used in the formula
SymbolMeaning
aMultiplicand (top number, whole)
bMultiplier (bottom number, whole, up to 9,999)
P1Row 1: top × ones digit
P2Row 2: top × tens digit × 10
P3Row 3: top × hundreds digit × 100
P4Row 4: top × thousands digit × 1,000
PProduct (sum of the rows)
floor(x)the largest whole number not above x.

Worked example

Multiplicand (top number, whole)347
Multiplier (bottom number, whole, up to 9,999)26
Row 1: top × ones digit2,082
Row 2: top × tens digit × 106,940
Row 3: top × hundreds digit × 1000
Row 4: top × thousands digit × 1,0000
  1. P1=347×(floor⁡(26)mod10)=2,082
  2. P2=347×(floor⁡(2610)mod10)×10=6,940
  3. P3=347×(floor⁡(26100)mod10)×100=0
  4. P4=347×(floor⁡(261,000)mod10)×1,000=0
  5. P=2,082+6,940+0+0=9,022

Product (sum of the rows) 9,022

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How do you multiply 347 by 26 the long way?

347 × 6 = 2,082 and 347 × 20 = 6,940; adding the rows gives 9,022.

What is 1,234 × 5,678?

The rows are 9,872, 86,380, 740,400 and 6,170,000, which add up to 7,006,652.

Related calculators