My Calculator Stack · Math formulas
Math formulas
One printable sheet for 139 Math tools — formulas collected from each calculator’s How it works.
3D Distance Calculator
Open tool →Extend the Pythagorean theorem to three coordinates.
Absolute Change Calculator
Open tool →Absolute change is a subtraction, independent of the starting scale.
Absolute Value Calculator
Open tool →Absolute value is the distance from zero on the number line.
Absolute Value Equation Calculator
Open tool →An absolute-value equation splits into two linear cases when c ≥ 0.
Absolute Value Inequality Calculator
Open tool →Less-than absolute inequalities become a between-bounds interval; greater-than becomes two rays.
Adding and Subtracting Polynomials Calculator
Open tool →Like degrees add (or subtract) their coefficients.
Arithmetic Sequence Calculator
Open tool →Common difference d; a_n = a1 + (n−1)d; S_n = n(a1+a_n)/2.
Average Percentage Calculator
Open tool →Weight each percent by its count, then divide by the total count.
Average Rate of Change Calculator
Open tool →Average rate of change is rise over run on that interval.
Binary Addition Calculator
Open tool →Addition is integer addition of the parsed bit strings.
Binary Calculator
Open tool →Each bit is a coefficient of a power of 2.
Binary Fraction Converter
Open tool →Repeatedly double the fractional part and collect bits.
Binary Subtraction Calculator
Open tool →Parse as integers, subtract, and write the difference in binary.
Bit Shift Calculator
Open tool →Left shift multiplies by 2^k; right shift divides by 2^k (floor).
Bitwise AND Calculator
Open tool →Each bit of the result is 1 only when both inputs have 1 in that place.
Bitwise OR Calculator
Open tool →A result bit is 1 if either input bit is 1.
Bitwise XOR Calculator
Open tool →A result bit is 1 when the input bits differ.
Ceiling Function Calculator
Open tool →Ceiling rounds toward +∞.
Chinese Remainder Theorem Calculator
Open tool →The unique class modulo mn is constructed from the modular inverses of the moduli.
Cofunction Calculator
Open tool →Sine and cosine (and the other pairs) swap on complementary angles.
Collatz Conjecture Calculator
Open tool →Even terms divide by 2; odd terms go to 3n+1 until 1.
Comparing Fractions Calculator
Open tool →Cross-multiply: a d ? b c, with the same sign of the denominators.
Completing the Square Calculator
Open tool →Complete the square after factoring a from the quadratic terms.
Complex Conjugate Calculator
Open tool →The conjugate flips the sign of the imaginary part.
Complex Number Calculator
Open tool →Use rectangular arithmetic; division multiplies by the conjugate.
Consecutive Integers Calculator
Open tool →The middle of an odd run is S/n; an even run straddles that mean.
Cramer's Rule Calculator
Open tool →Replace a column of the coefficient matrix by the right-hand side and ratio determinants.
Cross Product Calculator
Open tool →The cross product is perpendicular to both inputs; magnitude is the parallelogram area.
Cubic Equation Calculator
Open tool →Depress the cubic and solve with the trigonometric or Cardano form.
Descartes' Rule of Signs Calculator
Open tool →Sign changes in p(x) bound positive roots; sign changes in p(−x) bound negative roots.
Diamond Problem Calculator
Open tool →The pair are roots of t² − (sum)t + product = 0.
Digital Root Calculator
Open tool →The digital root is n mod 9, except multiples of 9 (nonzero) become 9.
Direct Variation Calculator
Open tool →Direct variation is a constant ratio y/x.
Discriminant Calculator
Open tool →The discriminant decides two real, one real, or complex conjugate roots.
Divisibility Test Calculator
Open tool →n is divisible by d when the remainder is 0.
Dot Product Calculator
Open tool →u·v = |u||v| cos θ.
Double Angle Formula Calculator
Open tool →Use the standard double-angle identities.
Doubling Time Calculator
Open tool →Constant growth doubles in ln(2) divided by ln(1 + r).
e^x Calculator
Open tool →exp(x) is the inverse of the natural logarithm.
Egyptian Fractions Calculator
Open tool →At each step take the unit fraction 1/⌈b/a⌉ and repeat on the remainder.
Eigenvalue Calculator (2×2)
Open tool →Roots of λ² − (tr A)λ + det A = 0.
Euler Totient Calculator
Open tool →Enter a positive integer n within the educational size limit. Related: Toy RSA Demonstrator.
Expanded Form Calculator
Open tool →Each digit is multiplied by its power of ten.
Exponent Calculator
Open tool →General real powers use the exponential definition.
Exponential Function Calculator
Open tool →Exponential functions scale the base by the coefficient a.
Exponential Growth Calculator
Open tool →Discrete compound growth multiplies by (1+r) each period.
Extended GCD / Modular Inverse
Open tool →Enter a and modulus m. If gcd ≠ 1, no modular inverse exists (shown as —). Related: Modular Exponentiation, Toy RSA Demonstrator.
When an inverse exists, a·inv ≡ 1 (mod m).
Factoring Trinomials Calculator
Open tool →Find integers whose product is ac and whose sum is b.
Fibonacci Calculator
Open tool →Each term is the sum of the previous two.
Floor Division Calculator
Open tool →Floor division rounds the quotient toward −∞.
Floor Function Calculator
Open tool →Floor rounds toward −∞.
FOIL Calculator
Open tool →FOIL multiplies First, Outer, Inner, Last and collects like terms.
Fraction Calculator
Open tool →Simplify by dividing by the greatest common divisor.
Addition uses a common denominator.
Fraction Exponent Calculator
Open tool →Apply the exponent to numerator and denominator; negative n takes the reciprocal first.
GCD and LCM Calculator
Open tool →Enter Integer a and Integer b for the GCD and LCM Calculator; use finite values in the indicated domain. The calculator reports GCD and LCM: GCD is the largest shared divisor; LCM is the least common multiple. When either integer is zero, check the LCM convention required by your application.
Geometric Mean Calculator
Open tool →The geometric mean is the nth root of the product.
Geometric Sequence Calculator
Open tool →a_n = a1 r^{n−1}; finite sum uses (1−r^n)/(1−r) when r ≠ 1.
Half-Angle Calculator
Open tool →Half-angle formulas take square roots of (1±cos θ)/2.
Harmonic Mean Calculator
Open tool →The harmonic mean is n divided by the sum of reciprocals.
Harmonic Number Calculator
Open tool →The harmonic series of n terms is the sum of reciprocals.
Hex Calculator
Open tool →Each hex digit encodes four bits.
Inequality to Interval Notation Calculator
Open tool →Closed ends use brackets; open ends use parentheses.
Inverse Variation Calculator
Open tool →Inverse variation keeps the product constant.
Irregular Polygon Area Calculator
Open tool →Sum x_i y_{i+1} − x_{i+1} y_i around the closed loop, then take half the absolute value.
Law of Cosines Calculator
Open tool →c² = a² + b² − 2ab cos C.
Law of Sines Calculator
Open tool →The law of sines relates each side to the sine of the opposite angle.
Least To Greatest Fraction Calculator
Open tool →Compare by cross-multiplication, then list in order.
Line Equation from Two Points Calculator
Open tool →Compute m, then b = y1 − m x1.
Linear Equation Calculator
Open tool →Enter a (coeff of x), b, and c for the Linear Equation Calculator; use finite values in the indicated domain. The calculator reports x: Isolate x by subtracting b and dividing by a. A zero a (coeff of x) means the equation has either no unique solution or infinitely many.
Linear Interpolation Calculator
Open tool →Lerp uses the fractional distance along x.
Log Base 2 Calculator
Open tool →Definition via change of base.
Log Calculator
Open tool →Change-of-base formula.
Luhn Algorithm Calculator
Open tool →Double every second digit from the right; subtract 9 if over 9; total must be divisible by 10.
Manhattan Distance Calculator
Open tool →Manhattan distance sums absolute coordinate differences.
Matrix 2×2 Calculator
Open tool →Enter a (1,1), b (1,2), c (2,1), and d (2,2) for the Matrix 2×2 Calculator; use finite values in the indicated domain. The calculator reports Determinant, Inv a, Inv b, Inv c, and Inv d: det = ad−bc; inverse is (1/det) times the adjugate. An inverse exists only when Determinant is nonzero.
Matrix 3×3 Calculator
Open tool →The determinant expands along the first row (or any row) by cofactors.
Matrix Multiplication Calculator
Open tool →Each entry is a row-column dot product.
Matrix Trace Calculator
Open tool →tr A = a + d for [[a,b],[c,d]].
Matrix Transpose Calculator
Open tool →Swap off-diagonal entries.
Midpoint Calculator
Open tool →Average the x-coordinates and the y-coordinates.
Modular Exponentiation Calculator
Open tool →Enter base a, exponent e, and modulus m (non-zero). Related tools: Extended GCD / Modular Inverse and Toy RSA Demonstrator.
Multiply Radicals Calculator
Open tool →The product of principal square roots is the root of the product (a,b ≥ 0).
Negative Log Calculator
Open tool →The common negative log is minus the base-10 logarithm.
Nth Root Calculator
Open tool →The principal root is exp((1/n) ln x) for x > 0.
Number Factor Calculator
Open tool →Trial division up to √n collects factor pairs.
One's Complement Calculator
Open tool →Each bit is inverted; the integer is interpreted in w bits.
Parabola Vertex Calculator
Open tool →The vertex x-coordinate is −b/(2a).
Partial Fraction Decomposition Calculator
Open tool →Clear the denominator and solve the resulting linear system for A and B.
Pascal's Triangle Calculator
Open tool →Entries are n choose k.
Percent Given Value Calculator
Open tool →Divide the part by the whole, then multiply by 100.
Percent to Goal Calculator
Open tool →Progress is current divided by goal, as a percent.
Percentage Calculator
Open tool →What is P% of X? Multiply the fraction of 100 by X.
X is what percent of Y? Divide the part by the whole, then scale to 100.
Percent change from A to B measures how much the value grew or shrank relative to the starting amount.
Percentage Error Calculator
Open tool →Divide the absolute difference by the absolute theoretical value, then scale by 100.
Percentage of a Percentage Calculator
Open tool →Percents of percents multiply as fractions of 100.
Percentage Point Calculator
Open tool →A percentage-point gap is a simple subtraction of two percent values.
Perfect Cube Calculator
Open tool →n is a perfect cube when ∛n is an integer.
Perfect Square Calculator
Open tool →n is a perfect square when √n is an integer.
Permutation and Combination Calculator
Open tool →Permutations.
Combinations.
Phase Shift Calculator
Open tool →Period is 2π/|B|; phase shift is C/B.
Place Value Calculator
Open tool →Place i from the right is worth 10^i.
Point Slope Form Calculator
Open tool →y − y1 = m(x − x1) rearranges to y = mx + b.
Polar Coordinates Calculator
Open tool →r is the modulus; θ is atan2(y, x).
Polynomial Division Calculator
Open tool →Synthetic / long division writes dividend = divisor × quotient + remainder.
Power Set Calculator
Open tool →A finite set of n elements has 2^n subsets.
Powers of i Calculator
Open tool →Powers of i cycle every four: 1, i, −1, −i.
Prime Factors Calculator
Open tool →Enter Integer ≥ 2 for the Prime Factors Calculator; use finite values in the indicated domain. The calculator reports Prime factors and Factor count: Prime factorization writes a number as a product of primes. The input must be a whole number of at least 2.
Proportion Calculator
Open tool →Enter a, b, and c for the Proportion Calculator; use finite values in the indicated domain. The calculator reports x: Cross-multiply to solve a proportion. a must be nonzero because it is the divisor used to recover x.
Quadratic Equation Calculator
Open tool →Enter a (x²), b (x), and c for the Quadratic Equation Calculator; use finite values in the indicated domain. The calculator reports Discriminant, Root 1, and Root 2: Roots come from the quadratic formula using the discriminant. Set a (x²) nonzero; a negative Discriminant has no real Root 1 or Root 2.
Queueing Theory Calculator (M/M/1)
Open tool →Utilization ρ = λ/μ; mean queue wait λ/(μ(μ−λ)) for ρ < 1.
Rational Zeros Calculator
Open tool →Any rational root in lowest terms has numerator dividing the constant and denominator dividing the leading coefficient.
Reciprocal Calculator
Open tool →The reciprocal is the unique y with xy = 1.
Relatively Prime Calculator
Open tool →Coprime integers share no prime factor.
Remainder Calculator
Open tool →Remainder after division.
Right Triangle Calculator
Open tool →Pythagoras gives c; the acute angles are arctan of the opposite-over-adjacent ratios.
Root Mean Square Calculator
Open tool →RMS is the square root of the mean of squares.
Rounding Calculator
Open tool →Scale, round to nearest integer, then scale back.
Scientific Calculator
Open tool →Expressions use standard precedence with right-associative powers. Trig and inverse trig respect the DEG/RAD mode; hyperbolic functions are always in radians.
Scientific Notation Calculator
Open tool →The exponent is the integer floor of log10(|x|).
Significant Figures Calculator
Open tool →Scale so the first digit is in a known place, round, then scale back.
Simplifying Radicals Calculator
Open tool →Factor out the largest square dividing n.
Slope between two points
Two-point slope
x₂ ≠ x₁. Same units on each axis.
Horizontal line
y₂ = y₁ and the points are distinct.
Vertical line
Slope is undefined; do not divide by zero.
Point-slope form
A line through (x₁, y₁) with slope m.
Slope-intercept
b is the y-intercept when the line crosses x = 0.
Slope Calculator
Open tool →Slope is rise over run, undefined on a vertical line.
Slope Intercept Form Calculator
Open tool →b = y − mx; then y = mx + b at any x.
Slope Percentage Calculator
Open tool →Percent grade is 100 times rise/run; the angle is arctan of that ratio.
Sum and Difference Identities Calculator
Open tool →Angle-sum identities expand sine and cosine of a sum or difference.
Sum of Series Calculator
Open tool →Use the closed forms already listed on the sequence pages.
System of Equations Calculator
Open tool →Cramer’s rule uses 2×2 determinants when the coefficient determinant is nonzero.
Time Percentage Calculator
Open tool →Divide the part duration by the whole duration and scale to 100.
Toy RSA Demonstrator
Open tool →Pick distinct small primes p and q, a public exponent e coprime to φ(n), and a message integer m with 0 ≤ m < n. Related: Modular Exponentiation, Extended GCD / Modular Inverse, Euler Totient.
Never use these keys for real security; production RSA uses large random primes and audited libraries.
Triangular Number Calculator
Open tool →T_n = n(n+1)/2. Mode 0 computes T_n; mode 1 solves for n given T.
Union and Intersection Calculator
Open tool →Union collects unique elements; intersection keeps those in both.
Unit Circle Calculator
Open tool →This page takes θ in degrees; cosine and sine use the radian equivalent.
The point on the unit circle at that angle.
Tangent is sine divided by cosine, when cosine is not zero.
Unit Rate Calculator
Open tool →Unit rate is a/b with denominator 1.
Unit Vector Calculator
Open tool →Divide by the magnitude (must be nonzero).
Value Given Percent Calculator
Open tool →Multiply the whole by P/100.
Vector Addition Calculator
Open tool →Add coordinates independently.
Vector Magnitude Calculator
Open tool →Magnitude is the square root of the sum of squares.
Weighted Average Calculator
Open tool →Divide the sum of value×weight by the sum of weights.
Y Intercept Calculator
Open tool →From slope m, b = y1 − m x1.
Keep going
Open the category hub or browse every printable sheet.