calculate rev ranges hg