A rational number is a number that can be written as a ratio. That means it can be written as a fraction, in which both the numerator and the denominator are whole numbers. The number 8 is a rational number because it can be written as the fraction 8/1.