Calculate the shit