Nhazi
Ihebere mpaghara ebe nke retịnụ, triangle, circle, trapehiode mọọbụ paralọlọgram.
Nhọrọ ndị ahụ ga-akpụzi mgbe ị na-etipụta.
N'ihe banyere calculator a
An area calculator finds how much surface a 2D shape covers. Pick the shape, enter its dimensions, and it returns the area — and, where the sides are known, the perimeter or circumference. Only the fields the chosen shape actually needs are used; the rest are ignored.
Each shape has its own formula: a rectangle is length × width, a triangle is ½ × base × height, a circle is π × radius², a trapezoid is ½ × (base₁ + base₂) × height, and a parallelogram is base × height. For a rectangle 5 long and 4 wide the area is 5 × 4 = 20 and the perimeter is 2 × (5 + 4) = 18; a triangle with base 6 and height 4 has area ½ × 6 × 4 = 12; a circle of radius 5 has area π × 25 ≈ 78.54. Perimeter is shown for rectangles and circles, but not for triangles, trapezoids or parallelograms, whose slanted sides are not entered.
Area calculations are needed for flooring, paint, fabric, land, and any project measured by surface. Make sure all dimensions use the same unit, and the area comes out in that unit squared.
Ajụjụ ndị a na-ajụkarị
Olee otú i ga-esi hụ ebe nke triangle?
Area = ½ × base × elu, na-eji elu perpendicular. Triangle na base 6 na elu 4 nwere mpaghara ebe ½ × 6 × 4 = 12.
Gịnị bụ mpaghara ebe nke ngwe?
Area = π × radius². Ogo nke radius 5 nwere mpaghara ebe π × 25 ≈ 78.54.
Olee otú ị ga-esi hụ ebe nke retịnụ ahụ?
Tinye ogologo site na width. Rectangle nke 5 ogologo na 4 obosara nwere mpaghara ebe 5 × 4 = 20.
Gịnị bụ mpaghara ebe nke tráìpèóị̀?
Area = ½ × (base₁ + base₂) × elu, na-ewere ala nke ebe abụọ dị n'otu na-ebuli ya site n'elu n'etiti ha.
Gịnị bụ mpaghara ebe nke paralèlụ̀ogram?
Area = base × elu, na-eji elu perpendicular, ọ bụghị ogologo n'akụkụ a na-ewere n'okporo ụzọ.
Gịnị mere perimeter ji na-egosi dashes mgbe ụfọdụ?
Perimeter a na-enye maka rektaụlụ na circumference maka kpụkpụ. Triangles, trapesoids na paralọlọgrams chọrọ ogologo nke ngwe ha nke kpụkpụ, nke a na-ewepụghị, yabụ a na-ahapụ perimeter ha n'enweghị ihe ọ bụla.
Ebe ole ka m ga-achọ ịkpọpụta?
Na-eji naanị ndị ahụ shape ahụ a họọrọ na-eji. Ogo ahụ chọrọ naanị radius; a na-ewepụtụ ọ̀sọ̀ na elu ebe maka ya.
API — jiri kaadị a site na kóòdù
Kpọọ kalkulata a dịka ebe ngwụcha JSON n'efu - enweghị kii achọrọ. Ziga valiu ebe ahụ n'okpuru dịka paramita ajụjụ mọọbụ JSON. Ihe ọbụla ị na-ewepụ na-eji dìfọ́ọ̀ltụ̀ nke a na-edebe ihuakwụkwọ a na ya; parameter a na-amaghị bụ 400, ọ dịghị sẽọ̀rọ̀. Gụọ ngwe ndị ahụ niile →
Ebemkpofuozi
GET https://calculator.free/api/v1/area-of-a-shape/
curl
curl "https://calculator.free/api/v1/area-of-a-shape/?shape=rectangle&a=5&b=4&h=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/area-of-a-shape/?" + new URLSearchParams({
"shape": "rectangle",
"a": "5",
"b": "4",
"h": "3"
}));
const data = await r.json();
console.log(data.results);
Ihe a na-ahụta bụ n'ihi nlekọta n'ozuzu ya, ọ bụghị nlekọta ego, ọgwụ ma ọ bụ nlekọta ego.