calculateth