The script presented in this page is a tool to calculate surface area, volume and other dimensions (radius, diagonal, center of gravity) of various uniform 3D objects: cube, barrel, cone, sphere, torus, cylinder, pyramid, parallelepiped, hexagonal prism, ...
This calculator shows also the mathematical formulas used to calculate the volume, area, and the other dimensions.

Calculate Volume and Area

JavaScript script to calculate volume and surface area.
Find volume, and area of various 3d objects.

Select an object

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

Daily Test with Code Example

Which tag is used to add definition lists into a <dl> element?
<dt> <dd> <li>
  <dd> - Hyper Text Markup Language</dd>
  <dd> - Language for web pages</dd>
Which CSS property can hide an element on page, letting an empty space in its place?
display position visibility
#id {
  visibility: hidden;
Click on the event which is triggered when the mouse clicks on an object.
onclick onmouseover onfocus
document.getElementById("id").onclick = function(){
Indicate the PHP variable that contains the contents of both $_GET, $_POST, and $_COOKIE arrays.
if(isset($_REQUEST["id"])) {
  echo $_REQUEST["id"];
Volume and Surface Area Calculator for 3D objects

Last accessed pages

  1. querySelector and querySelectorAll (10428)
  2. Contact page - CoursesWeb (16420)
  3. Tabs effect with CSS (17118)
  4. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (23266)
  5. Align DIVs on the same line (238)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (1701)
  2. Tabs effect with CSS (1627)
  3. Contact page - CoursesWeb (1622)
  4. Insert, Select and Update NULL value in MySQL (1005)
  5. PHP getElementById and getElementsByTagName (789)