Volume Calculator
Bir kutubyň, silindriň, küräniň ýa-da konusyň meýdanyny hasap et
Netijeler ýazýan wagtyň täzelener.
Bu hasapçy hakda
A volume calculator finds how much space a 3D shape holds, and also its total surface area. Choose the shape, enter its dimensions, and only the fields that shape needs are used — the others are ignored.
Each solid has its own formula: a box is length × width × height, a cylinder is π × radius² × height, a sphere is 4/3 × π × radius³, and a cone is 1/3 × π × radius² × height — exactly a third of a cylinder with the same base and height. For a box 2 × 3 × 4 the volume is 24; a cylinder of radius 2 and height 4 holds π × 4 × 4 ≈ 50.27; a sphere of radius 3 holds 4/3 × π × 27 ≈ 113.1. A sphere needs only its radius, so the width and height fields do not apply to it.
Volume calculations size tanks and containers, concrete pours, packaging, and aquariums. Keep every dimension in the same unit and the volume comes out in that unit cubed.
Köp soralýan soraglar
Bir silindriň göwrümi näçedir?
Tom = π × radius² × height. A cylinder with a radius of 2 and a height of 4 holds π × 4 × 4 ≈ 50.27.
Bir küreň göwrümi üçin formula näme?
Tom = 4/3 × π × radius³. A radius of 3 spher holds 4/3 × π × 27 ≈ 113.1
Bir boýagyň göwrümini nädip tapýarsyň?
Uzaklygy giňlik bilen galdyryp beýikligi bilen katla. 2 by 3 by 4 ölçegli bir qutu 2 × 3 × 4 = 24 saklaýar.
Konusyň göwresi näçe?
Volume = 1/3 × π × radius² × height — exactly one third of a cylinder that shares the same circular base and height.
Does the volume calculator also give surface area?
Eý. Her bir solid üçin ol 2 × (lw + wh + lh) boýag üçin, boşluk bilen birlikde bütin daşky ýüz meýdanyny gaýtarýar.
Bir küre näçe ölçeg gerek?
Diňe radius. Ençem we beýiklik meýdançalary küre şekili saýlananda göz öwürilýär.
API — bu hasapçyny koddan ullan
Bu hasapçyny boş JSON ahtar noktasy hökmünde çagyr - açar gerek däl. Aşakdaky meýdança mykdarlaryny soragyň parametrleri ýa-da JSON hökmünde iber. Siziň goýmaýan hernäňiz şu sahypanyň öň bellenen öň bellenenini ulanýar; namydar parametr 400, hiç wagt sessiz sıfır däl. Eňlisçe senedleri oka →
Endpoint
GET https://calculator.free/api/v1/volume-of-a-shape/
curl
curl "https://calculator.free/api/v1/volume-of-a-shape/?shape=box&a=2&b=3&h=4"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/volume-of-a-shape/?" + new URLSearchParams({
"shape": "box",
"a": "2",
"b": "3",
"h": "4"
}));
const data = await r.json();
console.log(data.results);
Netijeler diňe umumy ýardam üçin hasaplanypdyr, maliýe, saglyk ýa-da salgyt maslahaty üçin däl.