You can't divide by zero because no answer works. Every division can be checked with a multiplication, and when you try to check a division by zero, no number passes the test. That is why mathematicians call it undefined: not a very big number, not infinity, but no answer at all.
It is one of the first rules in math that feels like being told "because I said so". It is not, though. You can see why it has to be true in a few different ways, and none of them needs anything harder than the times tables.
Division is multiplication in reverse
Every division question is secretly a multiplication question. When you say 12 ÷ 3 = 4, what you really mean is that 3 × 4 = 12.
| Division | Check | Works? |
|---|---|---|
| 12 ÷ 3 = 4 | 3 × 4 = 12 | Yes |
| 20 ÷ 5 = 4 | 5 × 4 = 20 | Yes |
| 12 ÷ 0 = ? | 0 × ? = 12 | No number works |
Try to finish that last row. You need a number that, multiplied by 0, gives 12. But anything multiplied by 0 is 0. You could try 12, a million or a billion, and you would get 0 every time. There is simply no number that fits, so 12 ÷ 0 has no answer.
What about 0 ÷ 0?
Zero divided by zero breaks for the opposite reason. The check is 0 × ? = 0, and this time every number works. 0 × 5 = 0, 0 × 7 = 0, 0 × 1,000 = 0.
A division should have one answer, not all of them at once. Since there is no way to choose, 0 ÷ 0 is left undefined too. In higher math, you might hear it called indeterminate, which is a fancy way of saying "this could be anything".
Zero divided by a number is fine
This is where many people get mixed up. Dividing zero by a number is perfectly fine. Dividing a number by zero is the problem.
- 0 ÷ 5 = 0, because 5 × 0 = 0. If you share no cookies between five friends, everyone gets none.
- 5 ÷ 0 is undefined, because 0 × ? can never equal 5.
Two more ways to see it
Sharing
Division often means sharing. If 12 cookies are shared equally between 3 friends, each friend gets 4. Now share 12 cookies between 0 friends. How many does each friend get? The question has no sensible answer, because there are no friends to receive any. It is not that each person gets a huge amount. There are no people at all.
Repeated subtraction
Division can also mean "how many times can I take this away?" To find 12 ÷ 3, keep subtracting 3: 12, 9, 6, 3, 0. That took 4 subtractions, so the answer is 4.
For 12 ÷ 0, keep subtracting 0: 12, 12, 12, 12 ... You can subtract forever and never get any closer to 0. The process never finishes, so it never gives an answer.
Isn't the answer just infinity?
This is the most common guess, and it is easy to see where it comes from. Watch what happens when you divide 1 by smaller and smaller numbers:
| Calculation | Answer |
|---|---|
| 1 ÷ 1 | 1 |
| 1 ÷ 0.1 | 10 |
| 1 ÷ 0.01 | 100 |
| 1 ÷ 0.001 | 1,000 |
| 1 ÷ 0.0001 | 10,000 |
The answers grow without limit, so it seems natural to say that 1 ÷ 0 must be infinity. But now try approaching zero from the other side, with small negative numbers:
| Calculation | Answer |
|---|---|
| 1 ÷ −0.1 | −10 |
| 1 ÷ −0.01 | −100 |
| 1 ÷ −0.001 | −1,000 |
Now the answers race off toward negative infinity. Coming from one side, 1 ÷ 0 looks like it should be a huge positive number. Coming from the other side, it looks like a huge negative one. There is no single value both sides agree on.
On top of that, infinity is not an ordinary number you can do arithmetic with. If 1 ÷ 0 were infinity, then infinity × 0 would have to be 1. And if 2 ÷ 0 were also infinity, infinity × 0 would have to be 2. That would mean 1 = 2, and arithmetic would fall apart.
A "proof" that 1 = 2
Here is a famous trick that shows what goes wrong when you divide by zero without noticing. Start with two equal numbers, a = b. Then:
- Multiply both sides by a: a² = ab
- Subtract b² from both sides: a² − b² = ab − b²
- Factor both sides: (a + b)(a − b) = b(a − b)
- Divide both sides by (a − b): a + b = b
- Since a = b, this means b + b = b, so 2b = b
- Divide by b: 2 = 1
Every step looks fine, but step 4 is a disaster. Because a = b, the value of (a − b) is zero. Step 4 divides both sides by zero, and that single illegal move is enough to "prove" something false. It is a neat demonstration of why the rule exists.
Dividing by zero in the real world
Calculators refuse to do it and show a message such as Error or Math ERROR. Spreadsheets like Excel and Google Sheets show #DIV/0!. In programming, dividing a whole number by zero usually stops the program with an error, while some kinds of decimal calculations return special values such as "Infinity" or "NaN" (not a number).
It can matter outside of math class too. In 1997, the US Navy cruiser USS Yorktown was reportedly left stranded at sea for hours after a zero was entered into a database field, causing a divide-by-zero error that crashed the ship's control software. Programmers now routinely add checks so their code never divides by zero by accident.
How to explain it to a child
The sharing story works best. Line up some toys and ask a child to share 6 toys between 2 teddies (3 each), then between 3 teddies (2 each), then between 1 teddy (6 each). Then take all the teddies away and ask, "How many toys does each teddy get now?" Most children will laugh and say there are no teddies, and that is exactly the point. The question cannot be answered.
Older children can use the multiplication check. Ask them to find the missing number in 0 × ? = 6, then let them discover for themselves that no number works.
Quick quiz
| Question | Answer | Why |
|---|---|---|
| 0 ÷ 8 | 0 | 8 × 0 = 0 |
| 8 ÷ 0 | Undefined | 0 × ? can never be 8 |
| 0 ÷ 0 | Undefined | Every number would work |
| 0 × 8 | 0 | Anything times 0 is 0 |
| 8 ÷ 1 | 8 | 1 × 8 = 8 |
| 8 ÷ 8 | 1 | 8 × 1 = 8 |
The quickest way to get comfortable with division is to practice the facts until the multiplication check becomes automatic. Our Division game and Missing Number game are both built around exactly that.
Division GamePractice division facts in 60-second rounds. No dividing by zero, we promise.Play free →The bottom line
You can't divide by zero because there is no number that works as the answer. For a number like 12 ÷ 0, nothing multiplied by 0 gives 12. For 0 ÷ 0, every number does, which is just as useless. And the answer is not infinity, because approaching zero from either side gives completely different results. So the rule is not a teacher's whim. It is the only way to keep the rest of arithmetic working.