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

The Best STEM Kits to Get Your Kids Started With Coding
How to Calculate the Diameter of a Circle From a Linear...
How to Solve a Hexagon
How to Calculate Area From Width & Length
How to Calculate Ellipse Eccentricity
How to Figure Out Square Feet
How to Calculate Eccentricity
How to Calculate the Base of a Shape
How to calculate the area of a square or rectangle
How to Calculate Roundness
Different Kinds of Geometry
Math Equations for Volume & Surface Area
How to Calculate the Surface Area of a Circle
What Are the Units for Diameter?
How to Calculate the Radius of a Square
How to Find the Area of a Polygon
How Is an Acre Measured?
How to Calculate Arc Area
How to Figure Cubic Feet in a Cone Shape
How to Calculate the Radius From the Circumference
How to Find the Radius of a Sphere When Given the Volume