Math · geometry and trigonometry
What is the area, the angle or the distance?
Five shapes-and-angles questions that keep coming up — a triangle from three side lengths, a sphere from its radius, the gap between two coordinates, the trig ratios of an angle, and radians against degrees — each with the geometry behind the number spelled out.
Heron's formula, Pythagoras and the unit circle Both directions of the radian-degree conversion 5 calculators inside
Your situation
What are you measuring?
Each branch reads a different set of the boxes below. Start with the triangle, which is the one people look for most, and switch if your question is about a sphere, a distance or an angle.
That's not my case
Fine-tune the estimate
Your figures
Lengths and coordinates share the first four boxes; the angle has its own box and its own unit selector. Every branch tells you in its help text which ones it actually reads.
Triangle: the first side. Sphere: the radius. Distance: the x coordinate of the first point.
Triangle: the second side. Distance: the y coordinate of the first point. Not used for the sphere.
Triangle: the third side. Distance: the x coordinate of the second point.
Distance branch only: the y coordinate of the second point.
Used by the trigonometry and the radian-degree branches. Pick its unit below.
Which unit the angle above is written in. Getting this wrong is the single most common trigonometry error.
Mathematical result based on the inputs. Verify units, assumptions, and rounding before technical use.
How the total adds up
The geometry, line by line
The intermediate quantities that make the answer checkable — the semiperimeter, the deltas, the identities — not just the final figure.
Every branch cuts a real total into its pieces: the perimeter into three sides, the squared distance into Δx² and Δy², the unit circle into sin²θ and cos²θ, a full turn into your angle and what is left of it.
Quick answer
What applies to you
What's included
Watch out for this
Deadline:
Frequently asked questions
What is Heron's formula?
It gives the area of any triangle from its three side lengths alone: compute the semiperimeter s = (a + b + c) ÷ 2, then take √(s(s−a)(s−b)(s−c)). Its value is that it needs no height and no angle, so it works on a plot of land you can only measure along the edges. It is attributed to Heron of Alexandria in the first century, though Archimedes may well have known it earlier.
What is the triangle inequality and why does it matter here?
Each side of a triangle has to be shorter than the sum of the other two — otherwise the two shorter sides cannot reach across the longest one and no triangle closes. Sides of 2, 3 and 9 are impossible. In Heron's formula, violating the inequality makes one of the (s − side) factors negative, so the product under the square root goes negative and the area is not a real number. That is the algebra reporting the geometry honestly.
How do I tell whether a triangle is right, acute or obtuse from its sides?
Compare the square of the longest side against the sum of the squares of the other two. If they are equal, the triangle is right-angled — that is the converse of the Pythagorean theorem, and it is why 3, 4, 5 works. If the longest side squared is smaller, every angle is acute; if larger, one angle is obtuse. The test costs three multiplications and needs no trigonometry at all.
What is the formula for the volume of a sphere?
V = 4/3 × π × r³, and the surface area is S = 4 × π × r². Both take the radius, not the diameter, which is where most errors come from: putting a diameter in the radius slot inflates the volume by a factor of eight. A useful relationship is that the surface area is exactly the derivative of the volume with respect to the radius, which is the geometric statement that growing a sphere adds a thin shell.
Why does the surface-area-to-volume ratio matter?
Because it is 3 ÷ r, so it falls as the sphere grows. Small things have enormous surface relative to their bulk and exchange heat, water and gas with their surroundings very fast; large things cannot. It is why mice must eat constantly and elephants must shed heat through their ears, why crushed ice melts faster than a block, and why big storage tanks need less steel per liter than small ones.
How do I calculate the distance between two points?
Distance = √((x₂ − x₁)² + (y₂ − y₁)²). It is the Pythagorean theorem with the horizontal and vertical gaps as the two legs and the distance as the hypotenuse. From (3, 4) to (5, 12) the gaps are 2 and 8, so the distance is √(4 + 64) = √68 ≈ 8.246. The same construction extends to three dimensions by adding a Δz² term under the root.
Can I use the distance formula on latitude and longitude?
Not directly, and doing so is a classic source of wrong mileages. Degrees of latitude are roughly constant at about 111 km, but degrees of longitude shrink from 111 km at the equator to nothing at the poles, so treating a lat/long pair as flat coordinates overstates east-west distances badly outside the tropics. The haversine formula, which works on the sphere, is the right tool for that job.
What is the difference between degrees and radians?
Degrees are an arbitrary division of a circle into 360 parts, inherited from Babylonian arithmetic and convenient because 360 has so many divisors. A radian is defined by the circle itself: it is the angle whose arc length equals the radius, so a full turn is exactly 2π radians. That definition is what makes calculus work cleanly — the derivative of sin x equals cos x only when x is measured in radians.
How do I convert radians to degrees?
Multiply by 180 ÷ π, which is 57.29577951308232. Going the other way, multiply degrees by π ÷ 180. The anchors worth remembering are π rad = 180°, π/2 = 90°, π/3 = 60°, π/4 = 45° and π/6 = 30°. Since a radian is a ratio of two lengths it carries no physical dimension, which is why it can be introduced or dropped in a formula without breaking dimensional analysis.
What do sine, cosine and tangent actually represent?
On a unit circle, the cosine of an angle is the x coordinate of the point at that angle and the sine is the y coordinate — which is why sin²θ + cos²θ = 1 is just the Pythagorean theorem on a radius of length one. In a right triangle, sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent, which also makes tangent equal to sine divided by cosine.
Why is the tangent undefined at 90 degrees?
Because the tangent is sine divided by cosine, and at 90° the cosine is exactly zero. Dividing by zero has no value, so the tangent is undefined there rather than infinite: approaching 90° from below the tangent grows without bound, and from above it comes back from negative infinity. Geometrically, the tangent measures a slope, and at 90° the line is vertical and has no slope.
What are the trig values I should just memorise?
Five angles cover most of what you will ever need. sin 0° = 0, sin 30° = 0.5, sin 45° = √2/2 ≈ 0.7071, sin 60° = √3/2 ≈ 0.8660 and sin 90° = 1. Cosine is the same list read backwards, since cos θ = sin(90° − θ). Tangent follows from dividing them, giving tan 30° ≈ 0.5774, tan 45° = 1 and tan 60° ≈ 1.7321.