You can calculate the beta of a company by using CAPM. If you know the cost of equity then you can use the following equation and re-order to find beta:
Ke=Rf+B(Rm-Rf) where Ke is the cost of equity, Rf is the risk free rate (treasury bond) and Rm is the return of the market (usually an index such as FTSEALL).