In this paper we propose a measure which defines the degree to which a shape differs from a square. The new measure is easy to compute and being area based, is robust—e.g., with respect to noise or narrow intrusions. Also, it satisfies the following desirable properties: •it ranges over (0,1] and gives the measured squareness equal to 1 if and only if the measured shape is a square; •it is invariant with respect to translations, rotations and scaling. In addition, we propose a generalisation of the new measure so that shape squareness can be computed while controlling the impact of the relative position of points inside the shape. Such a generalisation enables a tuning of the behaviour of the squareness measure and makes it applic...