calculate (something) into (something)
To include a particular amount as one does calculations. When you submit your travel expenses for reimbursement, be sure to calculate gas into the total. Wait, I didn't calculate the tip into each person's total, so we need to give the server more money.
calculate something into something
and calculate something into include something in one's calculations. Did you calculate the cost of the cake into the total? Yes, I calculated in all the costs.