A company hopefully if profitable. When they are one way to express that is using earnings per share. If they have profit of $1 Billion and they have $1 Billion shares then the earnings per share is $1. Of course companies that aren't profitable have losses per share. Many famous technology companies had losses in their early years as they built their customer base before they were able to build their advertising income.
Stock holders don't get the money mentioned in EPS. That is used by some investors to estimate what the share price should be, you will see that expressed as P/E ration or Price to earnings ratio.
The reason why you don't get the profits is because the company might want to use that money to expand their business by opening new stores, building a bigger factory, or by researching and developing a new rocket engine. Sometimes they use it to buy other businesses.
Sometimes they do give it to the stockholders in the form of a dividend. Many stockholders convert those dividends back into shares. Some companies have a long history of dividends, others have never given dividends.
There are many EPS numbers associated with a company. There are quarterly ones and annual ones. There are ones that are estimates of the current of future time periods.
I just read that Google's IPO price was $85 per share. If I had
invested $1000 to buy almost like 11.74 shares at that time, then
assuming that its stock price is $2,750 per share today, and if I
decide to sell all my stocks, then I would have gained like $32,285.
Is that right?
My math is slightly different. At the time very few brokers would have allowed you to invest in fractional shares, though almost all do now.
Therefore you would have had to decide 11 shares or 12. Lets go for it and assume 12 shares for $1020, plus a transaction fee. Now assuming that at the moment you sell your 12 shares the price is $2,750 you would receive $33,000 in cash into your brokerage account. That would make your profit $33,000 minus $1,020 or $31,980.
But wait there is a twist. In 2014 the company did a split. They would have turned your 12 shares into 12 Class A shares and 12 class C shares. They have a similar price, but they differ in voting power.
That means you would have has 12 class A shares to sell and 12 class C shares to sell. That would mean that if the prices are similar that would put $66,000 into your brokerage account with a profit of $64,980.