If you're asking how to calculate the power draw at the wall based on CPU usage, this is not remotely possible. Your computer has a lot more in it than the CPU, and even then the actual power draw will vary greatly and is not based solely on CPU usage.
If you want to know how much power your computer is using, buy a Kill-a-Watt. They're like $20.