Mathematics formulas
The equations that underpin algebra, geometry, trigonometry, calculus, probability and statistics — with each symbol defined and a worked substitution.
Arc length
The length of a circular arc, with the angle measured in radians.
Mathematics A = πr2Area of a circle
The area enclosed by a circle of radius r.
Mathematics A = b hArea of a parallelogram
The area of a parallelogram is base times perpendicular height.
Mathematics A = lwArea of a rectangle
Area of a rectangle from its length and width.
Mathematics A = ½ × perimeter × apothemArea of a regular polygon
A regular polygon's area is half its perimeter times its apothem (the centre-to-side distance).
Mathematics A = ½ d1 d2Area of a rhombus (or kite)
The area of a rhombus or kite is half the product of its diagonals.
Mathematics A = ½(a + b)hArea of a trapezoid
Area of a trapezoid from its two parallel sides and height.
Mathematics A = ½bhArea of a triangle
The area of any triangle from its base and perpendicular height.
Mathematics A = π(R2 − r2)Area of an annulus
The area between two concentric circles is π times the difference of the squared radii.
Mathematics A = π a bArea of an ellipse
The area of an ellipse is π times the semi-major axis times the semi-minor axis.
Mathematics x̄ = Σ xi / nArithmetic mean
The ordinary average: the sum of the values divided by how many there are.
Mathematics an = a1 + (n − 1)dArithmetic sequence
The nth term of a sequence with a constant difference.
Mathematics P(A | B) = P(B | A) P(A) / P(B)Bayes' theorem
Reverses a conditional probability, updating a prior belief with new evidence.
Mathematics P(X = k) = C(n, k) pk (1 − p)n − kBinomial probability
The probability of exactly k successes in n independent yes/no trials.
Mathematics (a + b)n = Σk=0n C(n, k) an−k bkBinomial theorem
Expands any power of a two-term sum into a sum of terms with binomial coefficients.
Mathematics d/dx f(g(x)) = f′(g(x)) · g′(x)Chain rule for derivatives
The derivative of a composite function is the outer derivative evaluated at the inner function, times the inner derivative.
Mathematics logbx = ln x / ln bChange of logarithm base
Converts a logarithm in any base to natural or common logarithms.
Mathematics C = 2πrCircumference of a circle
The distance around a circle.
Mathematics C(n, r) = n! / (r!(n − r)!)Combinations
The number of unordered selections of r items from n.
Mathematics P(A | B) = P(A ∩ B) / P(B)Conditional probability
The probability of A given that B has occurred.
Mathematics cos θ = adjacent / hypotenuseCosine ratio
The cosine of an angle in a right triangle is the adjacent side over the hypotenuse.
Mathematics logb(a) = c ⇔ bc = aDefinition of a logarithm
A logarithm is the exponent a base must be raised to in order to give a number.
Mathematics D = n(n − 3) / 2Diagonals of a polygon
Counts the number of diagonals in a polygon with n sides.
Mathematics a2 − b2 = (a − b)(a + b)Difference of squares
Factors any expression that is one perfect square subtracted from another.
Mathematics d = √((x2 − x1)2 + (y2 − y1)2)Distance formula
The straight-line distance between two points on a coordinate plane.
Mathematics a · b = |a| |b| cos θ = a1b1 + a2b2 + a3b3Dot product
Multiplies two vectors to get a scalar measuring how parallel they are.
Mathematics sin(2θ) = 2 sin θ cos θDouble-angle formula for sine
Expresses the sine of twice an angle using the functions of the angle itself.
Mathematics (x − h)2 + (y − k)2 = r2Equation of a circle
The set of points at distance r from a centre (h, k).
Mathematics y = mx + bEquation of a line
Slope-intercept form of a straight line.
Mathematics E(X) = Σ xi P(xi)Expected value
The long-run average outcome of a random variable, weighted by probabilities.
Mathematics (am)n = amnExponent power rule
Raising a power to another power multiplies the exponents.
Mathematics am · an = am+nExponent product rule
Multiplying powers of the same base adds the exponents.
Mathematics y = a(1 + r)tExponential growth
Models growth or decay at a constant proportional rate.
Mathematics n! = n × (n − 1) × … × 2 × 1Factorial
The product of every positive integer up to n.
Mathematics am/n = ( n√a )mFractional exponent rule
A fractional exponent is a root: the denominator gives the root and the numerator the power.
Mathematics ∫ab f(x) dx = F(b) − F(a), where F′ = fFundamental theorem of calculus
A definite integral equals an antiderivative evaluated at the endpoints and subtracted.
Mathematics an = a1rn−1Geometric sequence
The nth term of a sequence with a constant ratio.
Mathematics A = √(s(s − a)(s − b)(s − c))Heron's formula
The area of a triangle from its three side lengths alone.
Mathematics S = a / (1 − r), |r| < 1Infinite geometric series
The sum of an infinite geometric sequence, valid when the ratio's size is below one.
Mathematics S = (n − 2) × 180°Interior angle sum of a polygon
The interior angles of any simple polygon with n sides sum to (n − 2) straight angles.
Mathematics c2 = a2 + b2 − 2ab cos CLaw of cosines
Generalises the Pythagorean theorem to any triangle.
Mathematics a / sin A = b / sin B = c / sin CLaw of sines
Relates the sides of any triangle to the sines of the opposite angles.
Mathematics b = (n Σxy − Σx Σy) / (n Σx2 − (Σx)2)Least-squares regression slope
The slope of the line that minimises the squared vertical distances to the data points.
Mathematics log(an) = n · log aLogarithm power rule
An exponent inside a logarithm becomes a multiplier outside it.
Mathematics logb(xy) = logbx + logbyLogarithm product rule
Turns the logarithm of a product into a sum of logarithms.
Mathematics log(a / b) = log a − log bLogarithm quotient rule
The log of a quotient equals the difference of the logs.
Mathematics M = ((x1 + x2) / 2, (y1 + y2) / 2)Midpoint formula
Finds the point exactly halfway between two coordinates.
Mathematics a−n = 1 / anNegative exponent rule
A negative exponent means the reciprocal of the positive power.
Mathematics % change = (new − old) / old × 100Percentage change
The relative change between two values, expressed as a percentage.
Mathematics x% of y = (x / 100) × yPercentage of a number
A percentage is a fraction out of 100, so 'x percent of y' means x/100 times y.
Mathematics P(n, r) = n! / (n − r)!Permutations
The number of ordered arrangements of r items chosen from n.
Mathematics σ2 = Σ(xi − μ)2 / NPopulation variance
The average of the squared deviations from the mean — the standard measure of spread.
Mathematics d/dx (xn) = n xn−1Power rule for derivatives
Differentiating a power brings the exponent down as a factor and reduces it by one.
Mathematics ∫ xn dx = xn+1 / (n + 1) + CPower rule for integrals
Integrating a power raises the exponent by one and divides by the new exponent.
Mathematics P(A ∪ B) = P(A) + P(B) − P(A ∩ B)Probability addition rule
The probability that at least one of two events occurs.
Mathematics (uv)′ = u′v + uv′Product rule for derivatives
The derivative of a product is the derivative of the first times the second, plus the first times the derivative of the second.
Mathematics a / b = c / d ⇔ a d = b cProportion (cross-multiplication)
Two ratios are equal exactly when the cross-products are equal.
Mathematics sin2 θ + cos2 θ = 1Pythagorean identity
The squares of sine and cosine of the same angle always sum to one.
Mathematics a2 + b2 = c2Pythagorean theorem
Relates the two legs of a right triangle to its hypotenuse.
Mathematics x = (−b ± √(b2 − 4ac)) / 2aQuadratic formula
Solves any quadratic equation ax² + bx + c = 0, including roots that are not integers.
Mathematics radians = degrees × π / 180Radian–degree conversion
Converts an angle from degrees to radians, or back with 180/π.
Mathematics P(x) = (x − a)Q(x) + P(a)Remainder theorem
The remainder of a polynomial P(x) divided by (x − a) is simply P(a).
Mathematics A = ½ r2 θSector area
The area of a pie-slice of a circle, with the angle in radians.
Mathematics sin θ = opposite / hypotenuseSine ratio
The sine of an angle in a right triangle is the opposite side over the hypotenuse.
Mathematics m = (y2 − y1) / (x2 − x1)Slope of a line
Measures how steeply a line rises or falls between two points.
Mathematics σ = √(Σ(xi − μ)2 / N)Standard deviation
The typical distance of data points from the mean, for a full population.
Mathematics α + β = −b / a, αβ = c / aSum and product of roots
Gives the sum and product of a quadratic's roots without solving it.
Mathematics Sn = a1(1 − rn) / (1 − r)Sum of a geometric series
The sum of the first n terms of a geometric sequence, for r ≠ 1.
Mathematics Sn = (n/2)(2a1 + (n − 1)d)Sum of an arithmetic series
The sum of the first n terms of an arithmetic sequence.
Mathematics A = πr2 + πr lSurface area of a cone
The total surface of a closed cone: the base disc plus the curved side, where l is the slant height.
Mathematics A = 6 s2Surface area of a cube
A cube's surface area is six times the square of its edge.
Mathematics A = 2πr2 + 2πr hSurface area of a cylinder
The total surface of a closed cylinder: two circular ends plus the curved side.
Mathematics A = 4πr2Surface area of a sphere
The total surface area of a sphere.
Mathematics tan θ = opposite / adjacentTangent ratio
The tangent of an angle is the opposite side over the adjacent side.
Mathematics A = ½ a b sin CTriangle area from two sides and the included angle
The area of a triangle given two sides and the angle between them.
Mathematics |v| = √(v12 + v22 + v32)Vector magnitude
The length of a vector from its components — the same calculation as the distance from the origin.
Mathematics x = −b / 2a, y = f(−b / 2a)Vertex of a parabola
Finds the highest or lowest point of a quadratic graph.
Mathematics V = (1/3)πr2hVolume of a cone
The volume of a right circular cone.
Mathematics V = s3Volume of a cube
A cube's volume is the edge length cubed.
Mathematics V = πr2hVolume of a cylinder
The volume of a right circular cylinder.
Mathematics V = ⅓ B hVolume of a pyramid
A pyramid's volume is one third of its base area times its height.
Mathematics V = lwhVolume of a rectangular prism
The volume of a box with rectangular faces.
Mathematics V = (4/3)πr3Volume of a sphere
The volume enclosed by a sphere.
Mathematics x̄ = Σwixi / ΣwiWeighted average
An average in which each value contributes in proportion to its weight.
Mathematics z = (x − μ) / σZ-score (standard score)
How many standard deviations a value sits above or below the mean.
MathematicsNo formulas match that filter. Try a symbol, a name or a topic.
About this section
The equations that underpin algebra, geometry, trigonometry, calculus, probability and statistics — with each symbol defined and a worked substitution. Use consistent units. Where a formula expects radians, degrees must be converted first; where it expects kelvin, Celsius must be shifted. Each formula page states its requirements.
A formula is a model, not a fact. Ideal-gas laws assume low pressure, projectile equations ignore air resistance and option models assume constant volatility. The limits are stated on each page.
Frequently asked questions
How many mathematics formulas are listed?
Which units should I use?
Can I use these formulas in a spreadsheet?
The relationships and units in this section are checked against the reference works below.
- NIST Digital Library of Mathematical Functions (DLMF)Authoritative reference for logarithms, trigonometric functions and special functions.
How these are used: sources and standards.