Why ToolsRacks ships twelve modules
MathKit on ToolsRacks is a searchable suite of twelve focused calculators — wider than a single scientific pad — covering algebra, number theory, percentages, fractions, descriptive statistics, ratios and numeral bases.
Homework and coding rarely need one instrument. A tip split is the wrong job for a quadratic solver; prime factorization is awkward on a bare keypad. MathKit separates those jobs into modules with a jump menu, so you stay on one ToolsRacks URL instead of bouncing across random calculator sites.
The scientific module uses mathjs (not eval). Below: what each area covers, worked examples you can verify by hand, and limits worth knowing before you trust a result in an exam setting.
The twelve calculators inside MathKit
- Scientific calculator
- Full expressions with precedence, Deg/Rad trig, log/ln, powers, roots, factorial, percent, π/e, keyboard entry and a short history list for reuse.
- Quadratic solver
- For ax² + bx + c = 0: discriminant Δ = b² − 4ac, two real roots, a repeated root, or a complex conjugate pair — with steps shown.
- GCD, LCM and primes
- Euclidean GCD across multiple integers, LCM via |ab|/gcd(a,b), trial-division prime factorization with exponents, plus factorial helpers.
- Percentage, powers, fractions
- Multiple percentage modes, aⁿ and n-th roots (including negative exponents where defined), and fraction arithmetic reduced by gcd.
- Averages and standard deviation
- Mean, median, mode, range, sum and count; population and sample standard deviation (Bessel’s correction on sample).
- Ratios and bases
- Simplify/scale ratios, split a total by parts, and convert among binary, octal, decimal and hexadecimal — modules many “math toolkit” pages omit.
Worked examples you can verify
Example 1: Quadratic with two real roots
a = 1, b = −5, c = 6Δ = 1
x₁ = 3
x₂ = 2Factoring (x − 2)(x − 3) = 0 confirms the same roots.
Example 2: GCD of three integers
48, 18, 30gcd = 66 divides each number; 12 does not divide 18, so 6 is maximal.
Example 3: Prime factorization
3602³ × 3² × 52×2×2×3×3×5 = 360.
Example 4: Base conversion
Decimal 255 → binary11111111 (also FF hex)Eight ones is 2⁸ − 1 = 255.
Helpful notes
Calculations follow the standard order of operations: brackets, then powers, then multiplication and division, then addition and subtraction. Results are rounded to a sensible number of digits so sin(180) shows 0 instead of a long float. Invalid input (divide by zero, even root of a negative) shows a clear error instead of a wrong answer.
Degrees vs radians
Choose Deg or Rad before trigonometry. sin(30) in degrees is 0.5; in radians it is a different value entirely.
Population vs sample standard deviation
Use population when your list is the whole group. Use sample when the list is drawn from a larger population (divides by n − 1).
Floating-point limits
JavaScript uses IEEE-754 doubles. Extremely large powers or tiny roots can overflow — the UI reports that as an error.
a = 0 is not quadratic
If a is zero the equation is linear. The solver rejects a = 0 instead of pretending it still has two roots.
Homework and exams
Use MathKit to check algebra and stats work. For scored mocks, open the negative marking calculator; for Pakistan MDCAT merit estimates use the MDCAT aggregate calculator. Some exams ban calculators — follow the rules that apply to you.
Getting more out of MathKit
- Search the jump menu for “fraction”, “hex” or “quadratic” instead of scrolling every card.
- Tap a scientific-history row to reuse the last result in a new expression.
- Paste comma- or space-separated lists into averages and standard deviation.
- Hex conversion accepts A–F in either case.
- Tip/EMI/discount math lives on Calculators — keep MathKit for the twelve core modules.
How this page is maintained
The quadratic, GCD, LCM, factorization, percentage, fraction, statistics, ratio and base-conversion formulas above match the implementations in lib/mathToolkit.js. Worked numeric examples were produced by those same functions.
Written and reviewed by the ToolsRacks editorial team. Last reviewed: . Found an error? Tell us — see our editorial standards.