It's not strictly true to say that in any other job you'd have to "earn £40 to get £24"
eg (in round figures)
£40 of sector pay - 30% of that is taxed, say £13.
40% of £13 is £5
£40 - £5 = £35 in your pocket.
(health warning!! these are back of a fag packet figures)