In this rule

Historical Rules · 18 June 2010

Rule 702.45b

Official source text from the 18 June 2010 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