Cost = Quantity × Price per kilogram
Cost = 2.5 kg × $6.40
Cost = $16.00
Therefore, 2.5 kg at $6.40 per kg costs $16.00.