Since the future price of Bitcoin is unknown, at the end of the day you can not really decide if mining is profitable with maths.
I stopped mining when I generated less money than I spent for electricity (the gear had already been paid off). However, back then the exchange rate was maybe 5$. If I had known that it would be 100$ two years later, perhaps I could have mined longer.