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 renders as emphasized text, displaying the text oblique?
<strong> <pre> <em>
<p>Web development courses: <em></em></p>
Which CSS property defines the space between the element border and its content?
margin padding position
h3 {
  padding: 2px 0.2em;
Click on the method which returns the first element that matches a specified group of selectors.
getElementsByName() querySelector() querySelectorAll()
// gets first Div with class="cls", and shows its content
var elm = document.querySelector("div.cls");
Indicate the PHP variable that contains data from a form sent with method="post".
if(isset($_POST["field"])) {
  echo $_POST["field"];
Volume and Surface Area Calculator for 3D objects

Last accessed pages

  1. Get the value of the selected /checked checkboxes in a form (42247)
  2. Node.js Move and Copy file (14917)
  3. querySelector and querySelectorAll (13391)
  4. Upload Script for Gallery of Images and Audio files (7832)
  5. Insert, Select and Update NULL value in MySQL (47890)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (1692)
  2. Tabs effect with CSS (1640)
  3. Contact page - CoursesWeb (1637)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (506)
  5. Insert, Select and Update NULL value in MySQL (420)