정육면체와 직육면체 계산기
결과
정육면체와 직육면체 계산기에서 사용된 공식
In-Depth Tutorial: 정육면체와 직육면체 계산기
A rectangular prism (also called a "box", "cuboid", or sometimes just "rectangular box") is a 3D solid with 6 rectangular faces, 12 edges, and 8 vertices. A cube is the special case where all three dimensions (length, width, height) are equal — the cube is to the rectangular prism what the square is to the rectangle. This tutorial covers the volume formula, surface area formula, the 3D space diagonal, and the relationship between them.
The three measurements
A rectangular prism is fully determined by three perpendicular edge lengths:
- Length (l) — typically the longest horizontal edge
- Width (w) — the other horizontal edge, perpendicular to length
- Height (h) — the vertical edge
The convention "longest is length" is just a labeling choice — the formulas work for any assignment of the three dimensions to l, w, h.
Volume formula
V = l × w × h
The intuition: imagine filling the box with unit cubes (1×1×1). Each layer along the floor has (l × w) unit squares. There are h layers stacked vertically. Total: l × w × h unit cubes = volume.
Volume scales as the cube of each dimension. Doubling l, w, AND h together multiplies the volume by 8 (= 2³).
Surface area formula
SA = 2(lw + lh + wh)
The box has 6 faces, in 3 matching pairs:
- Top and bottom: each area l × w, total 2lw.
- Front and back: each area l × h, total 2lh.
- Left and right: each area w × h, total 2wh.
Summing: SA = 2lw + 2lh + 2wh = 2(lw + lh + wh).
The 3D space diagonal
The space diagonal is the longest internal line — from one corner of the box to the diagonally opposite corner, passing through the interior. Its length follows from the 3D extension of the Pythagorean theorem:
d = √(l² + w² + h²)
Derivation: drop a face diagonal across the bottom rectangle, length √(l² + w²). Then build a right triangle with this face diagonal and the height h as legs; the space diagonal is the hypotenuse. Applying Pythagorean: d² = (l² + w²) + h² = l² + w² + h². See the 3D Pythagorean Theorem Calculator for the derivation in detail.
The cube — a special case
When l = w = h = s (a single side length), all three formulas simplify:
- Volume: V = s³
- Surface area: SA = 6s² (6 identical square faces)
- Space diagonal: d = s√3
The cube's space diagonal s√3 comes from d = √(s² + s² + s²) = √(3s²) = s√3 ≈ 1.732s. Compare to the face diagonal of a square (s√2 ≈ 1.414s) — the cube's body diagonal is longer because it spans through 3D, not 2D.
Worked example 1 — rectangular prism
A box has l = 8, w = 5, h = 4.
- Volume: V = 8 × 5 × 4 = 160
- Surface area: SA = 2(40 + 32 + 20) = 2(92) = 184
- Space diagonal: d = √(64 + 25 + 16) = √105 ≈ 10.247
Worked example 2 — cube
A cube has s = 6.
- Volume: V = 6³ = 216
- Surface area: SA = 6(6²) = 6 × 36 = 216
- Space diagonal: d = 6√3 ≈ 10.392
(Coincidence: V = 216 and SA = 216 for s = 6. This is the ONLY positive cube side where V = SA — solve s³ = 6s² → s = 6.)
Worked example 3 — find missing dimension from volume
A rectangular prism has volume 120 cm³, length 6 cm, and width 4 cm. Find height.
From V = l × w × h: 120 = 6 × 4 × h = 24h, so h = 5 cm.
Volume vs surface area — which grows faster?
For similar boxes (or cubes scaled up), volume grows as k³ but surface area grows as k². So as the box gets larger:
- Volume grows faster than surface area.
- The ratio "surface area to volume" decreases as size increases.
This is why larger animals lose heat slower (less surface per unit volume), larger ice cubes melt slower (same), and engineers must scale heat-dissipation surfaces (radiator fins) faster than the heat-generating volume in scaled-up machines. The "surface-to-volume ratio" is one of the most universal scaling laws in nature.
Open vs closed boxes
An open-top box (no lid) has surface area:
SA_open = lw + 2lh + 2wh (one less face — the top)
Useful for things like swimming pools (no lid), water tanks, or boxes whose top is to be replaced. Adjust by subtracting the missing face's area from the closed formula.
Real-world applications
- Shipping and storage. Box volume determines how much fits inside; surface area determines packaging material needed.
- Architecture. Room volume (for HVAC sizing) and surface area (for paint, drywall, insulation) both come from these formulas.
- Aquariums and tanks. Water volume (for chemistry calculations) plus glass surface area (for cost of glass).
- Logistics. Dimensional weight pricing uses the larger of actual weight vs (length × width × height / divisor) — purely a rectangular-prism volume calculation.
- Refrigerators and freezers. Interior volume in cubic feet/liters comes from l × w × h.
The cube as a "perfect" 3D shape
The cube is the 3D analog of the square — both have all edges equal and all angles equal to 90°. The cube is one of the five Platonic solids (regular convex polyhedra), along with the tetrahedron, octahedron, dodecahedron, and icosahedron. It is the only Platonic solid that can tile 3D space with copies of itself — a property used in everything from sugar cubes to data center cooling architectures.
Common mistakes
- Computing surface area without the factor of 2. Each pair of faces appears twice — front/back, top/bottom, left/right. Forgetting the 2 gives half the correct surface area.
- Mixing units. Volume is l × w × h, units are cubic (cm³, m³). Surface area is in square units (cm², m²). Diagonal is in linear units (cm, m). Easy to get confused with cubic vs square.
- Using a face diagonal instead of the space diagonal. Face diagonal = √(l² + w²) (or any 2 dimensions). Space diagonal = √(l² + w² + h²) (all 3). The space diagonal is longer.
- Treating "cube" and "square" as synonyms. Square is 2D, cube is 3D. A 3 × 3 square has area 9; a 3 × 3 × 3 cube has volume 27.
자주 묻는 질문 – 정육면체와 직육면체 계산기
직육면체 또는 정육면체의 부피(V = l × w × h), 표면적(SA = 2(lw + lh + wh)), 그리고 공간 대각선(d = √(l² + w² + h²)).
정육면체는 세 차원이 모두 동일합니다(l = w = h). 이는 V = s³ 및 SA = 6s²로 단순화됩니다. 정육면체를 계산하려면 세 차원에 동일한 값을 입력하십시오.
상자의 내부에서 두 대각선 반대쪽 모서리를 내부로 연결하는 가장 긴 선분입니다. 3차원 피타고라스 정리를 사용하여 계산됩니다.
네 — 무료이며 무제한입니다.