This paper presents a proposal for computing the variance of a fuzzy number based on the Yager index for convex fuzzy sets. We compare the proposal to the sample variance (based on α-cuts) to see its behavior over triangular, trapezoidal and Gaussian fuzzy numbers. Some considerations about the obtained results are provided and some recommendations are given.