面積計算器
矩形、三角形、円、台形、平行四辺形の面積を計算します。
結果はタイプすると更新されます。
この計算機の情報
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.
よくある質問
三角形の面積をどうやって見つける?
面積 = 1/2 × 基底 × 高さ, 垂直高さを使って。基底 6 と高さ 4 の三角形は面積 1/2 × 6 × 4 = 12 です。
円の面積はどれくらいですか。
半径5の円の面積は π × 25 ≈ 78.54 である。
どうやって長方形の面積を見つけますか。
幅と長さを乗算します。長さ 5 、幅 4 の長方形の面積は 5 × 4 = 20 です。
台形の面積はどれくらいですか。
面積=半分×(基礎1+基礎2)×高さ,平行二辺の平均を平行二辺の高さで乗算した。
平行四辺形の面積はどれくらいか。
面積=基部×高さで,斜面長さではなく垂直高さを用いた。
なぜ周囲がダッシュを示すの?
円周は円の周囲を表す。三角形、台形、平行四辺形は斜めの辺の長さを必要とします。これは入力しません。周囲は空白にします。
どのフィールドを埋め込む必要がありますか。
選択した形状で使用するもののみ。円は半径だけが必要です。幅と高さは無視します。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信してください。 省略したものは、このページに既に入力されているデフォルトと同じ値を使用します。未知のパラメータは 400 で、サイレンスゼロはありません。 API ドキュメントを読む →
エンドポイント
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);
結果は一般的な指導のための推定であり,財務的,医療的または税務的な助言ではない。