calculate import