# Divisibility Test Calculator

Test if a number is divisible by 2 through 12 instantly. See which divisibility rules apply, remainders for each, and even/odd check. Free calculator.

## What this calculates

Check whether any number is divisible by 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, or 12. This calculator tests all common divisibility rules at once and shows the remainder for each divisor.

## Inputs

- **Number to Test** — The positive integer you want to test for divisibility.

## Outputs

- **Divisible By** — formatted as text — List of numbers (2-12) that divide the input evenly.
- **Not Divisible By** — formatted as text — List of numbers (2-12) that do not divide the input evenly.
- **Divisibility Details** — formatted as text — Remainder for each divisor from 2 to 12.
- **Even or Odd?** — formatted as text — Whether the number is even or odd.

## Details

Divisibility rules let you quickly determine whether one number divides evenly into another without performing long division. Here are the rules for 2 through 12:

**Quick Divisibility Rules:**

- **By 2:** Last digit is even (0, 2, 4, 6, 8)
- **By 3:** Sum of digits is divisible by 3
- **By 4:** Last two digits form a number divisible by 4
- **By 5:** Last digit is 0 or 5
- **By 6:** Divisible by both 2 and 3
- **By 7:** Double the last digit, subtract from the rest; if the result is divisible by 7, so is the original
- **By 8:** Last three digits form a number divisible by 8
- **By 9:** Sum of digits is divisible by 9
- **By 10:** Last digit is 0
- **By 11:** Alternating sum of digits is divisible by 11
- **By 12:** Divisible by both 3 and 4

**Why Divisibility Matters:**

Divisibility tests are useful for simplifying fractions, finding common factors, checking arithmetic, and solving number theory problems. They are among the first tools students learn for working with whole numbers.

## Frequently Asked Questions

**Q: How do I check if a number is divisible by 3?**

A: Add up all the digits. If the sum is divisible by 3, so is the original number. For example, 729: 7 + 2 + 9 = 18, and 18 is divisible by 3, so 729 is divisible by 3. You can even repeat the process: 1 + 8 = 9, which is also divisible by 3.

**Q: What is the divisibility rule for 7?**

A: Take the last digit, double it, and subtract that from the remaining digits. If the result is divisible by 7 (or is 0), the original number is too. For 203: double the last digit (3 x 2 = 6), subtract from 20 (20 - 6 = 14). Since 14 is divisible by 7, 203 is divisible by 7.

**Q: Why is divisibility by 6 based on 2 and 3?**

A: A number is divisible by 6 if and only if it is divisible by both 2 and 3, because 6 = 2 x 3 and 2 and 3 share no common factors. This composite-rule approach works whenever the divisor factors into coprime parts. The same logic applies to 12 (check 3 and 4).

**Q: How does the divisibility rule for 11 work?**

A: Compute the alternating sum of digits (subtract and add alternately from left to right). If the result is divisible by 11 (including 0), the number is too. For 918082: 9 - 1 + 8 - 0 + 8 - 2 = 22, and 22 is divisible by 11, so 918082 is divisible by 11.

---

Source: https://vastcalc.com/calculators/math/divisibility-test
Category: Math
Last updated: 2026-04-08
