A figure of merit for flexibility