For triangles that the area of a triangle equals the product of its inradius and its semiperimeter The area of any triangle is the product of its
inradius (the radius of its inscribed circle) and its semiperimeter: : A = rs. The area of a triangle can also be calculated from its semiperimeter and side lengths using
Heron's formula: :A = \sqrt{s\left(s-a\right)\left(s-b\right)\left(s-c\right)}. The
circumradius of a triangle can also be calculated from the semiperimeter and side lengths: :R = \frac{abc} {4\sqrt{s(s-a)(s-b)(s-c)}}. This formula can be derived from the
law of sines. The inradius is : r = \sqrt{\frac{(s-a)(s-b)(s-c)}{s}}. The
law of cotangents gives the
cotangents of the half-angles at the vertices of a triangle in terms of the semiperimeter, the sides, and the inradius. The length of the
internal bisector of the angle opposite the side of length is :t_a= \frac{2 \sqrt{bcs(s-a)}}{b+c}. In a
right triangle, the radius of the
excircle on the
hypotenuse equals the semiperimeter. The semiperimeter is the sum of the inradius and twice the circumradius. The area of the right triangle is (s-a)(s-b) where are the legs.
For quadrilaterals The formula for the semiperimeter of a
quadrilateral with side lengths is :s = \frac{a+b+c+d}{2}. One of the triangle area formulas involving the semiperimeter also applies to
tangential quadrilaterals, which have an incircle and in which (according to
Pitot's theorem) pairs of opposite sides have lengths summing to the semiperimeter—namely, the area is the product of the inradius and the semiperimeter: : K = rs. The simplest form of
Brahmagupta's formula for the area of a
cyclic quadrilateral has a form similar to that of Heron's formula for the triangle area: :K = \sqrt{\left(s-a\right)\left(s-b\right)\left(s-c\right)\left(s-d\right)}.
Bretschneider's formula generalizes this to all
convex quadrilaterals: : K = \sqrt {(s-a)(s-b)(s-c)(s-d) - abcd \cdot \cos^2 \left(\frac{\alpha + \gamma}{2}\right)}, in which and are two opposite angles. The four sides of a
bicentric quadrilateral are the four solutions of
a quartic equation parametrized by the semiperimeter, the inradius, and the circumradius.
Regular polygons The area of a
convex regular polygon is the product of its semiperimeter and its
apothem. ==Circles==