We prove optimal embeddings of homogeneous Sobolev spaces built over function spaces in ℝⁿ with K-monotone and rearrangement invariant norm into other rearrangement invariant function spaces. The investigation is based on pointwise and integral estimates of the rearrangement or the oscillation of the rearrangement of f in terms of the rearrangement of the derivatives of f.