How to Calculate Circularity

The circularity measure can help computers find certain types of objects in an image.
••• Thomas Northcut/Digital Vision/Getty Images

By definition, a circle is the most circular object. It is also the most compact in the sense that it encloses the most area for a given perimeter. There are many applications in which you want to say just how compact or circular an object is. One common measure -- referred to in different places as circularity, compactness and shape factor -- compares the perimeter of a shape to the area it contains.

Calculating Circularity

A circle has an area of pi_r^2 and a perimeter of 2_pi_r, where r is the radius. A useful measure of circularity compares these two in such a way that the value does not depend on how big the shape is or which units are used to measure it. Also, it will be easier to understand if the value for a circle is equal to one, and smaller for other shapes (less circular or compact). To achieve this, a common measure of circularity is given by four times pi times the area divided by the perimeter squared: C = 4_pi_A/P^2 ~ 12.57_A/P^2, where C is the circularity, A is the area and P is the perimeter. For a circle, C = 1. Values for other simple shapes are: 1x2 rectangle, 0.698; equilateral triangle, 0.605; Square, 0.785 and Hexagon, 0.907.

Applications

The circularity measure is used extensively in image analysis to sort or identify objects. It has also been used to analyze the gerrymandering of legislative districts and proposed as a way to zone irregular land parcels.

Related Articles

How to Figure Out Square Feet
What Are the Units for Diameter?
How to Calculate Circumference in Inches
Different Kinds of Geometry
How to Calculate Roundness
How to Calculate the Mean, Median, & Mode
How to calculate the area of a square or rectangle
How to Calculate the Surface Area of a Circle
How to Calculate an Area in Square Meters
How to Solve a Hexagon
How to Find the Area & Width of a Rectangle
How to Find the Area of a Polygon
How to Find the Cross Sectional Area of a Pipe
How to Calculate the Outside Length of a Circle
How to Find the Radius of a Sphere When Given the Volume
How to Calculate Eccentricity
How to Calculate Area From Width & Length
How to Calculate the Perimeter of Quadrilaterals
How to Calculate a Square Yard
How to Calculate Hectares