The workers of a factory are paid according to supply and demand. It is therefore misleading to ask what share of the factories profits they are entitled to. They are not paid a share of the factories profits at all, but a market wage. They would be paid the same if the factory makes a loss or if the capitalist chose to bury the output instead of selling it. The capitalist produces the entire output of the factory. He, too, is paid according to supply and demand. He makes a profit if the market value of what he produced is more than what he spent producing it, e.g. buying raw materials and paying workers. He does not take away a share of the workers profits in return for administrating production. This is elementary supply and demand economics.