Geometry and coordinate geometry calculators solve problems that combine algebra with spatial reasoning: measuring distances on a map or a graph, describing the steepness of a line, covering a 3D object with a known amount of material, and solving for the unknown parts of a triangle. These four tools are used constantly in fields ranging from navigation and construction to trigonometry homework and CAD design, and each is built on a specific, verifiable formula rather than an estimate.
This guide covers the calculators in a logical progression: starting with two-point measurements on a coordinate system (distance and slope), then moving into three-dimensional surface area, and finishing with the most flexible of the four — solving a triangle from partial information. Each step includes a fully worked example so you can verify the formula against your own numbers before relying on the calculator for larger or more complex values.
Step 1: Find the Distance Between Two Coordinates
The Distance Calculator on thecalcu.com finds the great-circle distance between two points given as latitude and longitude — the kind of distance relevant to flights, shipping routes, and general "how far apart are these two cities" questions. Because latitude and longitude describe positions on a sphere rather than a flat plane, this calculation uses the Haversine formula rather than the simpler Pythagorean distance formula used on flat coordinate grids.
The Haversine formula works by converting the differences in latitude and longitude into radians, then computing the angular distance between the two points along the surface of a sphere with Earth's average radius (6,371 km). The formula is: a = sin²(Δlat/2) + cos(lat1) × cos(lat2) × sin²(Δlon/2), followed by c = 2 × atan2(√a, √(1−a)), and finally distance = R × c, where R is Earth's radius. The result is a straight-line ("as the crow flies") distance, not a driving or walking route distance, which will always be equal to or shorter than any real travel path.
Worked example: Find the distance between New York City (40.7128° N, 74.0060° W) and London (51.5074° N, 0.1278° W).
Converting to radians and applying the Haversine steps: the latitude difference is about 10.79°, and the longitude difference is about 73.88°. Working through the formula with Earth's radius of 6,371 km produces a great-circle distance of approximately 5,570 km (3,462 miles). This closely matches published flight distances between the two cities, which typically list around 5,585 km depending on the exact airport coordinates used.
If you are working with coordinates on a flat plane instead of the globe — like graph paper coordinates in a geometry class — the relevant formula is the simpler Euclidean distance: d = √((x₂−x₁)² + (y₂−y₁)²). This flat-plane version is what the Slope Calculator returns alongside slope, since both describe the same pair of points in Cartesian space.
Step 2: Calculate the Slope Between Two Points
Slope measures the steepness and direction of a line connecting two points on a coordinate plane. The formula is m = (y₂ − y₁) ÷ (x₂ − x₁) — the change in the vertical (y) direction divided by the change in the horizontal (x) direction, often summarized as "rise over run." A positive slope rises from left to right, a negative slope falls from left to right, a slope of zero is perfectly horizontal, and a vertical line has an undefined slope because it would require dividing by zero.
Once you know the slope, you can derive the full equation of the line. Using the slope-intercept form y = mx + b, substitute one known point and the slope to solve for b, the y-intercept: b = y₁ − m × x₁. The line's angle relative to the horizontal x-axis can also be found by taking the arctangent of the slope: θ = arctan(m), typically expressed in degrees.
Worked example: Find the slope, y-intercept, and angle of the line through (1, 2) and (5, 14).
Slope: m = (14 − 2) ÷ (5 − 1) = 12 ÷ 4 = 3. Y-intercept: b = 2 − (3 × 1) = 2 − 3 = −1. Equation of the line: y = 3x − 1. Angle: θ = arctan(3) ≈ 71.57° from horizontal.
The Slope Calculator computes all four values — slope, y-intercept, angle, and the straight-line distance between the two points — from a single pair of coordinates, which is useful for checking algebra homework or verifying a line's equation before graphing it. Note that a steep slope like 3 means the line climbs 3 units vertically for every 1 unit it moves horizontally, which visually appears close to vertical without technically being undefined.
Step 3: Calculate Surface Area of 3D Shapes
Surface area is the total area covering the outside of a three-dimensional shape, expressed in square units. The Surface Area Calculator supports five common shapes, each with its own formula:
- Cube (side length s): SA = 6s² — six identical square faces.
- Sphere (radius r): SA = 4πr² — a single continuous curved surface.
- Cylinder (radius r, height h): SA = 2πr² + 2πrh — two circular ends plus a curved lateral surface.
- Cone (radius r, height h): SA = πr² + πrl, where l = √(r² + h²) is the slant height — one circular base plus a curved lateral surface tapering to a point.
- Rectangular prism (length l, width w, height h): SA = 2(lw + lh + wh) — six rectangular faces in three matching pairs.
Each formula follows the same underlying idea: sum the area of every distinct face or curved surface that makes up the shape's exterior. For curved surfaces like the sphere, cylinder, and cone, the formulas derive from calculus but reduce to simple algebraic expressions once fixed.
Worked example: Find the surface area of a cylinder with radius 4 cm and height 10 cm. SA = 2π(4)² + 2π(4)(10) = 2π(16) + 2π(40) = 32π + 80π = 112π ≈ 351.86 cm²
Worked example: Find the surface area of a cone with radius 3 cm and height 4 cm. First find the slant height: l = √(3² + 4²) = √(9 + 16) = √25 = 5 cm. SA = π(3)² + π(3)(5) = 9π + 15π = 24π ≈ 75.40 cm²
Note the common mistake with cones: using the vertical height h directly in place of the slant height l in the lateral surface term produces an incorrect, undersized result — always calculate the slant height first using the Pythagorean theorem.
Worked example: Find the surface area of a rectangular prism (a box) measuring 4 cm long, 3 cm wide, and 5 cm tall. SA = 2(lw + lh + wh) = 2((4×3) + (4×5) + (3×5)) = 2(12 + 20 + 15) = 2(47) = 94 cm²
This shape is the one most people encounter first — shipping boxes, rooms, and packaging are all rectangular prisms — and it's a useful sanity check for the other formulas, since a cube is just a special case of a rectangular prism where l = w = h, at which point 2(lw + lh + wh) simplifies down to 6s².
Surface area calculations have direct practical uses beyond the classroom: estimating how much paint covers a cylindrical tank, how much wrapping paper covers a gift box, or how much material a manufacturer needs for a conical funnel all reduce to picking the right formula from the list above and plugging in measured dimensions. The Surface Area Calculator removes the need to memorize all five formulas by letting you select the shape and enter only the dimensions that apply to it.
Step 4: Solve a Triangle's Sides, Angles, Area, and Perimeter
The Triangle Calculator solves for every unknown side, angle, area, and perimeter of a triangle from three known measurements, using three different input modes depending on what you already know: SSS (three sides), SAS (two sides and the included angle), or ASA (two angles and the included side).
SSS mode uses the law of cosines to find each angle: cos(A) = (b² + c² − a²) ÷ (2bc), and similarly for angles B and C, with the third angle found by subtracting the other two from 180°. The area is found using Heron's formula: first calculate the semi-perimeter s = (a + b + c) ÷ 2, then Area = √(s(s−a)(s−b)(s−c)).
SAS mode uses the law of cosines in reverse to find the missing side from two known sides and their included angle: c = √(a² + b² − 2ab·cos(C)), then finds the remaining angles the same way as SSS. The area in this mode has a shortcut: Area = ½ × a × b × sin(C), using the two known sides and the angle between them directly.
ASA mode uses the law of sines: since angle sums to 180° gives you the third angle immediately, the remaining sides are found with a = c × sin(A) ÷ sin(C) and b = c × sin(B) ÷ sin(C).
Worked example (SSS): Solve a triangle with sides a = 5, b = 6, c = 7. Semi-perimeter: s = (5 + 6 + 7) ÷ 2 = 9. Area (Heron's formula) = √(9 × (9−5) × (9−6) × (9−7)) = √(9 × 4 × 3 × 2) = √216 ≈ 14.70. Perimeter = 5 + 6 + 7 = 18. Angle A = arccos((6² + 7² − 5²) ÷ (2×6×7)) = arccos(60 ÷ 84) = arccos(0.714) ≈ 44.4°.
Worked example (SAS): Solve a triangle with sides a = 8, b = 10, and included angle C = 60°. Find side c with the law of cosines: c = √(8² + 10² − 2×8×10×cos(60°)) = √(64 + 100 − 160×0.5) = √(164 − 80) = √84 ≈ 9.17. Area = ½ × 8 × 10 × sin(60°) = 40 × 0.866 ≈ 34.64. Perimeter = 8 + 10 + 9.17 ≈ 27.17.
Notice that SAS mode doesn't need Heron's formula at all, since the two known sides and the angle between them plug directly into the ½ab·sin(C) area formula — this is often faster than SSS mode when the included angle is already known, because it skips straight to area without first solving for a missing side.
In every mode, the calculator also reports whether the triangle is scalene (no equal sides), isosceles (two equal sides), equilateral (three equal sides), or right-angled (one 90° angle) — useful context that a raw set of numbers doesn't communicate on its own. If the entered values can't form a valid triangle — for example, if one side is longer than the sum of the other two — no solution exists, since the triangle inequality has been violated.
Key Terms
- Great-Circle Distance — the shortest path between two points along the curved surface of a sphere, calculated with the Haversine formula for latitude/longitude coordinates.
- Slope — the ratio of vertical change to horizontal change between two points on a line, calculated as rise over run.
- Y-Intercept — the point where a line crosses the vertical y-axis, where x equals zero.
- Surface Area — the total area covering the exterior faces or curved surfaces of a three-dimensional shape, measured in square units.
- Slant Height — the straight-line distance from the edge of a cone's base to its apex, distinct from the cone's vertical height.
- Heron's Formula — a method for finding a triangle's area from its three side lengths alone, using the semi-perimeter.
- Law of Cosines — a formula relating a triangle's three sides to the cosine of one of its angles, used when three sides or two sides and an included angle are known.
- Law of Sines — a formula relating a triangle's sides to the sines of their opposite angles, used when two angles and a side are known.
- Triangle Inequality — the rule that the sum of any two sides of a triangle must exceed the length of the third side, or no such triangle can exist.