In this rule

Historical Rules · 13 July 2013

Rule 702.47b

Official source text from the 13 July 2013 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.2e).

Find this number in the current Rules