The subgradient of a convex function can be seen as a generalisation of the gradient in that it does not require differentiability. After a brief introduction, I will say a word or two about its connection to nonsmooth constitutive laws and the Legendre transform.