Rational Vs Irrational Numbers: How To Tell Them Apart
The short version
- A rational number can be written as a fraction of two integers, like 3/4, -5 or 0.333… (which is 1/3). An irrational number can’t be written as a fraction at all, like π or √2.
- The decimal test: if the decimal stops or repeats a block forever, the number is rational. If it goes on forever with no repeating block, it’s irrational.
- Square roots of perfect squares (√25 = 5) are rational. Square roots of whole numbers that aren’t perfect squares (√2, √10, √20) are irrational.
- 22/7 and 3.14 are rational approximations of π. π itself is irrational.
- Rational and irrational numbers together make up the real numbers. Every real number is exactly one of the two.
The difference between rational vs irrational numbers comes down to one question: can you write the number as a fraction of two integers? If yes, it’s rational. 0.25 is 1/4, -7 is -7/1, and 0.666… is 2/3, so all three are rational. If no fraction of integers will ever equal it, the number is irrational. π and √2 are the famous ones. Their decimals go on forever without settling into a repeating pattern.
Below you’ll find a side-by-side comparison, a quick test that works on any number, how to turn a repeating decimal into a fraction, worked examples and practice problems with answers.
Rational vs irrational: side by side
| Rational | Irrational | |
|---|---|---|
| Definition | Can be written as a/b, where a and b are integers and b isn’t 0 | Can’t be written as a fraction of integers |
| Decimal form | Stops (0.75) or repeats (0.1818…) | Never stops and never repeats |
| Examples | 5, -12, 0, 3/8, 0.4, 1.333…, √49 | π, √2, √3, √50, e |
| Square roots | Square roots of perfect squares | Square roots of whole numbers that aren’t perfect squares |
| Where the name comes from | “Ratio,” as in a fraction | “Not a ratio” |
The name is the best memory trick. Rational has the word “ratio” inside it, and a ratio is a fraction. Irrational means “not a ratio.” It has nothing to do with being unreasonable.
What counts as a rational number
More numbers are rational than kids expect. All of these qualify:
- Whole numbers and integers. 8 = 8/1 and -3 = -3/1. Zero is 0/1.
- Fractions and mixed numbers. 2 1/2 = 5/2.
- Decimals that stop. 0.125 = 125/1000 = 1/8.
- Decimals that repeat. 0.333… = 1/3 and 0.142857142857… = 1/7.
- Square roots of perfect squares. √64 = 8, and √(9/16) = 3/4.
The only rule is that the denominator can’t be zero. 5/0 isn’t a number at all, so it’s neither rational nor irrational.
What makes a number irrational
An irrational number’s decimal runs forever with no block of digits that repeats. You’ll see three main kinds in school:
Square roots that don’t come out even
√2 ≈ 1.41421356… The digits never end and never fall into a loop. The same goes for √3, √5, √7, √8, √10 and every other square root of a whole number that isn’t a perfect square. Mathematicians proved over two thousand years ago that √2 can’t be any fraction.
Pi
π ≈ 3.14159265… Kids often see 22/7 or 3.14 and assume π is rational. Those are close estimates. 22/7 = 3.142857…, which is a little too big, and 3.14 is a little too small. The true value of π can’t be written as any fraction.
Decimals built with a pattern that never repeats
0.101001000100001… has a pattern (one more zero each time), but no fixed block repeats. That makes it irrational. To be rational, the decimal needs the same block of digits repeating over and over.
How to tell rational vs irrational in three questions
Run any number through these in order:
- Is it already a fraction, integer or stopping decimal? Then it’s rational.
- Is it a square root? Simplify first. If what’s under the root is a perfect square (or a fraction of two perfect squares), it’s rational. If not, it’s irrational.
- Is it a long decimal? Look for a block that repeats forever. Repeating means rational. No repeating block means irrational.
Worked examples
Example 1: Classify five numbers
-15 = -15/1, so it’s rational.
0.36 = 36/100 = 9/25, so it’s rational.
√81 = 9, so it’s rational.
√18 ≈ 4.2426…, and 18 isn’t a perfect square, so it’s irrational.
π/2 ≈ 1.5708…, half of an irrational number, so it’s irrational.
Example 2: Turn 0.4545… into a fraction
Let x = 0.454545…
The repeating block has 2 digits, so multiply by 100: 100x = 45.454545…
Subtract: 100x – x = 45.4545… – 0.4545…
99x = 45
x = 45/99 = 5/11
Since it’s a fraction of integers, 0.4545… is rational. Check: 5 ÷ 11 = 0.4545…
Example 3: Turn 0.8333… into a fraction
Let x = 0.8333… Only the 3 repeats, and it starts one place in.
10x = 8.333…
100x = 83.333…
Subtract: 100x – 10x = 83.333… – 8.333…, so 90x = 75
x = 75/90 = 5/6
Example 4: Adding and multiplying
Rational + irrational is always irrational. 3 + √2 ≈ 4.4142…, and it can’t be a fraction.
Irrational × irrational can go either way. √2 × √8 = √16 = 4, which is rational. But √2 × √3 = √6, which is irrational.
Common mistakes
- Calling every square root irrational. √100 = 10. Always check for a perfect square first.
- Thinking π = 22/7. 22/7 is a handy estimate. π isn’t a fraction.
- Treating long decimals as irrational. 0.142857142857… is long but repeats, so it’s 1/7.
- Stopping at the calculator screen. A calculator shows 1 ÷ 3 as 0.3333333 and √2 as 1.414213562. Both look cut off. You can’t tell rational from irrational by the screen alone. Use what you know about the number.
- Forgetting negatives and zero. -4 and 0 are rational. Being negative doesn’t change anything.
Practice problems
- Is 0.6 rational or irrational?
- Is -12 rational or irrational?
- Is √36 rational or irrational?
- Is √30 rational or irrational?
- Is 0.121212… rational or irrational? If rational, write it as a fraction in lowest terms.
- Is 5 + √3 rational or irrational?
- Is 0.12345678910111213… (the counting numbers written in a row) rational or irrational?
- Write 0.1666… as a fraction in lowest terms.
Answers
- Rational. 0.6 = 6/10 = 3/5.
- Rational. -12 = -12/1.
- Rational. √36 = 6.
- Irrational. 30 isn’t a perfect square (it’s between 25 and 36).
- Rational. 100x – x = 12, so x = 12/99 = 4/33.
- Irrational. A rational number plus an irrational number is always irrational.
- Irrational. It never ends and no block of digits repeats.
- 1/6. Let x = 0.1666… Then 100x – 10x = 16.666… – 1.666… = 15, so 90x = 15 and x = 15/90 = 1/6.
If your child is stuck on rational vs irrational
Most kids meet irrational numbers around eighth grade. When this topic won’t click, the gap is almost always earlier: a kid who isn’t comfortable switching between fractions and decimals can’t judge whether a decimal “could be a fraction.” Check whether your child can tell you that 0.75 is 3/4, or that 1/3 is 0.333… without a calculator. If not, that’s where to start. Our math skills by grade level guide shows when fraction and decimal skills are supposed to land.
The other common gap is perfect squares. If your child can’t quickly say whether 49 or 50 is a perfect square, square roots will feel like guessing. Fraction trouble in particular tends to show up again, bigger, in algebra, which we cover in why struggling with algebra usually traces back to fourth grade fractions. A math assessment can show you which of these gaps is actually there.
Frequently asked questions
What’s the easiest way to tell rational vs irrational numbers apart?
Ask whether it can be written as a fraction of two integers. If the decimal stops or repeats, it can. If it goes on forever with no repeating block, it can’t, and it’s irrational.
Is 0 a rational number?
Yes. 0 = 0/1, a fraction of two integers.
Is pi rational or irrational?
Irrational. Its decimal, 3.14159…, never ends and never repeats. 22/7 is only an approximation.
Are all square roots irrational?
No. Square roots of perfect squares are rational: √1, √4, √9, √16 and so on. Square roots of whole numbers that aren’t perfect squares are irrational.
Is a repeating decimal rational?
Yes, always. Every repeating decimal can be turned into a fraction, like 0.777… = 7/9.
Can a number be both rational and irrational?
No. Every real number is exactly one or the other. Together they make up the real numbers.
Find the actual gap
Rational vs irrational is an eighth grade topic built on fourth and fifth grade skills, and a kid can be stuck because of any one of them. Math Anon opens with a short adaptive assessment that finds the specific skills your child is missing, and you get a written report that spells them out.
Then your child practices those skills for about 20 minutes a day, and you get a progress report every week. The assessment is $49, credited in full toward your first month. Start the assessment or look over our pricing.
