Only 4 Weights Puzzle

The Puzzle:

Only 4 Weights
You have a balance scale with four weights. With these four weights you must balance any whole number load from 1kg all the way up to 40kg.

How much should each of the four weights weigh?

(You may place weights on both sides of the scale at the same time.)
Do you have the answer? Check against our solution!