The average cost of raising a child has increased to £166,000, or £9,222 a year if split evenly over the years until they are 18.