How can you calculate the results of coin mining?

I was invited to join one interesting project, namely the extraction of cryptocurrency. I have everything I need for this. But I am also interested in whether it will be profitable to take part in it. You do not want to lose money on some dubious extraction, but there must be some official and clear confirmation of success. How can you calculate the results of coin mining?