Let X be a continuous random variable. For 0<p<1, the p-th quantile is the value xp such that Pr(X ≤ xp) = p. In other words, the fraction of the population less than or equal to xp is p. For example, x0.5 is the (population) median.
Often percentages are used. The n-th percentile is the value xn/100 such that n per cent of the population is less than or equal to xn/100. For example, 30% of the population is less than or equal to the 30th percentile. The 25th, 50th, and 75th percentiles are the quartiles.
Alternatively, the population may be divided into tenths. The n-th decile is the value xn/10 such that n-tenths of the population is less than or equal to xn/10. For example, three-tenths of the population is less than or equal to the 3rd decile.
The terms can be modified, though not always very satisfactorily, to be applicable to a discrete random variable or to a large sample ranked in ascending order.