# Math calculators

> Percentages, algebra, number theory, sequences, fractions, exponents, logarithms and rounding.

22 calculators. HTML index: https://tttkmbb.com/math · JSON: https://tttkmbb.com/api/v1/calculators?category=math

- [Percentage Calculator](https://tttkmbb.com/math/percentage.md): Solves the three basic percentage questions (a percentage of a number, what percentage one number is of another, and the whole behind a known part and percentage). Always returns the part, the whole and the percent. Tool: `calculate_percentage`.
- [Percentage Change Calculator](https://tttkmbb.com/math/percentage-change.md): Computes the relative change from an old value to a new value as a percentage, the signed absolute change, the new/old ratio and the symmetric percent difference. Tool: `calculate_percentage_change`.
- [Quadratic Equation Solver](https://tttkmbb.com/math/quadratic-equation.md): Solves ax² + bx + c = 0 with the quadratic formula, reporting the discriminant, both roots (real, or complex conjugates written as strings), the vertex of the parabola and the sum and product of the roots. Tool: `solve_quadratic_equation`.
- [GCD and LCM Calculator](https://tttkmbb.com/math/gcd-lcm.md): Computes the greatest common divisor (highest common factor) and least common multiple of two or more integers with the Euclidean algorithm. Tool: `calculate_gcd_lcm`.
- [Prime Factorization Calculator](https://tttkmbb.com/math/prime-factorization.md): Decomposes an integer into its prime factors by trial division, tests primality, and derives the number and sum of its divisors from the exponents. Tool: `calculate_prime_factorization`.
- [Factorial Calculator](https://tttkmbb.com/math/factorial.md): Computes n! = 1 × 2 × … × n for integers from 0 to 170, together with the number of decimal digits, the number of trailing zeros and a scientific-notation form. Tool: `calculate_factorial`.
- [Combinations and Permutations Calculator](https://tttkmbb.com/math/combinations-permutations.md): Counts the ways to choose k items from n: combinations C(n, k) when order does not matter and permutations P(n, k) when it does, with or without repetition. Tool: `calculate_combinations_permutations`.
- [Exponent Calculator](https://tttkmbb.com/math/exponent.md): Raises a base to any real exponent (base^exponent), including negative and fractional exponents, and reports the reciprocal and a scientific-notation form. Tool: `calculate_exponent`.
- [Nth Root Calculator](https://tttkmbb.com/math/nth-root.md): Computes the principal n-th root of a number (value^(1/n)), returning the real negative root for odd n and the second, negative root for even n. Tool: `calculate_nth_root`.
- [Logarithm Calculator](https://tttkmbb.com/math/logarithm.md): Computes the logarithm of a positive number to any base using the change-of-base formula, and always reports the natural, common (base 10) and binary (base 2) logarithms. Tool: `calculate_logarithm`.
- [Fraction Simplifier](https://tttkmbb.com/math/fraction-simplifier.md): Reduces a fraction to lowest terms by dividing by the GCD and converts it to a mixed number, a decimal and a percentage. Tool: `calculate_simplified_fraction`.
- [Ratio Calculator](https://tttkmbb.com/math/ratio.md): Simplifies a ratio a:b to lowest terms (decimals are scaled to integers first), expresses it as a decimal, as n:1 and as percentage shares, and optionally scales it to a new value of a. Tool: `calculate_ratio`.
- [Proportion Calculator](https://tttkmbb.com/math/proportion.md): Solves the proportion a / b = c / x for the unknown fourth term by cross-multiplication (x = b × c / a) and reports the common scale factor. Tool: `solve_proportion`.
- [Slope Calculator](https://tttkmbb.com/math/slope.md): Computes the slope of the line through two points (rise over run), its y- and x-intercepts, the slope-intercept equation y = mx + b, the angle of inclination and the distance between the points. Tool: `calculate_slope`.
- [Distance Between Two Points Calculator](https://tttkmbb.com/math/distance-2d.md): Computes the straight-line (Euclidean) distance between two points in the plane, their midpoint, the coordinate differences and the Manhattan distance. Tool: `calculate_distance_2d`.
- [Pythagorean Theorem Calculator](https://tttkmbb.com/math/pythagorean.md): Finds the missing side of a right triangle from any two of the legs a, b and hypotenuse c using a² + b² = c², and reports the area, perimeter and acute angles. Tool: `solve_pythagorean_theorem`.
- [Rounding Calculator](https://tttkmbb.com/math/rounding.md): Rounds a number to a given number of decimal places (negative for tens, hundreds, …) or significant figures using round-half-away-from-zero, and also reports the ceiling, floor and truncated values at the same precision. Tool: `calculate_rounded_value`.
- [Arithmetic Sequence Calculator](https://tttkmbb.com/math/arithmetic-sequence.md): Computes the n-th term and the sum of the first n terms of an arithmetic progression from the first term and the common difference, and lists the first terms. Tool: `calculate_arithmetic_sequence`.
- [Geometric Sequence Calculator](https://tttkmbb.com/math/geometric-sequence.md): Computes the n-th term and the sum of the first n terms of a geometric progression from the first term and common ratio, plus the sum to infinity when |r| < 1. Tool: `calculate_geometric_sequence`.
- [Modulo Calculator](https://tttkmbb.com/math/modulo.md): Divides one number by another and reports the remainder under the three common sign conventions (truncated as in C/JavaScript, floored as in Python, and the non-negative Euclidean modulo) together with the integer quotient. Tool: `calculate_modulo`.
- [Number Base Converter](https://tttkmbb.com/math/base-converter.md): Converts an integer written in one base (2–36) to another, using exact arbitrary-precision arithmetic, and always shows the binary, octal, decimal and hexadecimal forms. Tool: `convert_number_base`.
- [Scientific Notation Converter](https://tttkmbb.com/math/scientific-notation.md): Writes a number in normalised scientific notation m × 10^e with 1 ≤ |m| < 10, in E-notation, and in engineering notation (exponent a multiple of 3). Tool: `convert_to_scientific_notation`.
