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 defines the clickable areas inside the image map?
<map> <img> <area>
<img src="image.jpg" usemap="#map1">
<map name="map1">
  <area shape="rect" coords="9, 120, 56, 149" href="#">
  <area shape="rect" coords="100, 200, 156, 249" href="#">
Which CSS property defines what is done if the content in a box is too big for its defined space?
display overflow position
#id {
  overflow: auto;
Click on the event which is triggered when the mouse is positioned over an object.
onclick onmouseover onmouseout
document.getElementById("id").onmouseover = function(){
  document.write("Have Good Life");
Indicate the PHP variable that contains data added in URL address after the "?" character.
if(isset($_GET["id"])) {
  echo $_GET["id"];
Volume and Surface Area Calculator for 3D objects

Last accessed pages

  1. Get Lower, Higher, and Closest Number (2229)
  2. MySQL Database: Query Builder (81)
  3. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (76542)
  4. Get and Modify content of an Iframe (16016)
  5. AnythingZoomer - Zoom part of Image or Text Content (1506)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (1826)
  2. Contact page - CoursesWeb (1755)
  3. Tabs effect with CSS (1748)
  4. Insert, Select and Update NULL value in MySQL (1030)
  5. PHP getElementById and getElementsByTagName (707)