According to today's market estimate, the current price of BTC is: $27,138.51, the Whatsminer M50 can mine 0.00025093 BTC every 24 hours, if the electricity cost is 6 cents/kwH, you can make profit per year.
Of course, if you calculate the net profit, you also need to deduct the cost of purchasing the mining machine.
If you choose to host the miner, you will also need to deduct the hosting fee.