Calculate formfactor