Recently, a bond-additive topological descriptor, named as the Mostar index,
has been introduced as a measure of peripherality in networks. For a connected
graph G, the Mostar index is defined as $Mo(G) = \sum_{e=uv \in E(G)} |n_u(e)
- n_v(e)|,whereforanedgee=uvwedenotebyn_u(e)$ the number of
vertices of G that are closer to u than to v and by nv(e) the number
of vertices of G that are closer to v than to u. In this paper, we
generalize the definition of the Mostar index to weighted graphs and prove that
the Mostar index of a weighted graph can be computed in terms of Mostar indices
of weighted quotient graphs. As a consequence, we show that the Mostar index of
a benzenoid system can be computed in sub-linear time with respect to the
number of vertices. Finally, our method is applied to some benzenoid systems
and to a fullerene patch.