Last Updated: November 26, 2026
Rational Numbers Explained for Grades 7 and 8, With Practice Questions

Short answer: A rational number is any number you can write as one integer divided by another integer, as long as the bottom number is not zero. So 7 (which is 7/1), 0, −3/4, 0.5 and 0.333... are all rational. There are two quick tests. The fraction test asks whether the number can be written as a fraction of integers. The decimal test asks whether the decimal stops or repeats in a pattern. If it does, the number is rational. If the decimal runs on forever with no repeating pattern, as with π and √2, the number is irrational.
| Kind of number | Example | Rational? | Why |
|---|---|---|---|
| Whole number | 5 | Yes | 5 = 5/1 |
| Negative integer | −7 | Yes | −7 = −7/1 |
| Fraction | −2/3 | Yes | Already an integer over an integer |
| Terminating decimal | 0.125 | Yes | It stops, and 0.125 = 1/8 |
| Repeating decimal | 0.4545... | Yes | The pattern repeats, and it equals 5/11 |
| Root of a perfect square | √16 | Yes | √16 = 4, and 4 = 4/1 |
| Root of a non-perfect square | √3 | No | 3 is not a perfect square |
| Decimal that never repeats | 3.12122122212222... | No | No pattern repeats, so no fraction fits |
Every rule on this page was checked on 26 November 2026 against the Common Core State Standards, the Ontario Grades 1 to 8 math curriculum and the MathWorld reference from Wolfram. The sources are listed at the end. The 20 practice questions are original and were written for this article, and the answer to every one was checked independently by computer using exact fractions.
On 26 November 2026, Google's "People also ask" boxes for this topic asked whether 7 is rational, whether 0.7777777 is rational, whether root 7 is rational, whether root 2 times root 2 is rational and whether 2 root 5 is rational. Those cases are covered by Questions 1 to 5 and the FAQ below, with the working shown in the answer key.
What is a rational number?
The Common Core Mathematics Glossary defines it this way: "A number expressible in the form a/b or - a/b for some fraction a/b. The rational numbers include the integers." MathWorld, the Wolfram reference, says a rational number is "a number that can be expressed as a fraction" of two integers with a denominator that is not zero. Ontario's curriculum glossary agrees: "A number that can be expressed as a fraction in which the denominator is not 0."
Three points follow from that one sentence:
- Integers are rational. Every integer sits over 1, so 8 is 8/1 and −4 is −4/1. Whole numbers are integers, so they are rational too.
- Zero is rational. 0 = 0/1. The rule bans a zero on the bottom of a fraction. A zero on top is fine.
- Negative numbers are rational. The Common Core glossary writes the form as a/b or −a/b, because it uses "fraction" to mean a non-negative number and writes the minus sign separately.
A rational number is one you can write as a ratio of two integers.
How to tell: the fraction test and the decimal test
The fraction test. Try to write the number as an integer over an integer. 0.75 is 3/4, so it is rational. −6 is −6/1, so it is rational. √9 is 3, which is 3/1, so it is rational. If no such fraction exists, the number is not rational.
The decimal test. Write the number as a decimal. In Grade 7, the Common Core standard 7.NS.A.2.D asks students to "convert a rational number to a decimal using long division; know that the decimal form of a rational number terminates in 0s or eventually repeats." So a rational number's decimal does one of two things:
- It terminates. The digits end. 1/8 divides out as 0.125: 10 ÷ 8 = 1 remainder 2, then 20 ÷ 8 = 2 remainder 4, then 40 ÷ 8 = 5 remainder 0. The remainder reached zero, so the decimal stops.
- It repeats. A block of digits repeats forever. 1/3 is 0.333..., because the remainder 1 keeps coming back. The Common Core glossary calls a repeating decimal "the decimal form of a rational number."
MathWorld states the other side: irrational numbers "have decimal expansions that neither terminate nor become periodic." That is the whole decimal test. Terminate or repeat means rational. Neither means irrational.
The tests need care in one place. You cannot prove a number is irrational by looking at the first 10 digits. A decimal that looks random for 10 digits could start repeating on digit 11. The decimal test works when you know the rule that makes the digits, such as "this is the square root of a number that is not a perfect square." That is why this page pairs the decimal test with the square-root check below.
What is an irrational number?
An irrational number is a real number that is not rational. MathWorld writes it as "a real number that cannot be expressed as a fraction." Ontario's glossary adds examples: "A number that cannot be represented as a terminating or repeating decimal; for example, √5, π."
Two families cover almost every irrational number a Grade 8 student meets:
- The square root of a number that is not a perfect square. MathWorld states that a root of an integer is irrational unless the integer is a perfect power of the same degree. For square roots, that means √n is irrational unless n is a perfect square. The perfect squares up to 144 are 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121 and 144. So √25 = 5 is rational and √7 is irrational, because 7 sits between 4 and 9. Common Core 8.EE.A.2 asks students to "know that √2 is irrational."
- π. MathWorld says π "is known to be irrational." Ontario's Grade 7 circle notes say the same: the decimals "never end, and it cannot be represented precisely as a fraction." The fraction 22/7 and the decimal 3.14 are rational approximations of π. They are close to π and they are not π.
A third kind is a decimal built to never repeat, such as 3.12122122212222..., where the run of 2s grows by one each time. Ontario's Grade 8 notes give that exact example as irrational.
The rational numbers and the irrational numbers together make up the real numbers. Ontario's curriculum says it plainly: "Real numbers are a set of numbers that contain all rational and irrational numbers."
Turning a repeating decimal into a fraction
Grade 8 standard 8.NS.A.1 asks students to "convert a decimal expansion which repeats eventually into a rational number." The method is the same every time: multiply to slide the repeating block over, then subtract so the repeats cancel.
Example: write 0.666... as a fraction.
1. Let x = 0.666... 2. Multiply by 10, because one digit repeats: 10x = 6.666... 3. Subtract the first line from the second: 10x − x = 6.666... − 0.666..., so 9x = 6. 4. Divide: x = 6/9 = 2/3.
If two digits repeat, multiply by 100. If the repeat starts after a few other digits, multiply twice and subtract, as in Question 14. The end result is a fraction of integers, which proves the number is rational.
Where rational numbers sit in school
In the US Common Core standards, the idea builds over three grades:
- Grade 6. Standard 6.NS.C.6 asks students to "understand a rational number as a point on the number line," and 6.NS.C.7.C defines absolute value as "its distance from 0 on the number line."
- Grade 7. Standards 7.NS.A.1 to 7.NS.A.3 have students add, subtract, multiply and divide rational numbers, including negatives. 7.NS.A.1.C says subtraction means "adding the additive inverse, p − q = p + (−q)." 7.NS.A.2.B says "every quotient of integers (with non-zero divisor) is a rational number."
- Grade 8. Standard 8.NS.A.1 introduces irrational numbers and the conversion above. Standard 8.NS.A.2 asks students to use rational approximations to locate irrational numbers on a number line. Its example is √2: "show that √2 is between 1 and 2, then between 1.4 and 1.5, and explain how to continue on to get better approximations."
In Ontario, the 2020 Grades 1 to 8 math curriculum splits the work a little differently, so a Canadian parent should know where it differs:
- Grade 7. Expectation B1.3 is called Rational Numbers: students "read, represent, compare, and order rational numbers, including positive and negative fractions and decimal numbers to thousandths." The teacher notes say "any fraction can be expressed as a decimal number that either terminates or repeats." Grade 7 is also where students meet π as an irrational number, in the notes on circles.
- Grade 8. Expectation B1.2 is called Rational and Irrational Numbers: students "describe, compare, and order numbers in the real number system." The notes name π and "square roots of non-perfect squares" as irrational. Expectation B1.3 has students estimate and calculate square roots, with the example that √60 is between √49 and √64.
- One difference. The Grade 8 notes say "Students will perform operations with negative fractions in secondary school" because Grade 8 students are still building skill with integers. The US Grade 7 standards ask for them a year earlier. So Questions 15 to 18 below are US Grade 7 work, and a stretch for an Ontario Grade 8 student.
The curriculum also carries rational numbers into the order of operations. Grade 8 expectation B2.1 asks students to use "the properties and order of operations" for "problems involving rational numbers." Our guide to PEMDAS and BEDMAS covers that rule, and our guide to Grade 8 math in Ontario covers the rest of the year.
Five traps in rational-number questions
Each trap below is a place where a quick answer is wrong. The practice questions are built to reach every one.
1. A repeating decimal is not irrational. 0.777... never ends, but it repeats, so it is rational: 7/9. Irrational needs both: never ends and never repeats. 2. Not every square root is irrational. √25 is 5 and √100 is 10. Check whether the number under the root is a perfect square first. 3. 22/7 and 3.14 are not π. They are rational approximations. π has no fraction. 4. Zero and negatives are rational. A minus sign does not change the fraction test. 5. Two irrational numbers can multiply to a rational number. √2 × √2 = 2. The product of a root with itself is the number under the root.
A two-minute check at the kitchen table
This check shows whether your child knows the tests or only the vocabulary. You need a pencil and the back of an envelope.
1. Ask, "Is 0.25 rational?" The answer is yes, because it stops, and it equals 1/4. If your child says no, the idea to work on is that a decimal can be a fraction written another way. 2. Ask, "Is 0.333... rational?" The answer is yes, because it repeats, and it equals 1/3. If your child says no because it never ends, they have the first trap above. 3. Ask, "Is √9 rational? Is √10?" The answers are yes (3) and no. If both get the same answer, the square-root check is missing. 4. Ask, "How do you know?" The explanation is the point. A child who understands says something like "it's a fraction of two integers" or "its decimal repeats." A child who has only memorized a list of examples names the number again.
If question 3 went wrong, start with Questions 3, 5, 9 and 19 below. If question 2 went wrong, try Questions 11 to 14 first.
Practice questions
Twenty original questions in five sets. Write one line for each step, and use no calculator. The answers and the working are in the next section.
Is it rational or irrational? Questions 1 to 9
For each number, say whether it is rational or irrational, and give the reason.
Question 1. 7
Question 2. 0.777... (the 7s repeat forever)
Question 3. √7
Question 4. √2 × √2
Question 5. 2√5
Question 6. π
Question 7. 0
Question 8. −5/8
Question 9. √25
Fractions to decimals: Questions 10 to 12
Use long division. Say whether each decimal terminates or repeats.
Question 10. 3/8
Question 11. 5/6
Question 12. 4/11
Repeating decimals to fractions: Questions 13 and 14
Use the multiply-and-subtract method.
Question 13. Write 0.444... as a fraction.
Question 14. Write 0.8333... (only the 3 repeats) as a fraction. Compare your answer with Question 11.
Signed rational numbers: Questions 15 to 18
Question 15. −3/4 + 5/6
Question 16. 1/2 − (−3/4)
Question 17. (−2.5) × (−1.2)
Question 18. (−3/5) ÷ (9/10)
Irrational numbers on the number line: Questions 19 and 20
Question 19. Between which two whole numbers does √40 lie? Then between which two numbers with one decimal place?
Question 20. Which is greater, √10 or 3.2? Show how you know without a calculator.
Answer key, with the working
Question 1. Answer: rational. 7 = 7/1, an integer over an integer.
Question 2. Answer: rational. The decimal repeats, so it fits the decimal test. As a fraction: let x = 0.777..., so 10x = 7.777..., and 10x − x = 7, which gives 9x = 7 and x = 7/9.
Question 3. Answer: irrational. 7 is not a perfect square: 2² = 4 and 3² = 9, and 7 sits between them. A root of a number that is not a perfect square is irrational.
Question 4. Answer: rational. √2 is the positive number whose square is 2. Multiplying it by itself gives 2, and 2 = 2/1. Two irrational numbers can multiply to a rational one.
Question 5. Answer: irrational. 2√5 = √4 × √5 = √20. The number 20 is not a perfect square: 4² = 16 and 5² = 25, and 20 sits between them. So √20 is irrational.
Question 6. Answer: irrational. π's decimal never ends and never repeats, and it has no fraction. 22/7 is only an approximation: it is 3.142857..., while π is 3.14159...
Question 7. Answer: rational. 0 = 0/1. The rule bans zero on the bottom, not on top.
Question 8. Answer: rational. It is an integer over an integer, −5 over 8. As a decimal, it is −0.625, which terminates.
Question 9. Answer: rational. 25 is a perfect square, so √25 = 5, and 5 = 5/1.
Question 10. Answer: 0.375, terminates. 30 ÷ 8 = 3 remainder 6. Then 60 ÷ 8 = 7 remainder 4. Then 40 ÷ 8 = 5 remainder 0. The remainder reached zero, so the decimal stops at 0.375.
Question 11. Answer: 0.8333..., repeats. 50 ÷ 6 = 8 remainder 2. Then 20 ÷ 6 = 3 remainder 2. The remainder 2 is back, so the 3 repeats forever. Write it as 0.83 with a bar over the 3.
Question 12. Answer: 0.363636..., repeats. 40 ÷ 11 = 3 remainder 7. Then 70 ÷ 11 = 6 remainder 4. The remainder 4 is the one you started with, so the block 36 repeats forever.
Question 13. Answer: 4/9. Let x = 0.444..., so 10x = 4.444.... Subtract: 10x − x = 4, so 9x = 4 and x = 4/9.
Question 14. Answer: 5/6. Let x = 0.8333.... Then 10x = 8.333... and 100x = 83.333.... Subtract the second from the third: 100x − 10x = 83.333... − 8.333... = 75, so 90x = 75. Then x = 75/90 = 5/6. It matches Question 11, as it should, because both are the same number.
Question 15. Answer: 1/12. The common denominator is 12. −3/4 = −9/12 and 5/6 = 10/12. Then −9/12 + 10/12 = 1/12.
Question 16. Answer: 5/4. Subtracting a negative means adding its opposite: 1/2 + 3/4. With a denominator of 4, that is 2/4 + 3/4 = 5/4, or 1 1/4.
Question 17. Answer: 3. Two negatives multiply to a positive. Ignore the decimal points first: 25 × 12 = 300. There are two decimal places in total, so the product is 3.00 = 3.
Question 18. Answer: −2/3. Dividing by a fraction means multiplying by its reciprocal: (−3/5) × (10/9) = −30/45. Divide top and bottom by 15 to get −2/3. The signs are different, so the answer is negative.
Question 19. Answer: between 6 and 7, then between 6.3 and 6.4. 6² = 36 and 7² = 49, and 40 sits between them, so √40 is between 6 and 7. For the next digit, 6.3² = 39.69 and 6.4² = 40.96. Since 39.69 < 40 < 40.96, √40 is between 6.3 and 6.4. This is the method 8.NS.A.2 describes for √2. And √40 is irrational, because 40 is not a perfect square.
Question 20. Answer: 3.2 is greater. Square both numbers. 3.2² = 10.24, and (√10)² = 10. Since 10.24 is greater than 10, 3.2 is greater than √10. Also 3.1² = 9.61, so √10 is between 3.1 and 3.2.
Where to look next
Questions 1 to 9. These test the definition. If Questions 3, 5 or 9 went wrong, reread the section on irrational numbers and the perfect-square list. If Question 2 went wrong, reread the section on turning a repeating decimal into a fraction.
Questions 10 to 14. These test long division and the multiply-and-subtract method. If Question 12 went wrong, redo the long-division remainders one line at a time. If Question 14 went wrong, redo the multiply-and-subtract steps one line at a time.
Questions 15 to 18. These test signs and fractions. If these went wrong while Questions 1 to 14 were fine, the issue is arithmetic with signed numbers, not rational numbers. For more practice, Genie's Grade 9 math practice quiz and Grade 9 math guide are good next steps.
Questions 19 and 20. These test the square-root check and the number line. If the worry is bigger than the math, our guide to math anxiety in children helps you tell the two apart.
A rational number is an integer over an integer, with a bottom number that is not zero. Its decimal terminates or repeats. An irrational number has a decimal that never ends and never repeats, and the usual examples are π and the square root of any number that is not a perfect square. Run the two-minute check with 0.333... and √10, then use the 20 questions to find which test goes wrong: the fraction test, the decimal test or the square-root check.
Twenty questions with worked answers show which test breaks down: the fraction test, the decimal test or the square-root check. A certified math teacher can read a student's working and teach the step that needs it.
Related reading: Grade 8 math in Ontario: how the number strand fits the rest of the year →
- Common Core State Standards, Grade 6 The Number System
- Common Core State Standards, Grade 7 The Number System
- Common Core State Standards, Grade 8 The Number System
- Common Core State Standards, Grade 8 Expressions and Equations
- Common Core State Standards, Mathematics Glossary
- Ontario Ministry of Education, The Ontario Curriculum, Grades 1 to 8: Mathematics, 2020 (PDF, January 2021)
- Wolfram MathWorld, Rational Number
- Wolfram MathWorld, Irrational Number
- Wolfram MathWorld, Pi
Free discovery session
Meet the teacher first. Pay only if it clicks.
No card needed
- 01Pick a teacherFilter by subject and grade. Look for the green “Free discovery session” badge.
- 02Meet for 30 minutesShare your child’s goals. See how the teacher explains a problem.
- 03Book only if it fitsBook lessons with that teacher, or meet another one for free.
FAQ
What is a rational number example?
What is a rational number example?
Any number you can write as an integer over a non-zero integer. 7 is rational because it is 7/1. So are 0, −3/4, 0.5 and 0.333..., which equals 1/3. The fraction test and the decimal test both confirm them: each can be written as a fraction of integers, and each decimal stops or repeats.
What is the difference between rational and irrational numbers?
What is the difference between rational and irrational numbers?
A rational number can be written as a fraction of two integers, and its decimal terminates or repeats. An irrational number cannot be written that way, and its decimal never ends and never repeats. π and √2 are irrational. Together, the two kinds make up the real numbers.
Is 7 rational or irrational?
Is 7 rational or irrational?
Rational. Every integer is an integer over 1, so 7 = 7/1. The same holds for zero and for negative integers such as −7. The Common Core glossary says the rational numbers include the integers, and the decimal form of 7, which is 7.0, ends, so 7 passes both tests.
Is 0.7777777 a rational number?
Is 0.7777777 a rational number?
Yes, if the 7s repeat forever, because a repeating decimal is the decimal form of a rational number. As a fraction, 0.777... = 7/9. A decimal with a finite number of 7s, such as 0.7777777, also terminates, so it is rational too.
Is root 7 rational or irrational?
Is root 7 rational or irrational?
Irrational. 7 is not a perfect square, since it sits between 2² = 4 and 3² = 9. MathWorld states that a root of an integer is irrational unless the integer is a perfect power of the same degree. So √7 cannot be written as a fraction of two integers, and its decimal never ends and never repeats.
Is root 2 times root 2 rational or irrational?
Is root 2 times root 2 rational or irrational?
Rational. √2 is the positive number whose square is 2, so √2 × √2 = 2, which is 2/1. √2 is irrational, yet the product is rational, so a product of two irrational numbers can be rational. The decimal form of the product, 2.0, ends, so the fraction test and the decimal test agree.
Is 2 root 5 rational or irrational?
Is 2 root 5 rational or irrational?
Irrational. 2√5 = √4 × √5 = √20. The number 20 is not a perfect square, since it sits between 4² = 16 and 5² = 25, so √20 is irrational. Its decimal never ends and never repeats, and it cannot be written as a fraction of two integers, so it fails both tests.
Is zero a rational number?
Is zero a rational number?
Yes. 0 = 0/1. The rule for rational numbers bans a zero on the bottom of the fraction, not a zero on top. Zero is an integer, and the Common Core glossary says the rational numbers include the integers. The decimal form of zero, 0.0, ends, so zero passes the decimal test too.
Is the first session with a Genie teacher really free?
Is the first session with a Genie teacher really free?
Yes, with teachers who show the green “Free discovery session” badge. Your first 30-minute discovery session with each of those teachers is free, as long as you have not had a lesson with them yet. No card is needed to book it. Teachers can choose not to offer it, so not every profile has the badge.
