You can calculate the estimated watt usages of parts. For example, you can look up how much power certain PC parts draw on average. Then, you calculate the sum of those numbers and there you have a rough estimation.
Much easier, though I don’t know how accurate, are tools which say they are doing that automatically for you.
The following is one example for such tool.