Calculate amount paid