In this rule

Historical Rules · 13 November 2015

Rule 702.47b

Official source text from the 13 November 2015 Rules release

The permanent is sacrificed at the same time the spell is announced (see rule 601.2a). The total cost of the spell is reduced by the sacrificed permanent’s mana cost (see rule 601.2f).

Find this number in the current Rules