Arithmetic & Basics
Basic

Divisibility by 3

A number is divisible by 3 if its digit sum is.

Formula

digit sum divisible by 3\text{digit sum divisible by 3}

Variables

digitsNumber digits

Example

123: 1+2+3=6 ✓

How it works

A whole number is divisible by 3 when the sum of its digits is also divisible by 3. This works because each place value is a multiple of 10, and 10 leaves the same remainder as 1 when divided by 3, so the original number and its digit sum have the same remainder mod 3. That means you can test divisibility quickly without dividing the entire number.

When to use it

Use this shortcut when checking whether a number can be divided by 3 without a remainder, especially for large numbers. It is also useful in mental math, simplifying fractions, and checking answers in arithmetic problems.

Worked example, step by step

Check whether 4,572 is divisible by 3 4 + 5 + 7 + 2 = 18 18 is divisible by 3, because 18 ÷ 3 = 6 So 4,572 is divisible by 3

Common mistakes to avoid

  • Forgetting to add all the digits, especially zeros in the middle or at the end
  • Stopping after one digit-sum step without checking whether that sum is itself divisible by 3
  • Using this test for divisibility by 2, 5, or 9 instead of 3

Did You Know?

A number is divisible by 3 exactly when its digits add up to a multiple of 3 — a trick that works in any base minus one.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026