The script presented in this page is a tool to calculate surface area, perimeter and other dimensions (radius, diagonal, height) of various 2D geometrical shapes: circle, ellipse, triangle, hexagon, parallelogram, rectangle, rhombus, square, trapezoid.
This calculator shows also the mathematical formulas used to calculate the area, perimeter, and the other dimensions.

Calculate Area and Perimeter

JavaScript script to calculate surface area and perimeter.
Find area and perimeter of various 2d geometrical shapes.

Select an object


• To Download this script, click: Area and Perimeter Calculator.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Click on the tag that creates an ordered list
<ul> <tr> <ol>
<ol>
  <li>List-1</li>
  <li>List-2</li>
</ol>
Which selector represents the ID of an element in CSS
.name #name name
#id {
  color: #0110fb;
}
What statement creates an object in JavaScript?
{} [] new Date()
var obj = {"site": "CoursesWeb.net", "pr": 5};
alert(obj.site);
Indicate the instruction used to evaluate if a condiition is True or False
else if() switch()
$var = 8;
if($var == 8) echo $var;
Area and Perimeter Calculator for 2D shapes

Last accessed pages

  1. Move image from an element /tag to another (1987)
  2. JavaScript strip_tags and stripslashes (4664)
  3. Wake Up! (6388)
  4. Contact page - CoursesWeb (45613)
  5. JavaScript Course - Free lessons (19911)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (26)
  2. Contact page - CoursesWeb (25)
  3. Tabs effect with CSS (25)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (11)
  5. CSS Course - Free lessons (7)