For any unitarily invariant convex function F on the states of a composite quantum system which isolates the trace there is a critical constant C such that F(w)<= C for a state w implies that w is not entangled; and for any possible D > C there are entangled states v with F(v)=D. Upper- and lower bounds on C are given. The critical values of some Fs for qubit/qubit and qubit/qutrit bipartite systems are computed. Simple conditions on the spectrum of a state guaranteeing separability are obtained. It is shown that the thermal equilbrium states specified by any Hamiltonian of an arbitrary compositum are separable if the temperature is high enough.