You can use calculators to find out if it is profitable or not. There are several dependencies such as electricity price software hardware etc.