Area Calculator
Ka ƙididdige faɗin yankin wani ƙan ƙan, triangle, daki, trapezoid ko parallelogram.
Results update as you type.
Game da wannan Kalkulator
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.
Tambayoyi da ake yi da yawa
Yadda za a gano fadin wata dama?
Filin = ½ × tushe × tsayi, ta amfani da tsayin da ya daidaita. Triangle da tushe 6 da tsayi 4 yana da filin ½ × 6 × 4 = 12.
Mene ne yanki na wata runduna?
Filin = π × radius². Wurin da ke da radius 5 yana da filin π × 25 ≈ 78.54.
Yadda za a samu yankin wani ƙan kwance?
Yi ninka tsawo da faɗi. Wani tsawo mai tsawon 5 da faɗi 4 yana da faɗin 5 × 4 = 20.
Mene ne faɗin filin kwance?
Kuma Allah ne Ya saukar da Littãfi mai tsanani ga Manzanni, kuma Ya saukar da Littãfi mai tsanani ga Manzanni.
Mene ne yanki na parallelogram?
Area = base × height, using the perpendicular height, not the sloped side length.
Me ya sa kewayawa take nuna wata dama a wasu lokuta?
An ba da perimeter ga maɓalli da kuma gefen gefe ga runduna. Triangles, trapezoidal da parallelograms suna buƙatar tsawo na gefen su, wanda ba a shigar ba, don haka an bar perimeter ɗinsu ba tare da wani abu ba.
Which fields do I need to fill in?
Kaɗai waɗanda siffar da aka zaɓa take amfani da su. Wurin ɗauri yana buƙatar radius kawai; ana manta da filayen faɗi da tsayi.
API — amfani da wannan calculator daga code
Ka kira wannan kwalban kamar wata maɓallin ƙarshe JSON mai kyauta - babu maɓalli da ake buƙata. Ka aika kimar fannin ƙasa kamar paramita na tambaya ko JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Read the full API docs →
Endpoint
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);
Results are estimates for general guidance only, not financial, medical or tax advice.