Regular Polygon Area From Side And Apothem screenshot

Regular Polygon Area From Side And Apothem

The area of any regular polygon from its side count, side length and apothem, using the perimeter-times-apothem form so no trigonometry is needed.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
Shows its formula
Nothing uploaded

What this Regular Polygon Area From Side And Apothem calculator does

The page evaluates A = ½ × P × a, P = n × s with the values you type and prints Perimeter (length units), Area (square units). A polygon needs at least three sides, so a side count below three is refused; the apothem is the perpendicular distance from the centre to a side, not the circumradius.

How to use it

Regular Polygon Area From Side And Apothem: enter number of sides in sides, side length s in length units, apothem a in length units, then press Calculate. The result appears beside the form and is recalculated as you type; nothing is sent anywhere.

Worked example

Input:

n = 6
side = 4
apothem = 3.464101615

Output:

Perimeter = 24 length units
Area = 41.5692 square units

Why it runs in your browser

The formula is parsed and evaluated by the page's own JavaScript: only numbers, names, brackets and the operators + - * / ^ are accepted, so a field value can never become code. Your input is not posted to a server, the page works offline after it loads, and reloading the page discards it.

This page evaluates A = ½ × P × a, P = n × s with the values you type and prints Perimeter (length units), Area (square units).

Every field is read as a number: anything that is not a number is refused by the name of the field instead of being read as zero.

Worked example: n = 6, side = 4, apothem = 3.464101615 gives Perimeter = 24 length units; Area = 41.5692 square units.

How to use the Regular Polygon Area From Side And Apothem

Enter number of sides in sides, side length s in length units, apothem a in length units. The page recalculates as you type, and the Calculate button runs the same formula again from the values on screen.

A polygon needs at least three sides, so a side count below three is refused; the apothem is the perpendicular distance from the centre to a side, not the circumradius.

  • Number of sides — sides
  • Side length s — length units
  • Apothem a — length units

The formula this page evaluates

A = ½ × P × a, P = n × s. The page first computes the named intermediate value (perimeter = n * side), then the outputs.

The expression is parsed, never executed as code: numbers, names, brackets and the operators + - * / ^ only. The page also refuses a value below its stated minimum: Number of sides must be at least 3.

  • Perimeter = perimeter
  • Area = perimeter * apothem / 2

What to Expect

Best for

  • Checking the formula by hand
  • Getting perimeter quickly
  • Comparing two candidate sizes

Not ideal for

  • Unit conversion — the answer is in the unit you type
  • Irregular shapes that have no closed form
  • Anything that needs trigonometry, which this family does not include

What this tool keeps

  • Your inputs in this tab
  • The formula, printed in full
  • The same answer on every run

What may need cleanup

  • A long decimal, rounded to 4 places
  • The unit label, which names the unit rather than converting it

Common errors

  • A blank field is refused rather than read as zero
  • A negative length is refused
  • Mixing units across fields, which the page cannot detect

Example use cases

  • Homework and exam checking
  • A material estimate that starts from perimeter
  • A second opinion before a CAD model

Sample input

n = 6, side = 4, apothem = 3.464101615

Sample output

Perimeter = 24 length units; Area = 41.5692 square units

Who this is for

  • Students and teachers checking a formula
  • Anyone sizing a simple shape by hand

Frequently asked questions

What formula does this Regular Polygon Area From Side And Apothem use?

A = ½ × P × a, P = n × s. The page evaluates it with the inputs above and prints Perimeter (length units), Area (square units).

Which units does the calculator use?

Enter every length in the unit you prefer — centimetres, inches, or anything else — and the answer is in that same unit, squared for an area and cubed for a volume. Nothing is converted.

What happens if a value is missing or not a number?

The page refuses that field by name instead of reading it as zero, and a length below the stated minimum is refused the same way.

When does this formula have no answer?

A polygon needs at least three sides, so a side count below three is refused; the apothem is the perpendicular distance from the centre to a side, not the circumradius.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.