Determine (the amount or number of something) mathematically:
‘the program can calculate the number of words that will fit in the space available’
[with clause]: ‘local authorities have calculated that full training would cost around £5,000 per teacher’