A rational number is a number that is of the form p/q where p and q are integers and q is not equal to 0. The set of rational numbers is denoted by Q. In other words, If a number can be expressed as a fraction where both the numerator and the denominator are integers, the number is a rational number.