[Home](https://learningfolio.de5.net/) / [Math](https://learningfolio.de5.net/math/) / [Math glossary](https://learningfolio.de5.net/math/glossary/) / Rational Numbers: Definition, Fractions, and Examples

[Math glossary](https://learningfolio.de5.net/math/glossary/)

# Rational Numbers: Definition, Fractions, and Examples

Identify rational numbers, convert repeating decimals, reduce fractions, and practise comparison and arithmetic with six worked examples.

Written by **Learningfolio Team**

We’re subject-matter experts in math, science, parent support, and education, with 100 years of combined experience. We believe in learning, experimenting, and growing, and we review one another’s work.

## On this page

* [TL;DR](https://learningfolio.de5.net/math/rational-numbers/#tldr)
* [Key Points](https://learningfolio.de5.net/math/rational-numbers/#key-points)
* [What are rational numbers?](https://learningfolio.de5.net/math/rational-numbers/#what-are-rational-numbers)
* [How do you write a rational number in standard form?](https://learningfolio.de5.net/math/rational-numbers/#how-do-you-write-a-rational-number-in-standard-form)
* [Why are terminating and repeating decimals rational?](https://learningfolio.de5.net/math/rational-numbers/#why-are-terminating-and-repeating-decimals-rational)
* [How do you compare and calculate with rational numbers?](https://learningfolio.de5.net/math/rational-numbers/#how-do-you-compare-and-calculate-with-rational-numbers)
* [Worked Rational Number Examples](https://learningfolio.de5.net/math/rational-numbers/#worked-rational-number-examples)
* [Mistakes That Change a Rational Number Answer](https://learningfolio.de5.net/math/rational-numbers/#mistakes-that-change-a-rational-number-answer)
* [Try It Yourself](https://learningfolio.de5.net/math/rational-numbers/#try-it-yourself)
* [Answers and Reasoning](https://learningfolio.de5.net/math/rational-numbers/#answers-and-reasoning)
* [Frequently Asked Questions](https://learningfolio.de5.net/math/rational-numbers/#frequently-asked-questions)
* [Conclusion](https://learningfolio.de5.net/math/rational-numbers/#conclusion)
* [Read More](https://learningfolio.de5.net/math/rational-numbers/#read-more)
* [Research Behind This Article](https://learningfolio.de5.net/math/rational-numbers/#research-behind-this-article)

## TL;DR

**A rational number can be written as an integer divided by a nonzero integer.** Rational numbers include integers, terminating decimals, and repeating decimals. In standard form, reduce the fraction and use a positive denominator.

## Key Points

* The denominator in $p/q$ cannot equal zero.
* A rational number may be positive, negative, or zero.
* Equivalent fractions represent the same point on the number line.
* A reduced fraction terminates in base 10 only when the denominator has no prime factors besides 2 and 5.
* Rational numbers are closed under addition, subtraction, multiplication, and division by a nonzero rational number.

## What are rational numbers?

A **rational number** is any number that can be expressed as $p/q$, where $p$ and $q$ are integers and $q\ne0$. The set is often written $\mathbb{Q}$. An integer qualifies because you can divide it by 1. Zero qualifies because $0/1=0$.

| Value | Rational? | Reason |
| --- | --- | --- |
| $-8$ | Yes | $-8/1$ |
| $0.125$ | Yes | $125/1000=1/8$ |
| $0.\overline3$ | Yes | It equals $1/3$ |
| $\sqrt{49}$ | Yes | It simplifies to 7 |
| $\sqrt2$ | No | It cannot be written as a ratio of integers |
| $3/0$ | Undefined | It does not represent a number |

Check the value, not just its appearance. A square root can simplify to an integer, and a decimal can be an exact fraction. The comparison with irrational numbers goes further into how to classify real values. [OpenStax, Rational and Irrational Numbers](https://openstax.org/books/prealgebra-2e/pages/7-1-rational-and-irrational-numbers)

![The number line shows positive and negative rational numbers, and three different names for one-half](https://learningfolio.de5.net/assets/versioned/rational-numbers-equivalent-fractions-line.df1994a3144f.webp)


The values $1/2$, $2/4$, and 0.5 share the same point on the line.

## How do you write a rational number in standard form?

Start with an integer numerator and a nonzero integer denominator. Divide both by their positive greatest common factor. If the denominator is negative, multiply both by $-1$ so the denominator is positive.

For example, $18/(-24)$ reduces to $3/(-4)$ after dividing both by 6. Move the minus sign to the numerator to obtain $-3/4$. This is standard form because 3 and 4 have no common positive factor besides 1 and the denominator is positive. If the numerator is zero, the reduced form is $0/1$. Use the greatest common factor guide to reduce larger values. [OpenStax, Real Numbers: Algebra Essentials](https://openstax.org/books/algebra-and-trigonometry-2e/pages/1-1-real-numbers-algebra-essentials)

## Why are terminating and repeating decimals rational?

A terminating decimal has a finite number of places. Those place values come from a power of ten. For instance, $0.125=125/1000$. Reduce the fraction after converting.

A repeating decimal can be converted by multiplying by a power of ten that shifts the repeating part by a full cycle. If $x=0.\overline{36}$, then $100x=36.\overline{36}$. Subtract the two equations. The repeated tails cancel, leaving $99x=36$ and $x=4/11$.

A rational decimal either terminates or repeats. When you divide by a positive integer $q$, each remainder is one of $0,1,\ldots,q-1$. If a remainder is zero, the decimal ends. Otherwise some remainder returns, and all subsequent digits repeat. In lowest terms, the fraction terminates precisely when $q$ divides a power of ten. A power of ten has only 2 and 5 as prime factors. The [terminating decimals guide](https://learningfolio.de5.net/math/fractions-decimals-and-terminating-decimals/) shows this test on more denominators. [OpenStax, Decimals](https://openstax.org/books/intermediate-algebra-2e/pages/1-4-decimals)

## How do you compare and calculate with rational numbers?

Use a common positive denominator to compare values or combine numerators. On a number line, an amount farther right is greater, including when both values are negative. If the denominators are already positive, the cross products also preserve the comparison.

| Operation | Method |
| --- | --- |
| Addition or subtraction | Match denominators, then combine the signed numerators |
| Multiplication | Multiply the numerators and denominators, then reduce |
| Division | Multiply by the reciprocal of the nonzero divisor |
| Comparison | Express them with a common positive denominator or compare their number-line positions |

The operations keep integer numerators and nonzero denominators after appropriate restrictions. That is why the resulting values remain rational. [OpenStax, Add and Subtract Fractions](https://openstax.org/books/prealgebra-2e/pages/4-4-add-and-subtract-fractions-with-common-denominators)

## Worked Rational Number Examples

### Example 1

Write $18/(-24)$ in standard form.

1. The greatest common factor of 18 and 24 is 6.
2. Divide by 6 to get $3/(-4)$.
3. Move the sign to the numerator to obtain $-3/4$.

### Example 2

Convert $2.1\overline6$ to a fraction.

1. Let $x=2.1666\ldots$. Then $10x=21.6666\ldots$.
2. Also, $100x=216.6666\ldots$. Subtract to get $90x=195$.
3. Divide and reduce, giving $x=195/90=13/6$.

### Example 3

Does $7/40$ terminate in base 10?

1. The fraction is in lowest terms.
2. Its denominator $40=2^3\cdot5$ contains only 2 and 5.
3. Multiply by $25/25$ to get $175/1000=0.175$.

### Example 4

Which is greater, $-5/8$ or $-2/3$?

1. Use the common denominator 24.
2. They become $-15/24$ and $-16/24$.
3. $-15>-16$, so $-5/8$ is greater.

### Example 5

Find $-2/3+5/6$.

1. The common denominator is 6.
2. Rewrite the first fraction as $-4/6$.
3. Add to get $(-4+5)/6=1/6$.

### Example 6

Find $(-3/4)/(9/10)$.

1. The divisor $9/10$ is nonzero.
2. Multiply by its reciprocal, $10/9$.
3. The product is $-30/36=-5/6$ after reduction.

## Mistakes That Change a Rational Number Answer

### Mistake 1: Allowing a zero denominator

One can use zero in the numerator. Division by zero is undefined.

### Mistake 2: Adding the denominators

A denominator sets the size of each fractional part. Use a common denominator before adding numerators.

### Mistake 3: Assuming every decimal that goes on forever is irrational

A decimal that repeats is rational. The deciding question is whether the decimal eventually has a repeating block or terminates.

## Try It Yourself

1. Write $-42/(-56)$ in standard form.
2. Convert $0.\overline{27}$ to a reduced fraction.
3. Does $3/14$ have a terminating decimal?

## Answers and Reasoning

1. The result is $3/4$. Both signs cancel, and dividing top and bottom by 14 reduces the fraction.
2. Multiply by 100 and subtract the starting value to get $99x=27$, so $x=3/11$.
3. No. The reduced denominator has a factor of 7, so its decimal repeats.

## Frequently Asked Questions

### Are all whole numbers rational?

Yes. Any whole number $n$ equals $n/1$.

### Is there a rational number between two different rational numbers?

Yes. Their average lies between them and is rational because addition and division by 2 preserve rationality.

### Can a negative number be rational?

Yes. For example, $-3/5$ uses an integer numerator and a nonzero integer denominator.

## Conclusion

* Classify a value by whether it is a ratio of integers with nonzero denominator.
* Reduce the fraction and keep its denominator positive.
* Use place value or a repeating-tail equation when converting a decimal.

## Read More

* [Identify whole numbers and their place on the number line](https://learningfolio.de5.net/math/whole-numbers/)
* [Compare place-value systems and number sets](https://learningfolio.de5.net/math/number-system-in-maths/)

## Research Behind This Article

1. OpenStax, *Prealgebra 2e: Rational and Irrational Numbers*. [OpenStax](https://openstax.org/books/prealgebra-2e/pages/7-1-rational-and-irrational-numbers)
2. OpenStax, *Algebra and Trigonometry 2e: Real Numbers, Algebra Essentials*. [OpenStax](https://openstax.org/books/algebra-and-trigonometry-2e/pages/1-1-real-numbers-algebra-essentials)
3. OpenStax, *Intermediate Algebra 2e: Decimals*. [OpenStax](https://openstax.org/books/intermediate-algebra-2e/pages/1-4-decimals)
4. OpenStax, *Prealgebra 2e: Add and Subtract Fractions with Common Denominators*. [OpenStax](https://openstax.org/books/prealgebra-2e/pages/4-4-add-and-subtract-fractions-with-common-denominators)
