Market share is calculated by dividing the percentage of a market company's sales over a given period by the total sales of the entire industry over the same period. By knowing this percentage, you can gain an understanding of how much of the market your company represents relative to its competitors.