Area and perimeter calculator

Find the area and perimeter of a rectangle, circle or triangle.

Calculation inputs

Area (square units)

12
Perimeter (length units)
14
QR code

How the calculation works

For a rectangle, A = ab and P = 2(a + b). For a circle, A = πr² and P = 2πr. For a triangle with sides a, b and c, use the semiperimeter s to find A = √(s(s − a)(s − b)(s − c)). Enter all lengths in the same unit.

Example

A 3-by-4 rectangle has an area of 12 and a perimeter of 14.

Heron’s formula — OpenStax

Method checked