Finding the right math tool
The math hub collects small, single-purpose calculators, and the quickest way to choose one is to name the operation you need. For percentages there are four tools: the Percentage calculator, the Percentage change calculator, the What percent calculator and the Reverse percentage calculator. For whole numbers there are the Factorial calculator, Combination calculator, Permutation calculator, GCD calculator and LCM calculator, plus the Basic calculator for plain arithmetic. For ratios and fractions you have the Fraction calculator and the Proportion calculator. For averages there are the Average calculator and the Weighted average calculator. Powers and roots are covered by the Power calculator, Square Root Calculator, Cube Root Calculator, Nth Root Calculator and Logarithm calculator. The Quadratic Equation Calculator, Geometric Sequence Calculator, Golden Ratio Calculator and Order Of Magnitude Calculator cover more specialized tasks, and two networking tools, the Bandwidth Delay Product Calculator and Propagation Latency Calculator, apply the same arithmetic to computer networks.
Four percentage questions that look alike
Percentages cause more wrong answers than any other topic here because four different questions use the same word. The Percentage calculator finds a percent of a number: 15 percent of 80 is 12. The What percent calculator asks what share one number is of another: 12 is 15 percent of 80. The Percentage change calculator compares an old and a new value: going from 80 to 100 is a 25 percent increase, calculated as (100 minus 80) divided by 80. The Reverse percentage calculator works backward from a result: if a price is 64 after a 20 percent discount, the original was 64 divided by 0.80, which is 80. Notice the asymmetry. A 25 percent increase from 80 reaches 100, but a fall from 100 back to 80 is a 20 percent decrease, because the base changed. Always identify which number is the base before you pick a tool.
Counting: factorials, permutations and combinations
The counting tools answer how many ways something can be arranged or chosen. The Factorial calculator gives n factorial, the product of the integers from 1 to n, so 10 factorial is 3,628,800 and 20 factorial is 2,432,902,008,176,640,000. Factorials grow very fast, which is why results become huge for modest inputs. The Permutation calculator counts ordered selections of r items from n, so choosing a president, a secretary and a treasurer from 10 people gives 10 times 9 times 8, or 720. The Combination calculator counts unordered selections, dividing out the orderings, so choosing 3 committee members from 10 gives 720 divided by 6, or 120. The test is whether order matters. Five cards dealt from a 52-card deck form a hand without order, and there are 2,598,960 such hands. Mixing up the two gives a result that is off by a factor of r factorial.
GCD, LCM and fractions
The GCD calculator finds the greatest common divisor of integers, the largest whole number that divides all of them, and the LCM calculator finds the least common multiple. For 84 and 36, the GCD is 12, and the LCM is 252. For two numbers, the product of the GCD and the LCM equals the product of the numbers, since 12 times 252 is 3,024, which equals 84 times 36. These two tools underlie fraction work. To reduce 84 over 36, divide both by 12 to get 7 over 3. To add one half and one third, use the LCM of the denominators, 6, giving 3 over 6 plus 2 over 6, which is 5 over 6. The Fraction calculator carries out the steps for sums, differences, products and quotients, and it keeps the answer in lowest terms. Remember that LCM is used for common denominators and scheduling problems, such as when two cycles line up again, and GCD is used for simplifying and for tiling a rectangle with square tiles.
Ratios, proportions and averages
The Proportion calculator solves a over b equals c over d for a missing term. If 3 liters of paint cover 24 square meters, then 5 liters cover 5 times 24 divided by 3, which is 40 square meters. This works because the quantities scale together. The Average calculator finds the arithmetic mean, the sum divided by the count. The Weighted average calculator allows different importance for each value. Scores of 90 and 80 with weights of 40 percent and 60 percent give 0.4 times 90 plus 0.6 times 80, which is 84, whereas the plain mean is 85. Weighted averages appear in grades, portfolio returns and price indexes. Use the plain average only when each value counts equally. The Weighted average calculator divides by the total weight, so weights of 40 and 60 give the same 84 as weights of 0.4 and 0.6.
Powers, roots and logarithms
Powers, roots and logarithms are three views of one relationship. If 2 to the power 10 is 1,024, then the Power calculator gives 1,024 from base 2 and exponent 10. The Nth Root Calculator recovers the base from 1,024 and 10, and the Logarithm calculator recovers the exponent from 1,024 and base 2, giving 10. The Square Root Calculator and Cube Root Calculator handle the common second and third roots, so the square root of 144 is 12 and the cube root of 27 is 3. Logarithms turn multiplication into addition and compress wide ranges, which is why decibels, pH and the Richter scale use them. Watch the domain. Square roots of negative numbers are not real, logarithms need positive arguments, and a logarithm base must be positive and not equal to 1. A negative base with a fractional exponent has no real result.
Equations and sequences
The Quadratic Equation Calculator solves ax squared plus bx plus c equal to zero using the quadratic formula, with discriminant b squared minus 4ac. If the discriminant is positive there are two real roots, and if zero one repeated root. If it is negative the roots are complex, which this page does not return: it reports that the discriminant must be nonnegative. For x squared minus 5x plus 6, the discriminant is 25 minus 24, which is 1, and the roots are 2 and 3. The Geometric Sequence Calculator takes a first term, a ratio r and a term number n, for sequences where each term is the previous one times r. The nth term is the first term times r to the power n minus 1, and the page also returns the sum of the first n terms. Starting at 3 with ratio 2, the sixth term is 3 times 32, or 96, and the six terms add up to 189. Geometric sequences model compound growth and decay, such as a balance that grows by a fixed percentage each period. In both tools, check the sign and order of the coefficients before you trust a result.
The golden ratio and orders of magnitude
The Golden Ratio Calculator works with phi, the positive root of x squared minus x minus 1, which is (1 plus the square root of 5) divided by 2, or about 1.6180339887. Two quantities are in the golden ratio when the larger divided by the smaller equals the sum divided by the larger. The page takes a whole length and splits it that way: a board of 100 centimeters divides into a longer piece of about 61.8 and a shorter piece of about 38.2. The ratio is linked to the Fibonacci sequence, whose consecutive ratios approach phi. Claims that the ratio drives beauty in art and nature are often overstated, so treat it as a geometric constant and not a design rule. The Order Of Magnitude Calculator returns the integer power of ten at or below a number, which gives a quick sense of scale: a population of 7.9 billion returns 9, and a bacterium of 2 micrometers, 0.000002 meters, returns minus 6.
Network arithmetic: bandwidth delay and latency
Two tools apply multiplication and division to networks. The Bandwidth Delay Product Calculator multiplies a link's rate in megabits per second by its round-trip time in milliseconds to find how much data can be in flight. A 100 megabit per second link with a 50 millisecond round trip holds 100,000,000 times 0.05, or 5,000,000 bits, which the page reports as 625,000 bytes. A sender needs a window at least that large to keep the link full. The Propagation Latency Calculator divides a distance in kilometers by a signal speed in meters per second. Light in optical fiber travels at roughly two thirds of its vacuum speed of 299,792,458 meters per second, because of the refractive index of glass near 1.47, so about 204,000,000 meters per second. A 1,000 kilometer path then takes about 4.9 milliseconds one way, before routing and queueing delays. Bits and bytes differ by a factor of 8, so check the units.
Rounding, precision and display
Calculators work with finite precision, and the way a result is displayed can mislead. A value shown as 0.3333 is a rounded view of one third, and 0.1 plus 0.2 may display as 0.30000000000000004 in tools that use binary floating point. Keep full precision through a calculation and round once at the end, to the precision your inputs justify. If you measure a length as 12.3 centimeters, a result with eight digits implies accuracy you do not have. Very large and very small numbers are often shown in scientific notation, such as 2.43e18 for 20 factorial. When you compare two results, do so on the same basis, for instance the same number of decimal places. Exact answers, such as fractions and integers, are preferable when the tool offers them.
Checking results independently
A calculator returns what the inputs imply, so a quick independent check catches input errors. For percentages, estimate: 15 percent of 80 should be a bit more than 10 percent, which is 8, plus half of that again, so about 12. For factorials and combinations, compare with a small case you can count by hand. For roots, square the answer: 12 squared is 144. For logarithms, raise the base to the result. For an equation, substitute the roots back in. For a proportion, check that cross products match. These checks take seconds. When two calculators with similar names give different answers, compare the formula and the labels of the inputs, since they may use different bases, denominators or definitions. The difference is nearly always in the question being asked and not in the arithmetic.
Frequently asked questions
- Why is a 25 percent increase not undone by a 25 percent decrease?
- The base changes. Going from 80 to 100 is up 25 percent of 80, but going from 100 back to 80 is down 20 percent of 100.
- How do I tell a permutation from a combination?
- Ask whether order matters. If choosing A then B differs from B then A, use permutations. If the group is the same either way, use combinations.
- Which tool gives the original price after a discount?
- Use the Reverse percentage calculator. A price of 64 after a 20 percent discount came from 64 divided by 0.80, which is 80.
- Why does 20 factorial show in scientific notation?
- The value is 2,432,902,008,176,640,000, which is long. Tools may show it as about 2.43 times 10 to the 18th to save space.