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

HTML
CSS
JavaScript
PHP-MySQL
Which HTML5 tag can be used to embed an external application (SWF, PDF) in web page?
<mark> <embed> <canvas>
<embed src="flash_game.swf" width="450" height="350" />
Which CSS pseudo-element adds a special style to the first line of a text?
:first-letter :before :first-line
#id:first-line {
  font-weight: bold;
  color: blue;
}
Click on the window object property which gets or sets the URL of current page.
window.location window.self window.status
var url = window.location;
alert(url);
Indicate the PHP function used to get the contents of a file or page and store it into a string.
fopen() file_put_contents() file_get_contents()
$homepage = file_get_contents("http://coursesweb.net/");
echo $homepage;
Volume and Surface Area Calculator for 3D objects

Last accessed pages

  1. Execute JavaScript scripts loaded via AJAX (5213)
  2. JavaScript trim, rtrim and ltrim (6900)
  3. Zodiac Signs JavaScript code (6476)
  4. MySQL Query Builder: Database Pagination (529)
  5. SHA1 Encrypt data in JavaScript (17998)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (320)
  2. Register and show online users and visitors (215)
  3. Node.js Move and Copy file (173)
  4. Read Excel file data in PHP - PhpExcelReader (159)
  5. PHP-MySQL free course, online tutorials PHP MySQL code (156)