If you mean the entire CPU package then all CPUs have multiple rails. 1 for cores, 1 for SoC and probably 1-2 more for other stuff.
In order to calculate power (Watt) you need voltage (V) times (x) current (A).
So you need to know each rail's voltage and current at any given moment and then you...