Math Formula Library
Every formula here is written out, its symbols named, and then put through a worked example with real numbers — because a formula you have never seen used is a picture rather than a tool. Search by name, by symbol or by what you are trying to do: try quadratic, pythagoras, npr or reverse vat. Where a calculator on this site does the same job, the card links to it.
Showing all 82 formulas
Every Formula, Written Out in Full
Quadratic Formula
Algebrax = (−b ± √(b² − 4ac)) / 2aDiscriminant
AlgebraΔ = b² − 4acDifference of Two Squares
Algebraa² − b² = (a + b)(a − b)Square of a Binomial
Algebra(a + b)² = a² + 2ab + b²Gradient of a Line
Algebram = (y₂ − y₁) / (x₂ − x₁)Equation of a Straight Line
Algebray = mx + cDistance Between Two Points
Algebrad = √((x₂ − x₁)² + (y₂ − y₁)²)Laws of Indices
Algebraaᵐ × aⁿ = aᵐ⁺ⁿ and aᵐ ÷ aⁿ = aᵐ⁻ⁿLogarithm Rules
Algebralog(xy) = log x + log y and log(xⁿ) = n log xArithmetic Sequence, nth Term
Algebraaₙ = a₁ + (n − 1)dSum of a Geometric Series
AlgebraSₙ = a(1 − rⁿ) / (1 − r)Midpoint of a Line
AlgebraM = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)Sum of an Arithmetic Series
AlgebraSₙ = n/2 × (a₁ + aₙ)Factorial
Algebran! = n × (n − 1) × … × 2 × 1Area of a Rectangle
GeometryA = l × wGravel CalculatorArea of a Triangle
GeometryA = ½ × b × hArea of a Circle
GeometryA = πr²Circumference of a Circle
GeometryC = 2πr = πdPythagorean Theorem
Geometrya² + b² = c²Area of a Trapezium
GeometryA = ½(a + b) × hHeron's Formula
GeometryA = √(s(s − a)(s − b)(s − c)), s = (a + b + c) / 2Volume of a Cuboid
GeometryV = l × w × hMulch CalculatorVolume of a Cylinder
GeometryV = πr²hVolume of a Sphere
GeometryV = (4/3)πr³Volume of a Cone
GeometryV = (1/3)πr²hSurface Area of a Sphere
GeometryA = 4πr²Perimeter of a Rectangle
GeometryP = 2(l + w)Area of a Parallelogram
GeometryA = b × hInterior Angles of a Polygon
Geometrysum = (n − 2) × 180°Area of a Sector
GeometryA = (θ / 360) × πr²Arc Length
GeometryL = (θ / 360) × 2πrSurface Area of a Cylinder
GeometryA = 2πr² + 2πrhVolume of a Pyramid
GeometryV = (1/3) × base area × hSOH CAH TOA
Trigonometrysin θ = opp/hyp, cos θ = adj/hyp, tan θ = opp/adjSine Rule
Trigonometrya / sin A = b / sin B = c / sin CCosine Rule
Trigonometryc² = a² + b² − 2ab cos CPythagorean Identity
Trigonometrysin²θ + cos²θ = 1Tangent as a Ratio
Trigonometrytan θ = sin θ / cos θArea From Two Sides and an Angle
TrigonometryA = ½ab sin CDegrees and Radians
Trigonometryradians = degrees × π / 180Unit Conversion CalculatorAngle Sum of a Triangle
TrigonometryA + B + C = 180°Double Angle Formulae
Trigonometrysin 2θ = 2 sin θ cos θ, cos 2θ = cos²θ − sin²θMean (Average)
Statisticsx̄ = Σx / nMean, Median and Mode CalculatorMedian
Statisticsposition = (n + 1) / 2, after sortingMean, Median and Mode CalculatorRange
Statisticsrange = maximum − minimumVariance
Statisticsσ² = Σ(x − μ)² / NStandard Deviation
Statisticsσ = √varianceMean, Median and Mode CalculatorZ-Score
Statisticsz = (x − μ) / σBasic Probability
StatisticsP(A) = favourable outcomes / total outcomesCombinations
StatisticsC(n, r) = n! / (r!(n − r)!)Permutations
StatisticsP(n, r) = n! / (n − r)!Percentage Change
Statisticschange = (new − old) / old × 100Percentage CalculatorInterquartile Range
StatisticsIQR = Q₃ − Q₁Weighted Mean
Statisticsx̄ = Σ(w × x) / ΣwGPA CalculatorExpected Value
StatisticsE(X) = Σ x × P(x)Complement Rule
StatisticsP(not A) = 1 − P(A)Independent Events
StatisticsP(A and B) = P(A) × P(B)Simple Interest
FinanceI = P × r × tCompound Interest
FinanceA = P(1 + r/n)^(nt)Loan CalculatorLoan Repayment (EMI)
FinanceEMI = P × i × (1 + i)ⁿ / ((1 + i)ⁿ − 1)EMI CalculatorPercentage of an Amount
Financepart = whole × percentage / 100Percentage CalculatorAdding VAT
Financegross = net × (1 + rate)VAT CalculatorRemoving VAT
Financenet = gross / (1 + rate)VAT CalculatorCompound Annual Growth Rate
FinanceCAGR = (end / start)^(1/n) − 1Rule of 72
Financeyears to double ≈ 72 / annual percentage rateBreak-Even Point
Financeunits = fixed costs / (price − variable cost)Profit Margin
Financemargin = (revenue − cost) / revenue × 100Markup, and Why It Is Not Margin
Financemarkup = (revenue − cost) / cost × 100Straight-Line Depreciation
Financeannual charge = (cost − salvage value) / useful lifePrice After a Discount
Financefinal = original × (1 − discount)Discount CalculatorEffective Annual Rate
FinanceEAR = (1 + r/n)ⁿ − 1Celsius to Fahrenheit
Measurement°F = °C × 9/5 + 32Unit Conversion CalculatorFahrenheit to Celsius
Measurement°C = (°F − 32) × 5/9Unit Conversion CalculatorSpeed, Distance and Time
Measurementspeed = distance / timeTime CalculatorDensity
Measurementdensity = mass / volumeGravel CalculatorCubic Feet to Cubic Yards
Measurementcubic yards = cubic feet / 27Gravel CalculatorMixed Number to Decimal
Measurementa b/c = a + (b ÷ c)Mixed Number CalculatorMiles and Kilometres
Measurementkm = miles × 1.609344Unit Conversion CalculatorKilograms and Pounds
Measurementlb = kg × 2.20462Unit Conversion CalculatorLitres and Gallons
MeasurementUS gallons = litres / 3.785411784Unit Conversion CalculatorSquare Metres and Square Feet
Measurementft² = m² × 10.7639Unit Conversion CalculatorMPG and Litres per 100 km
MeasurementL/100km = 282.481 / mpg (imperial)Fuel Cost Calculator
Algebra Formulas
Solving and rearranging: the quadratic formula, slope and straight-line equations, exponent and logarithm rules, percentage change and the compound-growth form. The rules are small in number and most of the difficulty is knowing which one a problem has been disguised as.
Quadratic Formula · Discriminant · Difference of Two Squares · Square of a Binomial · Gradient of a Line · Equation of a Straight Line · Distance Between Two Points · Laws of Indices · Logarithm Rules · Arithmetic Sequence, nth Term · Sum of a Geometric Series · Midpoint of a Line · Sum of an Arithmetic Series · Factorial
Geometry Formulas
Area, perimeter, surface area and volume for the shapes that come up in real measuring jobs — circles, triangles, rectangles, cylinders, cones and spheres — plus Pythagoras for the right-angled cases. These are the formulas behind a paint estimate, a gravel order or a tank capacity, and the usual error is not the algebra but measuring a diameter where the formula wants a radius.
Area of a Rectangle · Area of a Triangle · Area of a Circle · Circumference of a Circle · Pythagorean Theorem · Area of a Trapezium · Heron's Formula · Volume of a Cuboid · Volume of a Cylinder · Volume of a Sphere · Volume of a Cone · Surface Area of a Sphere · Perimeter of a Rectangle · Area of a Parallelogram · Interior Angles of a Polygon · Area of a Sector · Arc Length · Surface Area of a Cylinder · Volume of a Pyramid
Trigonometry Formulas
The ratios in a right-angled triangle, the sine and cosine rules for triangles without one, the Pythagorean identity, and conversion between degrees and radians. SOH CAH TOA covers more school problems than anything else here and fails silently the moment the angle is not 90 degrees.
SOH CAH TOA · Sine Rule · Cosine Rule · Pythagorean Identity · Tangent as a Ratio · Area From Two Sides and an Angle · Degrees and Radians · Angle Sum of a Triangle · Double Angle Formulae
Statistics Formulas
Mean, median, mode and range, variance and standard deviation, and the basic probability rules. Worth knowing that the mean is the one everyone reaches for and the one a single extreme value distorts most, which is why incomes are quoted as medians.
Mean (Average) · Median · Range · Variance · Standard Deviation · Z-Score · Basic Probability · Combinations · Permutations · Percentage Change · Interquartile Range · Weighted Mean · Expected Value · Complement Rule · Independent Events
Finance Formulas
Simple and compound interest, loan repayment, percentage change, VAT in both directions, and markup against margin. The two that catch people out are removing VAT, which is a division rather than a subtraction, and markup and margin, which are different numbers that look like the same one.
Simple Interest · Compound Interest · Loan Repayment (EMI) · Percentage of an Amount · Adding VAT · Removing VAT · Compound Annual Growth Rate · Rule of 72 · Break-Even Point · Profit Margin · Markup, and Why It Is Not Margin · Straight-Line Depreciation · Price After a Discount · Effective Annual Rate
Measurement Formulas
Unit conversions and the geometry of quantity: length, area, volume, mass, speed, density and temperature. Area scales with the square of a length and volume with the cube, which is why converting cubic feet to cubic yards divides by 27 and not by 3.
Celsius to Fahrenheit · Fahrenheit to Celsius · Speed, Distance and Time · Density · Cubic Feet to Cubic Yards · Mixed Number to Decimal · Miles and Kilometres · Kilograms and Pounds · Litres and Gallons · Square Metres and Square Feet · MPG and Litres per 100 km
Why Every Entry Carries an Example
A formula sheet that lists symbols and stops is useful only to someone who already knows the formula. The gap between reading A = πr² and using it is not the algebra — it is knowing that r is the radius and that the tape measure in your hand probably gave you the diameter. That is the kind of thing an example catches and a definition does not, so every card here has one, with the arithmetic left visible rather than tidied away.
Several examples are deliberately built around the mistake rather than the method. Removing VAT by subtracting 20% instead of dividing by 1.2 gives an answer that is close enough to look right and wrong by ten pounds in three hundred. Dividing cubic feet by 3 rather than 27 produces an order nine times too large. These are not exotic errors; they are the ordinary ones, and seeing the correct arithmetic beside them is what stops them.
Reading the Symbol Lists
Two conventions run through the library. Greek letters stand for quantities describing a whole set — μ for a population mean, σ for its standard deviation, Σ for a total — while Latin letters usually describe a single measurement or a sample. And a superscript is a power, not a multiplication: r² means r times itself, which is why a circle of double the radius has four times the area rather than twice.
Units are the other half of the job, and no formula enforces them. Speed is distance over time whether or not the distance is in miles and the time in minutes, and it will return a number either way. Anything measured in more than one unit is worth converting before it reaches a formula rather than after, which the unit conversion calculator will do exactly, and the mixed number calculator will handle for the fractions a tape measure gives you.
Trigonometric formulas carry a trap that has nothing to do with the formula itself: they assume the angle is in radians, and most people have the angle in degrees. Getting that step wrong gives an answer that looks reasonable and is not, which is why converting degrees to radians is worth doing deliberately rather than from memory.
Where a Formula Stops Being the Right Answer
Most of these hold only under conditions the formula itself does not state. Pythagoras and SOH CAH TOA need a right angle, and give confident nonsense without one — the sine and cosine rules exist precisely for the triangles they cannot handle. Basic probability assumes every outcome is equally likely, which is true of a shuffled deck and false of almost anything involving people. Simple interest assumes nothing is ever added to the principal, which is why it understates nearly every real account.
The mean deserves its own warning. It is the average everyone reaches for, and a single extreme value pulls it a long way from where most of the data sits. That is why incomes are reported as medians and why a room of ten people can have a mean wealth in the millions. When a set has outliers, the median describes it better — and both are worth calculating before deciding which one to quote.
Common Formula Questions
What is the formula for the area of a circle?
A = πr², where r is the radius. The near-universal mistake is using the diameter, because a tape measure across a circle gives you the diameter rather than the radius. Halve it first. A circle 10 cm across has a radius of 5, so the area is π × 25, about 78.5 cm², not π × 100.
How do you find the volume of a cylinder?
V = πr²h — the area of the circular end multiplied by the height. The same radius-versus-diameter trap applies, and it costs more here: getting the radius wrong by a factor of two makes the volume wrong by a factor of four, because the radius is squared.
What is the difference between area and surface area?
Area describes a flat shape; surface area describes the outside of a solid one. A circle has an area of πr². A sphere of the same radius has a surface area of 4πr², which is four times larger — the circle is the shadow it casts, not its skin. Paint and material estimates need surface area.
What are the basic trigonometry formulas?
For a right-angled triangle: sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, tangent is opposite over adjacent. For triangles without a right angle those do not apply, and you need the sine rule (a / sin A = b / sin B) or the cosine rule (c² = a² + b² − 2ab cos C). Using SOH CAH TOA on a triangle that has no right angle returns a confident wrong answer.
What is the difference between mean, median and mode?
The mean is the total divided by the count, the median is the middle value once sorted, and the mode is the most frequent value. They differ most when the data has extremes: one very large value drags the mean a long way and leaves the median where it was. That is why incomes are reported as medians.
How do you remove VAT from a price?
Divide by 1 plus the rate, so a gross price at 20% is divided by 1.2. Subtracting 20% instead is the common error and it is not the same operation — it leaves you about 4% short, which on £300 is roughly £10. Adding VAT is the multiplication; removing it is the division.
Why does converting cubic feet to cubic yards divide by 27 and not 3?
Because volume scales with the cube of a length. A yard is three feet, so a cubic yard is 3 × 3 × 3 cubic feet. The same logic puts 9 square feet in a square yard rather than 3. Dividing a volume by 3 gives an answer nine times too large, which on a gravel order is an expensive delivery.
Which math formulas are worth memorising?
Fewer than most lists suggest. Area and circumference of a circle, area of a triangle and rectangle, Pythagoras, the quadratic formula, percentage change, and mean and median cover the majority of everyday and exam use. The rest are worth being able to find and read, which is what this library is for.
