Mpikirakira ny haben'ny feo
Jereo ny habetsaky ny vatasarihana ao amin'ny vatasarihana iray.
Manova ny valin'ny fanoratanao.
Momba ity kapila ity
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.
Fanontaniana matetika
Inona no haben'ny silinda iray?
Volume = π × radius² × height. A cylinder with radius 2 and height 4 holds π × 4 × 4 ≈ 50.27.
Inona no fomba fiasan'ny fehezan-dalàna ho an'ny habetsaky ny spherical?
Volume = 4/3 × π × radius³. A sphere of radius 3 holds 4/3 × π × 27 ≈ 113.1.
Ahoana no ahafahanao mahita ny haben'ny vata iray?
Ampitomboy ny halavany amin'ny sakany. Ny takelaka kely iray manana habe 2 x 3 x 4 dia misy ny 2 x 3 x 4 = 24.
Inona no haben'ny tahony?
Ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3 amin'ny 1/3
Manolotra ny velaran-tany ve ny milina fanisana habe?
Eny. Ho an'ny solida tsirairay dia mamerina ny velaran-tany ivelany manontolo miaraka amin'ny habe izy — ho an'ny boaty izay 2 × (lw + wh + lh).
Inona no fepetra ilain'ny spherical?
Ny radius ihany. Tsy raharahaina ny sehatr'asa indraindray rehefa misafidy endrika sfera ianao.
API — mampiasa io milina fanisana io avy amin'ny rindran'asa
Antsoy ho toy ny farany JSON malalaka ity milina fanisana ity - tsy mila famaha. Mandefa ireo sanda eo amin'ny sehatr'asa etsy ambany ho toy ny mpizaratry ny fanontaniana na JSON. Ny zavatra tsy voalaza dia mampiasa ny sanda tsotra efa nameno ity pejy ity; 400 ny sanda tsy fantatra, tsy aotra tsy misy feo. Vakio ny tahirin-kevitra API feno →
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);
Ny voka-pikarohana dia natao ho an'ny torohevitra ankapobeny ihany, tsy torohevitra ara-bola, ara-pitsaboana na ara-bola.