How to calculate the total shares when both companies have shares?

Calculated according to the percentage of the market value of shareholders to the total market value of the company.

Before the merger, the two companies will evaluate the market value of the two companies, and then negotiate the share exchange ratio, such as 10 shares of Company A for 9 shares of Company B. ..

Shares, representing part of the company's ownership, are divided into common shares, preferred shares and incomplete shares. Shares generally have the following three meanings: 1, and shares are part of the capital of a joint stock limited company; 2. Shares represent the rights and obligations of shareholders of a joint stock limited company; 3. The stock can express its value in the form of stock price.