Geometry Calculator

Free geometry calculator. Find area, perimeter, volume and surface area for circles, rectangles, triangles, spheres and more. Step-by-step formulas.

Free Tool Formerly CalcSolver No Sign-up Instant Results

Shape Calculator

Complete Handbook of Planar & Spatial Geometry

Master Euclidean geometry, planar areas, spatial volumetrics, derivation methods, practical case studies, and engineering applications.

1

Dimensional Hierarchy & Euclidean Foundations

Geometry, originating from the Greek words ge (Earth) and metron (measure), is the foundational branch of mathematics concerning the size, shape, position, and properties of space. Euclidean geometry constructs our understanding of the physical world through a clear hierarchy of dimensions:

  • Dimension 0 (Points): A point represents a discrete coordinate location in space possessing zero length, width, or height. It has position without magnitude ($x \in \mathbb{R}$).
  • Dimension 1 (Linear Curves & Perimeter): A one-dimensional continuum possessing length only. In geometry, perimeter ($P$) and circumference ($C$) represent the total boundary path enclosing a 2D surface, measured in linear metric or imperial units ($\text{m}, \text{cm}, \text{ft}, \text{in}$).
  • Dimension 2 (Planar Surfaces & Area): A two-dimensional manifold possessing length and width. Area ($A$) quantifies the extent of a bounded planar region, measured in square units ($\text{m}^2, \text{cm}^2, \text{ft}^2, \text{acres}$).
  • Dimension 3 (Solid Bodies & Volumetrics): A three-dimensional manifold possessing length, width, and depth/height. Volume ($V$) measures the capacity or spatial extent enclosed by a 3D boundary, expressed in cubic units ($\text{m}^3, \text{cm}^3, \text{L}, \text{ft}^3$). Concurrently, surface area measures the cumulative two-dimensional area of the boundary shell enclosing the 3D volume.

Understanding these dimensional distinctions is crucial for dimensional consistency in physics and engineering, preventing common errors such as adding linear measurements to square areas.

2

Comprehensive Planar (2D) Geometry Formulations

Planar shapes are closed two-dimensional polygons and curves lying within a single flat plane. Below is the rigorous mathematical reference for primary planar figures:

