Any company is worth its assets. The assets are the total discounted value you can extract from the company over its lifetime (discounted by inflation, interest rates, future value, alternative opportunities and risks).
The assets include net profits, but also include property such as IP, buildings, machines, vehicles, market share, contracts, etc. The discounting must be carefully done and to current currency values.
A small company MUST be valued with a great deal of skepticism because it is very vulnerable. A company that depends on one person is worth very little if anything at all! Even companies that have 100 employees that I have seen being sold, once the new boys move in, can crash because of staff dissatisfaction with the new management or because the company was just too small.
A small company must also be discounted because valuing a company properly takes a great deal of time and effort and few people know how to do it - so valuations cost money and that cost has to be taken off the value of the company.
So there is no formula for small companies - there can be no formula other than to look at the assets, of which profits are just a single factor. If a company has just a handful of employees but owns a £1m building and is just about breaking even, that company is worth that building.
One factor most aspirant owners fail to account for is the cost of ownership. It costs money to own a company. Those costs include the cost of a decent manager if the company was owner/operator run. They also include the cost of overseeing and controlling the company - once a month or once a week, someone from the parent company has to go through the books and the accounts and check them. For example, stock has to match sales, receivables have to be received - and so on.