tam-calculation