We prove a Sobolev type inequality for real-valued weakly differentiable functions on Rn, decaying to 0 at infinity, involving the integral of a convex function of the full gradient.