Probabilities from a histogram

In histograms, the area above any class equals the proportion of values in the class.

Probabilities from a probability density function

Since the probability density function (pdf) describing an infinite numerical population is a type of histogram, it satisfies the same property.

The probability that a sampled value is within two values, P(a < X < b), equals the area under the pdf.