Calculates the area of a circle as π × radius².
The area of a circle follows from its radius alone, together with the constant pi, written and roughly equal to 3.1416.
With the default radius :
The area is about 78.5398.
The radius is half the diameter, so a circle 10 across has radius 5. Squaring the diameter instead of the radius gives four times the correct answer. To work straight from the diameter , use .
Area grows with the square of the radius: double the radius and the area becomes four times larger, triple it and the area is nine times larger. Do not confuse the area with the circumference , which is a length (cm) rather than a length squared (cm²). Because cannot be written as a fraction, the answer is always an approximation.