Skip to main content
Mathematics & calculation

Perimeter of a Triangle Calculator

Calculate the perimeter of a triangle from its three sides, or from two sides and the angle between them using the law of cosines. Triangle inequality check, worked examples and different units accepted for each side.

Local processing · Fits its container · Updated without touching your code

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Responsive and automatically resized by Bethemesh.

Code to copy

Need help with the integration?

The documentation details the options, themes, sizes and the integration in each CMS. The code works in an HTML page, WordPress, Webflow, Wix, React, Vue or Astro.