You have to factor where you live, your outgoing costs, any dependents you have, loans, insurance policies, bills, council tax, living (i.e. food shopping etc...), petrol, and all sorts of other expenses.
Personally I'd say 40k is a minimum for a "good" salary, certainly for London anyway.
certainly wouldn't fancy trying to live in London on 40k