calculation origin