OuterVision's online calculator is the best calculator ... then the best way to measure your PC's power consumption is with a watt meter. A great tool for this is the P3 Kill A Watt.
which also displays information about power consumption. It runs using a NodeMCU and measures voltage and current across a 100-ohm resistor to calculate the power use, although the resolution does ...