Formula library

Mathematics formulas

The equations that underpin algebra, geometry, trigonometry, calculus, probability and statistics — with each symbol defined and a worked substitution.

85 formulasSymbols definedWorked examples
s = r θ

Arc length

The length of a circular arc, with the angle measured in radians.

Mathematics
A = πr2

Area of a circle

The area enclosed by a circle of radius r.

Mathematics
A = b h

Area of a parallelogram

The area of a parallelogram is base times perpendicular height.

Mathematics
A = lw

Area of a rectangle

Area of a rectangle from its length and width.

Mathematics
A = ½ × perimeter × apothem

Area of a regular polygon

A regular polygon's area is half its perimeter times its apothem (the centre-to-side distance).

Mathematics
A = ½ d1 d2

Area of a rhombus (or kite)

The area of a rhombus or kite is half the product of its diagonals.

Mathematics
A = ½(a + b)h

Area of a trapezoid

Area of a trapezoid from its two parallel sides and height.

Mathematics
A = ½bh

Area 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 b

Area of an ellipse

The area of an ellipse is π times the semi-major axis times the semi-minor axis.

Mathematics
x̄ = Σ xi / n

Arithmetic mean

The ordinary average: the sum of the values divided by how many there are.

Mathematics
an = a1 + (n − 1)d

Arithmetic 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 − k

Binomial probability

The probability of exactly k successes in n independent yes/no trials.

Mathematics
(a + b)n = Σk=0n C(n, k) an−k bk

Binomial 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 b

Change of logarithm base

Converts a logarithm in any base to natural or common logarithms.

Mathematics
C = 2πr

Circumference 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 / hypotenuse

Cosine ratio

The cosine of an angle in a right triangle is the adjacent side over the hypotenuse.

Mathematics
logb(a) = c  ⇔  bc = a

Definition 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) / 2

Diagonals 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 + a3b3

Dot 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 = r2

Equation of a circle

The set of points at distance r from a centre (h, k).

Mathematics
y = mx + b

Equation 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 = amn

Exponent power rule

Raising a power to another power multiplies the exponents.

Mathematics
am · an = am+n

Exponent product rule

Multiplying powers of the same base adds the exponents.

Mathematics
y = a(1 + r)t

Exponential growth

Models growth or decay at a constant proportional rate.

Mathematics
n! = n × (n − 1) × … × 2 × 1

Factorial

The product of every positive integer up to n.

Mathematics
am/n = ( n√a )m

Fractional 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′ = f

Fundamental theorem of calculus

A definite integral equals an antiderivative evaluated at the endpoints and subtracted.

Mathematics
an = a1rn−1

Geometric 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| < 1

Infinite 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 C

Law of cosines

Generalises the Pythagorean theorem to any triangle.

Mathematics
a / sin A = b / sin B = c / sin C

Law 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 a

Logarithm power rule

An exponent inside a logarithm becomes a multiplier outside it.

Mathematics
logb(xy) = logbx + logby

Logarithm product rule

Turns the logarithm of a product into a sum of logarithms.

Mathematics
log(a / b) = log a − log b

Logarithm 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 / an

Negative exponent rule

A negative exponent means the reciprocal of the positive power.

Mathematics
% change = (new − old) / old × 100

Percentage change

The relative change between two values, expressed as a percentage.

Mathematics
x% of y = (x / 100) × y

Percentage 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 / N

Population variance

The average of the squared deviations from the mean — the standard measure of spread.

Mathematics
d/dx (xn) = n xn−1

Power 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) + C

Power 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 c

Proportion (cross-multiplication)

Two ratios are equal exactly when the cross-products are equal.

Mathematics
sin2 θ + cos2 θ = 1

Pythagorean identity

The squares of sine and cosine of the same angle always sum to one.

Mathematics
a2 + b2 = c2

Pythagorean theorem

Relates the two legs of a right triangle to its hypotenuse.

Mathematics
x = (−b ± √(b2 − 4ac)) / 2a

Quadratic formula

Solves any quadratic equation ax² + bx + c = 0, including roots that are not integers.

Mathematics
radians = degrees × π / 180

Radian–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 / hypotenuse

Sine 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 / a

Sum 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 l

Surface 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 s2

Surface area of a cube

A cube's surface area is six times the square of its edge.

Mathematics
A = 2πr2 + 2πr h

Surface area of a cylinder

The total surface of a closed cylinder: two circular ends plus the curved side.

Mathematics
A = 4πr2

Surface area of a sphere

The total surface area of a sphere.

Mathematics
tan θ = opposite / adjacent

Tangent ratio

The tangent of an angle is the opposite side over the adjacent side.

Mathematics
A = ½ a b sin C

Triangle 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)πr2h

Volume of a cone

The volume of a right circular cone.

Mathematics
V = s3

Volume of a cube

A cube's volume is the edge length cubed.

Mathematics
V = πr2h

Volume of a cylinder

The volume of a right circular cylinder.

Mathematics
V = ⅓ B h

Volume of a pyramid

A pyramid's volume is one third of its base area times its height.

Mathematics
V = lwh

Volume of a rectangular prism

The volume of a box with rectangular faces.

Mathematics
V = (4/3)πr3

Volume of a sphere

The volume enclosed by a sphere.

Mathematics
x̄ = Σwixi / Σwi

Weighted 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.

Mathematics

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.

Check the assumptions

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?
There are 85 formulas in this section, from foundational relationships to applied models. Each page defines its symbols and gives a worked example.
Which units should I use?
The formulas use SI units unless the page says otherwise. Standard algebra and geometry references, including ISO 80000-2 for mathematical signs and symbols.
Can I use these formulas in a spreadsheet?
Yes. The expressions are standard mathematical relationships; translate them into spreadsheet syntax using the variable definitions on each page. Watch for unit conversions and for angles in radians versus degrees.
Sources and standards

The relationships and units in this section are checked against the reference works below.

How these are used: sources and standards.