In this rule

Historical Rules · 18 February 2022

Rule 118.3a

Official source text from the 18 February 2022 Rules release

Permalink

Paying mana is done by removing the indicated mana from a player’s mana pool. (Players can always pay 0 mana.) If excess mana remains in that player’s mana pool after making that payment, the player announces what mana is still there.

Find this number in the current Rules