Planar Shape Area Formula ($A$) Perimeter Formula ($P$) Key Geometric Properties
Circle A = πr² = (π/4)d² C = 2πr = πd Locus of all points equidistant from center. Diameter $d = 2r$. Constant ratio $C/d = \pi \approx 3.14159265$.
Rectangle A = l × w P = 2(l + w) Four right angles ($90^\circ$). Opposite sides equal and parallel. Diagonal $d = \sqrt{l^2 + w^2}$.
Square A = s² P = 4s Equilateral equiangular quadrilateral. Diagonals bisect at $90^\circ$ with length $d = s\sqrt{2}$.
Triangle (Standard) A = ½ × b × h P = a + b + c Sum of interior angles always $180^\circ$. Height $h$ is strictly perpendicular to chosen base $b$.
Triangle (Heron's) A = √[s(s-a)(s-b)(s-c)] s = (a + b + c) / 2 Computes exact area from any three valid side lengths without requiring an altitude or angle.
Trapezoid A = ½(b₁ + b₂) × h P = a + b₁ + c + b₂ At least one pair of parallel bases ($b_1, b_2$). Area is average base width multiplied by height.
Parallelogram A = b × h = ab·sin(θ) P = 2(a + b) Opposite sides parallel and congruent. Opposite angles congruent; consecutive angles supplementary ($180^\circ$).
3

Solid (3D) Geometry & Spatial Volumetrics

Three-dimensional geometry analyzes solid polyhedra, curved manifolds, and cylindrical geometries. Each solid is characterized by its interior volume capacity and external boundary surface area:

1. Rectangular Prism (Cuboid) & Cube

A rectangular prism with length $l$, width $w$, and height $h$ has:

  • Volume: $V = l \times w \times h$
  • Total Surface Area: $A = 2(lw + lh + wh)$
  • Spatial 3D Diagonal: $d = \sqrt{l^2 + w^2 + h^2}$

For a perfect cube of side length $s$, these simplify directly to $V = s^3$, $A = 6s^2$, and $d = s\sqrt{3}$.

2. Sphere

A sphere represents the set of all three-dimensional points equidistant from a central coordinate. For radius $r$:

  • Volume: $V = \frac{4}{3}\pi r^3$
  • Surface Area: $A = 4\pi r^2$

Historical Context: Archimedes considered his greatest discovery to be that a sphere enclosed within a circumscribed cylinder has exactly two-thirds the volume and two-thirds the total surface area of that cylinder.

3. Right Circular Cylinder

Formed by sweeping a circular base along a perpendicular axis of height $h$:

  • Volume: $V = \pi r^2 h$
  • Lateral Area (Side Shell): $A_{\text{lat}} = 2\pi rh$
  • Total Surface Area (Including Caps): $A_{\text{total}} = 2\pi r^2 + 2\pi rh = 2\pi r(r + h)$

4. Right Circular Cone

A conical solid tapering smoothly from a circular base of radius $r$ to a singular apex at height $h$:

  • Slant Height ($s$): $s = \sqrt{r^2 + h^2}$ (by Pythagorean theorem)
  • Volume: $V = \frac{1}{3}\pi r^2 h$
  • Lateral Area: $A_{\text{lat}} = \pi r s = \pi r \sqrt{r^2 + h^2}$
  • Total Surface Area: $A_{\text{total}} = \pi r^2 + \pi r s = \pi r(r + s)$
4

Comprehensive Step-by-Step Worked Case Studies

Case Study 1: Architectural Composite Floor Plan Area

Problem Statement: An architect is designing a showroom with a composite floor plan. The space consists of a central rectangle measuring $12\,\text{m} \times 8\,\text{m}$, with a trapezoidal conference wing attached to one $8\,\text{m}$ end (parallel bases $8\,\text{m}$ and $4\,\text{m}$, with height $5\,\text{m}$), and a semicircular observation patio attached to the opposite $8\,\text{m}$ end (diameter $8\,\text{m}$, radius $r = 4\,\text{m}$). What is the total floor area?

Step 1: Calculate the central rectangular section area ($A_{\text{rect}}$):

A_rect = length × width = 12 m × 8 m = 96.00 m²

Step 2: Calculate the trapezoidal wing area ($A_{\text{trap}}$):

A_trap = ½ × (b₁ + b₂) × h = ½ × (8 + 4) × 5 = ½ × 12 × 5 = 30.00 m²

Step 3: Calculate the semicircular patio area ($A_{\text{semi}}$):

A_semi = ½ × (π × r²) = ½ × (π × 4²) = ½ × 16π = 8π ≈ 25.1327 m²

Step 4: Sum all partition sections:

A_total = 96.00 + 30.00 + 25.1327 = 151.1327 m² ≈ 151.13 m²

Case Study 2: Calculating Area of an Irregular Triangular Parcel (Heron's Formula)

Problem Statement: A civil surveyor measures a triangular parcel of land with boundary fences measuring $a = 35\,\text{m}$, $b = 48\,\text{m}$, and $c = 65\,\text{m}$. What is the exact acreage of this parcel?

Step 1: Compute semi-perimeter $s$:

s = (a + b + c) / 2 = (35 + 48 + 65) / 2 = 148 / 2 = 74 m

Step 2: Calculate side differences:

  • $s - a = 74 - 35 = 39\,\text{m}$
  • $s - b = 74 - 48 = 26\,\text{m}$
  • $s - c = 74 - 65 = 9\,\text{m}$

Step 3: Apply Heron's Formula:

A = √[s × (s - a) × (s - b) × (s - c)]
A = √[74 × 39 × 26 × 9] = √[675,684] ≈ 821.99999 m² ≈ 822.00 m²

Case Study 3: Industrial Storage Tank Capacity & Surface Steel Requirement

Problem Statement: An industrial chemical plant requires a cylindrical storage tank with an inner radius $r = 3.5\,\text{m}$ and height $h = 10\,\text{m}$. Determine (a) the storage fluid volume capacity in liters ($1\,\text{m}^3 = 1,000\,\text{L}$), and (b) the total external sheet steel surface area required to fabricate the closed tank.

Step 1: Compute internal volume $V$:

V = π × r² × h = π × (3.5)² × 10 = π × 12.25 × 10 = 122.5π ≈ 384.8451 m³

Converting to liquid capacity: $384.8451\,\text{m}^3 \times 1,000\,\text{L/m}^3 \approx 384,845\,\text{L}$.

Step 2: Compute total fabrication surface area $A_{\text{total}}$:

A_total = 2πr(r + h) = 2 × π × 3.5 × (3.5 + 10) = 7π × 13.5 = 94.5π ≈ 296.88 m²
5

Engineering, Computer Graphics & Scientific Applications

Geometric principles serve as the structural backbone across modern high-tech industries:

  • Computer Graphics & 3D Game Engines: Virtual 3D worlds in Unreal Engine and WebGL are constructed entirely from polygonal meshes (predominantly triangles). Shaders compute lighting, shadows, and ray tracing intersections using vector dot products, cross products, and barycentric coordinate interpolation.
  • Structural & Civil Engineering: Trusses in bridges and skyscraper frames utilize triangular arrangements because the triangle is the only polygon that is inherently rigid; a triangle cannot deform without altering the length of its sides.
  • Aerospace & CFD Simulation: Aerodynamic lift and drag over aircraft fuselages depend directly on surface area skin friction and frontal cross-sectional area, analyzed through computational finite element meshes.
  • Computer-Aided Design (CAD) & CNC Machining: Additive 3D manufacturing and subtractive CNC milling slice complex spline geometries into planar G-code toolpaths based on geometric calculus and boundary representation (B-Rep).
6

The Square-Cube Law & Common Calculation Pitfalls

Understanding geometric scaling dynamics prevents catastrophic real-world engineering mistakes:

1. The Square-Cube Law (Galileo Galilei)

First articulated by Galileo in 1638, this law notes that as an object scales up by a linear factor $k$:

  • Its length, width, and height grow proportional to $k$.
  • Its surface area grows proportional to $k^2$.
  • Its volume and mass grow proportional to $k^3$.

This explains why giant insects cannot exist in nature (their weight would increase 1,000-fold if scaled by 10, but their skeletal cross-sections would only increase 100-fold, crushing them under gravity), and why large animals lose body heat far more slowly than small animals due to a lower surface-area-to-volume ratio ($A/V$).

2. The Dimensional Unit Conversion Trap

When converting area or volume units, students and engineers frequently forget that conversion factors must be raised to the power of the dimension:

1 m = 100 cm
1 m² = (100 cm)² = 10,000 cm² (NOT 100 cm²)
1 m³ = (100 cm)³ = 1,000,000 cm³ (NOT 100 or 1,000 cm³)

Failing to square or cube unit multipliers causes errors by factors of 100 or 1,000,000 in material estimates.

7

Frequently Asked Questions About Geometry

What is the difference between area and perimeter?

Perimeter is a one-dimensional linear measure representing the total boundary distance around the perimeter of a two-dimensional closed shape, expressed in linear units such as meters, inches, or feet. Area is a two-dimensional measure representing the total planar region enclosed within that boundary, expressed in square units such as square meters or square inches.

How does the Square-Cube Law affect geometric scaling?

The Square-Cube Law states that when an object's linear dimensions are multiplied by a scaling factor k, its surface area increases by a factor of k squared (k²), while its volume increases by a factor of k cubed (k³). For example, doubling an object's length, width, and height increases its surface area 4-fold and its volume (and mass, assuming uniform density) 8-fold.

How do you calculate the area of an irregular triangle when the height is unknown?

When the perpendicular height of a triangle is unknown but all three side lengths a, b, and c are given, you can calculate the exact area using Heron's Formula: A = √[s(s - a)(s - b)(s - c)], where s is the semi-perimeter calculated as s = (a + b + c) / 2.

Why does the volume formula for a cone or pyramid contain a 1/3 factor?

A circular cone has exactly one-third the volume of a cylinder sharing the identical base radius and perpendicular height (V = 1/3 × πr²h). Geometrically, any prism or cylinder can be partitioned into three equal-volume pyramids or cones through Cavalieri's Principle and integral calculus across cross-sectional slices.

How do you convert square meters to square centimeters without making errors?

Because area involves two spatial dimensions, the linear conversion factor must be squared. Since 1 meter = 100 centimeters, 1 square meter = (100 cm) × (100 cm) = 10,000 square centimeters. A frequent error is multiplying by 100 instead of 10,000.