The **compactness measure of a shape,** sometimes called the **shape factor**, is a numerical quantity representing the degree to which a shape is compact. The meaning of "compact" here is not related to the topological notion of compact space. Various compactness measures are used. However, these measures have the following in common:

- They are applicable to all geometric shapes.
- They are independent of scale and orientation.
- They are dimensionless numbers.
- They are not overly dependent on one or two extreme points in the shape.
- They agree with intuitive notions of what makes a shape compact.

A common compactness measure is the Isoperimetric quotient, the ratio of the area of the shape to the area of a circle (the most compact shape) having the same perimeter.

Compactness measures can be defined for three-dimensional shapes as well, typically as functions of volume and surface area. One example of a compactness measure is sphericity *Ψ*. Another measure in use is .

A common use of compactness measures is in redistricting. The goal is to maximize the compactness of electoral districts, subject to other constraints, and thereby to avoid gerrymandering. Another use is in zoning, to regulate the manner in which land can be subdivided into building lots. Another use is in pattern classification projects so that you can classify the circle from other shapes.

### Famous quotes containing the words shape and/or measure:

“Thus Kent, O princes, bids you all adieu;

He’ll *shape* his old course in a country new.”

—William Shakespeare (1564–1616)

“We say that every man is entitled to be valued by his best moment. We *measure* our friends so. We know, they have intervals of folly, whereof we take no heed, but wait the reappearings of the genius, which are sure and beautiful.”

—Ralph Waldo Emerson (1803–1882)