Warren Buffet haven't "earned a billion dollars". Net worth means the value of all your assets and in his case it's mostly stocks. Look at the evolution of his net worth and see how it accelerates as he gets older. That's compounding interests doing what they do.