Geometry
Explore plane geometry, solid geometry and analytical calculations.
2D Geometry
Plane shapes, areas, perimeters and coordinates.
Square
Calculate the area, perimeter, and diagonal of a square.
A = s²; P = 4s; d = s√2Rectangle
Calculate the area, perimeter, and diagonal of a rectangle.
A = lw; P = 2(l + w); d = √(l² + w²)Triangle
Calculate triangle area from base and height or three sides, with perimeter, angles and heights when the sides are known.
A = bh/2 or √[s(s-a)(s-b)(s-c)]Right Triangle
Find right-triangle properties from two legs or from one leg and the hypotenuse.
c = √(a² + b²) or b = √(c² − a²); A = ab/2Equilateral Triangle
Calculate the area, perimeter, height, and angles of an equilateral triangle.
A = (√3/4)s²; P = 3s; h = (√3/2)sIsosceles Triangle
Calculate an isosceles triangle from its equal side lengths and base.
h = √(s² − (b/2)²); A = bh/2Circle
Calculate circle properties from its radius, area or circumference.
A = πr²; C = 2πr; d = 2rParallelogram
Calculate area, perimeter, and both diagonals from two sides and their included angle.
A = ab sin θ; P = 2(a + b); d₁,₂ = √(a² + b² ± 2ab cos θ)Trapezoid
Calculate a trapezoid from its parallel bases, two legs, and perpendicular height.
A = (a + b)h/2; P = a + b + c + dRhombus
Find the other diagonal, area, perimeter, and interior angles from one diagonal and the side.
d₂ = √(4s² − d₁²); A = d₁d₂/2; P = 4sEllipse
Calculate ellipse area, full axis lengths, eccentricity, and an approximate perimeter.
A = πab; e = √(1 − b²/a²); Ramanujan II: P ≈ π[3(a+b) − √((3a+b)(a+3b))]Regular Polygon
Calculate key dimensions of a regular polygon from its number of sides and side length.
P = ns; r = s/[2 sin(π/n)]; a = s/[2 tan(π/n)]; A = Pa/2Circular Sector
Calculate the area and arc length of a circular sector.
A = (θ/360°)πr²; L = (θ/360°)2πrCircular Segment
Calculate the circular segment area, chord, and sagitta for a central angle.
A = (r²/2)(θ − sin θ); c = 2r sin(θ/2); h = r[1 − cos(θ/2)] (θ in radians)Distance Between Two Points
Find the straight-line distance between two 2D points.
d = √[(x₂ - x₁)² + (y₂ - y₁)²]Midpoint of a Line Segment
Find the midpoint between two points in the coordinate plane.
M = ((x₁ + x₂)/2, (y₁ + y₂)/2)Equation of a Line
Find a line equation through two distinct points, including vertical lines.
m = (y₂ − y₁)/(x₂ − x₁); y = mx + b (or x = x₁ for a vertical line)Intersection of Two Lines
Find the intersection of two lines using slope-intercept equations or pairs of points, including vertical lines.
Slope-intercept: y = mx + b; point pairs: solve the two parametric linesPoint-to-Line Distance
Calculate the perpendicular distance from a point to a line in standard form.
d = |Ax₀ + By₀ + C| / √(A² + B²)Polygon Area from Coordinates
Find the area of a polygon by entering its ordered vertices as coordinate pairs.
A = ½ |Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|3D Geometry
Solids, volumes, surface areas and spatial dimensions.
Cube
A cube (regular hexahedron) has six congruent square faces. Calculate volume, total surface area, face diagonal, and space diagonal.
V = a³; S = 6a²; face diagonal = a√2; space diagonal = a√3Cuboid
Calculate a rectangular cuboid’s volume, total surface area, face diagonal, and space diagonal.
V = lwh; S = 2(lw + lh + wh); face diagonal = √(l²+w²); space diagonal = √(l²+w²+h²)Sphere
Compute the volume and surface area of a sphere.
V = (4/3) πr³Hemisphere
Calculate a solid hemisphere’s volume, curved area, and total area including its circular base.
V = 2πr³/3; curved S = 2πr²; total S = 3πr²Cylinder
Calculate a right circular cylinder’s volume, lateral area, and total surface area.
V = πr²h; lateral S = 2πrh; total S = 2πr(h+r)Cone
Calculate a right circular cone’s volume and slant, lateral, and total surface areas.
s = √(r²+h²); V = πr²h/3; lateral S = πrs; total S = πr(s+r)Truncated Cone
Calculate a right circular cone frustum. The larger base radius R must exceed the smaller radius r; slant height follows from vertical height.
s = √(h²+(R-r)²); V = πh(R²+Rr+r²)/3; lateral S = π(R+r)s; total S = lateral S + π(R²+r²)Triangular Prism
Calculate a right triangular prism from its three base side lengths and prism length. Heron’s formula validates and measures the triangular base.
A = √(p(p-a)(p-b)(p-c)); V = AL; lateral S = (a+b+c)L; total S = lateral S + 2ARegular Polygonal Prism
Calculate a right prism with a regular n-sided base. The side count must be an integer of at least 3.
A = ns²/(4 tan(π/n)); P = ns; V = Ah; lateral S = Ph; total S = Ph+2APyramid
This general pyramid calculator is valid for a regular polygon base and a common slant height on every lateral face (a right regular pyramid).
V = Ah/3; lateral S = Pℓ/2; total S = A+Pℓ/2Square Pyramid
Calculate a right square pyramid. The apex is above the base center, so each triangular face has the same slant height.
ℓ = √(h²+(s/2)²); V = s²h/3; lateral S = 2sℓ; total S = s²+2sℓTriangular Pyramid / Tetrahedron
This calculator specifically models a right triangular pyramid with an equilateral base and apex above its centroid. It does not claim formulas for arbitrary tetrahedra.
A = √3s²/4; ℓ = √(h²+s²/12); V = Ah/3; lateral S = 3sℓ/2; total S = A+3sℓ/2Truncated Pyramid
Calculate a frustum of a right regular pyramid. The parallel bases must be similar regular polygons; provide both base areas and perimeters plus the common face slant height.
V = h(A₁+√(A₁A₂)+A₂)/3; lateral S = (P₁+P₂)ℓ/2; total S = lateral S + A₁+A₂Ellipsoid
Calculate a triaxial ellipsoid’s exact volume and an established Knud Thomsen approximation for its surface area (p ≈ 1.6075).
V = 4πabc/3; S ≈ 4π((aᵖbᵖ+aᵖcᵖ+bᵖcᵖ)/3)^(1/p), p = 1.6075Torus
Calculate a ring torus. The major radius R (axis to tube center) must be greater than the minor tube radius r.
V = 2π²Rr²; S = 4π²RrCapsule
Calculate a capsule with a cylindrical middle of length h and two hemispherical ends. The cylindrical-section length may be zero.
V = πr²h+4πr³/3; S = 2πrh+4πr²Regular Tetrahedron
Calculate the volume and total surface area of a regular tetrahedron with equal edge lengths.
V = a³/(6√2); S = √3a²Regular Octahedron
Calculate the volume and total surface area of a regular octahedron with equal edge lengths.
V = √2a³/3; S = 2√3a²Regular Dodecahedron
Calculate the volume and total surface area of a regular dodecahedron with equal edge lengths.
V = (15+7√5)a³/4; S = 3√(25+10√5)a²Regular Icosahedron
Calculate the volume and total surface area of a regular icosahedron with equal edge lengths.
V = 5(3+√5)a³/12; S = 5√3a²Spherical Cap
Calculate a spherical cap from its parent sphere radius and cap height, with 0 < h ≤ 2R.
V = πh²(3R-h)/3; curved S = 2πRh; base S = π(2Rh-h²)Spherical Segment
Calculate the zone between two parallel cuts of one sphere from their positive circle radii and separation h. The implied sphere must pass through both circles.
R = √(r₁²+x²), x=(r₁²-r₂²-h²)/(2h); V=πh(3r₁²+3r₂²+h²)/6; zone S=2πRhSpherical Sector
Calculate a spherical sector from sphere radius R and cap height h, where 0 < h ≤ 2R. Surface components are the spherical cap and the conical face; there is no flat base face.
V = 2πR²h/3; spherical S = 2πRh; cone S = πR√(2Rh-h²)Composite Solid Calculator
Combine three supported primitives by signed volume only. Each shape exposes only its required dimensions, and every dimension has an independent unit selector. Total external surface area is intentionally omitted because exposed faces depend on how the solids are joined.
Vtotal = V₁ ± V₂ ± V₃; no total external surface area (depends on joins)