HomeAnswers › Numbers and algebra

Numbers and algebra questions, answered

Equations and solvers, fractions, roots and powers, prime numbers, matrices, sequences and number theory.

Every answer below is taken from the calculator or guide that works the number out, and each heading links back to it so you can put your own figures in. Nothing here is advice, and where a rate or threshold applies the page that owns the answer holds the current figure.

Showing every question on this page.

No question on this page matches that. Try a shorter word, or search every answer on the site.

Sequence Of Returns Risk Calculator NZ 2026/27

What is sequence of returns risk?

The risk that the order in which returns arrive, rather than their average, determines whether a retirement portfolio survives. On the worked example the identical set of 25 annual returns leaves one retiree out of money in year 10 and another holding $279,661.22, purely because of when the bad years fell.

Does the order of returns matter if I am still saving?

Not at all, and the calculator proves it rather than asserting it. With no withdrawals both orders finish at exactly $2,226,806.95, a difference of $0.00. Multiplication is commutative, so the same numbers in any order produce the same result. The risk is created entirely by taking money out.

Why do withdrawals change everything?

Because selling during a downturn permanently removes units that would otherwise have participated in the recovery. Withdrawing $50,000.00 from a portfolio that has fallen 20% sells far more of it than the same withdrawal from a portfolio at its peak, and those units never come back when the market does.

How much difference does the timing make?

On the worked example, a three year downturn in years 1 to 3 exhausts the portfolio in year 10. The same downturn in years 5 to 7 pushes that to year 14, in years 10 to 12 to year 18, and in years 15 to 17 to year 23. Move it to the last three years and the portfolio survives with $279,661.22.

What withdrawal rate survives a bad start?

On these assumptions, 3.00% survives an immediate downturn and finishes with $182,632.90, while 4.00% runs out in year 18 and 5.00% in year 13. That is specific to the scenario entered rather than a general rule, which is the point of testing your own numbers instead of relying on a rule of thumb.

How do I protect against this?

The order of returns cannot be controlled, so the defences are all about not being forced to sell at the bottom. Holding two or three years of spending in cash, reducing withdrawals during a downturn rather than mechanically inflating them, and keeping some flexibility in discretionary spending all work. A larger starting balance relative to spending works too.

Is this the same as volatility risk?

Related but distinct. Volatility describes how much returns vary, while sequence risk is about when the variation happens relative to your withdrawals. Two portfolios with identical volatility and identical average returns can produce completely different retirement outcomes, which is why an average return figure is close to useless for someone drawing down.

Does this apply to KiwiSaver after 65?

Yes, and the transition is exactly when it starts to apply. While contributing, the order of returns is irrelevant and a downturn is arguably helpful because contributions buy more units. Once you begin withdrawing, the same downturn becomes the main threat to the plan, which is why the years either side of 65 deserve more attention than the decades before them.

Anagram Solver

How does the anagram solver work?

The solver uses a letter-frequency counting algorithm. For each word in the dictionary, it checks whether the word can be spelled using only the letters you have provided (each letter used at most the number of times it appears in your input). This is much faster than generating all possible permutations, which would be impractical for more than about 10 letters.

How do wildcards work?

Enter a question mark (?) as a wildcard to represent any single letter. For example, 'c?t' would match 'cat', 'cot', 'cut', etc. Each wildcard can represent a different letter. Using wildcards significantly increases the number of results.

What dictionary does this use?

This solver uses a curated dictionary of common English words. It covers standard vocabulary suitable for word games, crosswords, and general use. It does not include obscure technical terms, slang, or very rare words. Proper nouns (names, places) are excluded.

What is an anagram?

An anagram is a word or phrase formed by rearranging the letters of another word or phrase. For example, 'listen' is an anagram of 'silent'. This solver finds all valid words that can be made from your letters, including words shorter than your full set of letters (sub-anagrams).

Can I use this for Scrabble or Words with Friends?

Yes. Enter your available tiles (including blanks as ? wildcards) and the solver will show all valid words you can form. Results are grouped by word length with the longest words first, which is typically the most valuable strategy in tile-based word games.

Fraction Calculator

How do you add fractions with different denominators?

Find a common denominator, usually by multiplying the two denominators, rewrite each fraction with that denominator, then add the numerators and keep the denominator. For example, 1/2 + 1/3 becomes 3/6 + 2/6 = 5/6. Finally simplify if you can.

How do you simplify a fraction?

Divide the top and bottom by their greatest common divisor, the largest number that goes into both. For example, 8/12 divides by 4 to give 2/3. A fraction is in its simplest form when the only number dividing into both is 1.

How do you multiply and divide fractions?

To multiply, multiply the numerators together and the denominators together, then simplify: 2/3 x 3/4 = 6/12 = 1/2. To divide, flip the second fraction and multiply: 2/3 divided by 3/4 = 2/3 x 4/3 = 8/9.

How do you turn a fraction into a decimal?

Divide the numerator by the denominator. For example, 3/4 is 3 divided by 4, which is 0.75. This calculator shows the decimal and the percentage alongside the simplified fraction automatically.

How do you add mixed numbers?

Convert each mixed number to an improper fraction, give them a common denominator, add the numerators, then simplify and convert back. This calculator accepts mixed numbers directly and does every step for you.

2x2 Determinant Calculator

How do I find a 2x2 determinant?

Multiply the main diagonal (top-left times bottom-right) and subtract the other diagonal (top-right times bottom-left): ad minus bc.

What does the determinant tell me?

Whether the matrix is invertible (non-zero) and how it scales area. Zero means the rows are parallel and the matrix is singular.

Where is it used?

In matrix inverses, Cramer’s rule, area and the vector cross product.

Abundant Number Calculator

What is an abundant number?

A number whose proper divisors add up to more than the number itself, such as 12, 18 and 20.

What is the smallest abundant number?

12, with proper divisors summing to 16.

Are most numbers abundant or deficient?

Deficient numbers are more common overall, but abundant numbers are plentiful, especially among multiples of small primes.

Adding and Subtracting Fractions Calculator

How do you add fractions with different denominators?

To add fractions with different denominators, find the lowest common denominator (LCD) of the two denominators. Convert each fraction to an equivalent fraction with the LCD as the new denominator by multiplying the numerator and denominator by the appropriate factor. Then add the numerators together, keeping the LCD as the denominator. Finally, simplify the resulting fraction by dividing both the numerator and denominator by their greatest common divisor (GCD). For example, 1/3 + 1/4: the LCD of 3 and 4 is 12. Convert to 4/12 + 3/12 = 7/12.

How do you subtract fractions?

Subtracting fractions follows the same steps as addition, except you subtract the numerators instead of adding them. Find the lowest common denominator (LCD), convert both fractions to equivalent fractions with that denominator, then subtract the second numerator from the first. Simplify the result. For example, 3/4 - 1/6: the LCD of 4 and 6 is 12. Convert to 9/12 - 2/12 = 7/12. If the result is negative, the answer is a negative fraction.

How do you add or subtract mixed numbers?

To add or subtract mixed numbers (such as 1 3/4), first convert each mixed number to an improper fraction. Multiply the whole number by the denominator and add the numerator to get the new numerator, keeping the same denominator. For example, 1 3/4 becomes (1 x 4 + 3)/4 = 7/4. Then add or subtract the improper fractions using the standard method (find LCD, convert, add or subtract numerators, simplify). Convert the result back to a mixed number if the numerator is larger than the denominator.

Adding and Subtracting Polynomials Calculator

How do you add two polynomials?

Add the coefficients of like terms, meaning terms with the same power of x. For example, (3x^2 + 2x - 5) + (x^2 - 4x + 7) groups into (3 + 1)x^2 + (2 - 4)x + (-5 + 7), which simplifies to 4x^2 - 2x + 2. Terms that only appear in one polynomial carry through unchanged.

How do you subtract one polynomial from another?

Distribute the minus sign across every term of the second polynomial, then combine like terms. So (3x^2 + 2x - 5) - (x^2 - 4x + 7) becomes 3x^2 + 2x - 5 - x^2 + 4x - 7, which simplifies to 2x^2 + 6x - 12. Forgetting to flip the sign of every term in the second polynomial is the most common mistake.

What is the degree of a polynomial?

The degree is the highest power of x with a non-zero coefficient. Adding or subtracting polynomials never raises the degree above the larger of the two inputs, but it can lower it if the leading terms cancel: for example (x^2 + 3x) - (x^2 - x) leaves 4x, a degree 1 result from two degree 2 inputs.

Adding Fractions Calculator

How do you add fractions with different denominators?

To add fractions with different denominators, first find the least common denominator (LCD) of the two denominators. Convert each fraction to an equivalent fraction with that LCD by multiplying the numerator and denominator by the required factor. Then add the numerators together and keep the LCD as the denominator. Finally, simplify the result by dividing numerator and denominator by their greatest common divisor (GCD). For example, 1/2 + 1/3: the LCD is 6, so convert to 3/6 + 2/6 = 5/6.

How do you add fractions with the same denominator?

When fractions share the same denominator, simply add the numerators together and keep the denominator unchanged. For example, 2/7 + 3/7 = 5/7. If the result can be simplified, divide both numerator and denominator by their greatest common divisor. If the numerator is greater than or equal to the denominator, the result is an improper fraction, which can also be expressed as a mixed number.

How do you add mixed numbers?

To add mixed numbers, first convert each mixed number to an improper fraction. To convert, multiply the whole number by the denominator, add the numerator, and place the result over the original denominator. For example, 1 3/4 becomes (1 x 4 + 3)/4 = 7/4. Then add the two improper fractions using the standard LCD method. Convert the result back to a mixed number if needed by dividing the numerator by the denominator: the quotient is the whole part and the remainder is the numerator of the fractional part.

Adjoint Matrix Calculator (2x2 and 3x3)

What is the adjoint of a matrix?

The adjoint (also called the adjugate) of a square matrix A is the transpose of its cofactor matrix. Each element of the cofactor matrix is the signed minor of the corresponding element in A: the minor is the determinant of the submatrix formed by deleting that element's row and column, and the sign is (-1) raised to the power of the sum of the row and column indices. The adjoint satisfies the identity A times adj(A) equals det(A) times I, where I is the identity matrix. This identity is useful for computing the inverse of a matrix: A inverse equals adj(A) divided by det(A), provided det(A) is non-zero.

How do you find the adjoint of a 2x2 matrix?

For a 2x2 matrix [[a, b], [c, d]], the adjoint is [[d, -b], [-c, a]]. You swap the elements on the main diagonal (a and d), and negate the off-diagonal elements (b and c). This is a direct shortcut that avoids needing to compute cofactors explicitly, though it is equivalent to the general cofactor-then-transpose method.

What is the difference between the adjoint and the inverse of a matrix?

The inverse of a matrix A (written A inverse) equals adj(A) divided by det(A). So the adjoint is the numerator of the inverse formula before dividing by the determinant. If det(A) equals zero, the matrix has no inverse (it is singular), but the adjoint still exists. The adjoint is useful in theoretical contexts and in deriving Cramer's rule. In practice, numerical methods (such as Gaussian elimination) are used to compute inverses of larger matrices.

Amicable Numbers Calculator

What are amicable numbers?

A pair of different numbers where each equals the sum of the other’s proper divisors, like 220 and 284.

How is this different from a perfect number?

A perfect number equals the sum of its own proper divisors. Amicable numbers point at each other instead of themselves.

What is the smallest amicable pair?

220 and 284, the pair known since ancient Greece.

Antilog Calculator

What is an antilog?

The antilog, or antilogarithm, is the inverse of a logarithm. If the log base b of a number is x, then the antilog base b of x is that number back again. It is found by raising the base to the power of the value, so the antilog base b of x is b to the power x.

How do you calculate antilog?

Raise the base to the power of the number. The antilog base 10 of 2 is 10 to the power 2, which is 100. The natural antilog of 1 is e to the power 1, about 2.718.

What is the antilog of 0?

The antilog of 0 is always 1, for any base, because any non-zero number raised to the power 0 equals 1. This matches the fact that the logarithm of 1 is 0 in every base.

Antilogarithm Calculator

What is an antilogarithm?

The inverse of a logarithm. The antilog of L in base b is b to the power L, undoing the log.

What is the antilog of 2 in base 10?

100, since 10 squared is 100.

What base should I use?

Use 10 for common logs, e for natural logs, or any positive base other than 1 to match your log.

Arithmetic & Geometric Sequence Calculator NZ

What is the difference between arithmetic and geometric sequences?

An arithmetic sequence adds a fixed common difference each step and grows in a straight line. A geometric sequence multiplies by a fixed common ratio each step and grows or shrinks exponentially. This calculator computes both from the same inputs.

How do I find the nth term?

For arithmetic, it is the first term plus (n minus 1) times the common difference. For geometric, it is the first term times the ratio raised to the power (n minus 1). The calculator applies both formulas instantly.

Where are geometric sequences used?

Anywhere something grows or shrinks by a constant factor: compound interest, population growth, depreciation and radioactive decay. The geometric series sum is the basis of many finance formulas, which is why it is so useful to compute quickly.

Arithmetic Sequence Calculator

What is an arithmetic sequence?

An arithmetic sequence (also called an arithmetic progression) is a list of numbers where the difference between any two consecutive terms is constant. This constant difference is called d. For example, 3, 8, 13, 18, 23 is an arithmetic sequence with first term 3 and common difference 5. The nth term is given by a plus (n minus 1) times d.

How do you find the sum of an arithmetic sequence?

The sum of the first n terms of an arithmetic sequence is S(n) = n divided by 2 times (2a plus (n minus 1) times d), which can also be written as n divided by 2 times (first term plus last term). This formula was famously discovered by Gauss as a child, who noticed that pairing the first and last terms of a sequence gives the same total as pairing the second and second-last terms, and so on.

What is the difference between an arithmetic and geometric sequence?

In an arithmetic sequence, you add the same constant d to each term to get the next one, so the terms increase (or decrease) at a steady linear rate. In a geometric sequence, you multiply each term by the same constant ratio r, so the terms grow (or shrink) exponentially. A sequence of savings account balances growing by a fixed dollar amount each year is arithmetic; one growing by a fixed percentage is geometric.

Arithmetic Series Calculator

What is an arithmetic series?

The sum of an arithmetic sequence, where consecutive terms differ by a constant common difference.

What is the sum formula?

S = n/2 times (first term plus last term), or equivalently n/2 times (2 a1 + (n minus 1) d).

What is the nth term?

a1 + (n minus 1) d, the first term plus n minus 1 steps of the common difference.

Armstrong Number Calculator

What is an Armstrong number?

A number equal to the sum of its own digits each raised to the power of the digit count, such as 153 = 1 cubed + 5 cubed + 3 cubed.

Why is it called narcissistic?

Because the number is built from its own digits, in a sense admiring itself.

How many Armstrong numbers are there?

Only finitely many, since for enough digits the maximum possible sum falls short of the number. There are 88 in base ten.

Arrhenius Equation Calculator NZ

What is the Arrhenius equation?

It describes how a reaction's rate constant depends on temperature: the rate constant equals a pre-exponential factor times e raised to minus the activation energy over the gas constant times temperature. It explains why reactions speed up when heated.

What is activation energy?

Activation energy is the minimum energy that colliding molecules must have to react, the barrier they must clear. A higher activation energy means fewer collisions are energetic enough, so the reaction is slower. It sits inside the exponential, so it strongly affects the rate.

Why does temperature affect rate so much?

Because temperature appears inside an exponential, the fraction of molecules with enough energy to react rises steeply as it increases. Even a small temperature rise can sharply increase the rate constant, which is the basis of the rule that many reactions roughly double in rate per ten degree rise near room temperature.

Avogadro's Number Calculator

What is Avogadro's number?

Avogadro's number is 6.022 times 10 to the 23, the number of particles in one mole of a substance. A mole of any substance contains this many atoms, molecules or ions, which is how chemists count the unimaginably large numbers of particles in a sample.

How do you convert moles to particles?

Multiply the number of moles by Avogadro's number, 6.022 times 10 to the 23. So 2 moles contain 2 times 6.022 times 10 to the 23, which is about 1.204 times 10 to the 24 particles. To go back, divide the particles by Avogadro's number.

What counts as a particle?

It depends on the substance: for an element it is usually atoms, for a molecular compound it is molecules, and for an ionic compound it can be formula units or ions. A mole always contains Avogadro's number of whichever particle you are counting.

Bayes Theorem Calculator

What is Bayes theorem?

Bayes theorem is a formula for updating a prior probability belief based on new evidence. It states that P(A given B) equals P(B given A) times P(A) divided by P(B). In practical terms, if you know the base rate of a condition, how likely the evidence is given the condition, and how likely the evidence is without the condition, you can calculate the probability the condition is present given the evidence.

Why can a positive test result still be mostly wrong?

When a condition is rare, even a very accurate test produces mostly false positives. For a condition present in 1% of people, a test with 90% sensitivity and 90% specificity will give a positive result in 0.9% of true positives and 9.9% of true negatives, making only about 8.3% of positive results true positives. This is the base rate fallacy.

What is the likelihood ratio in Bayes theorem?

The likelihood ratio (LR) is P(B given A) divided by P(B given not A). It summarises how much more likely the evidence is if A is true than if A is false. A likelihood ratio of 9 means the evidence is nine times more likely when A is true, and this ratio multiplied by the prior odds gives the posterior odds.

Bernoulli Equation Calculator

What is the Bernoulli equation?

The Bernoulli equation states that along a streamline in an ideal (inviscid, incompressible, steady) flow, the total mechanical energy per unit volume is constant: P + 0.5 * rho * v^2 + rho * g * h = constant. Here P is static pressure, rho is fluid density, v is flow velocity, g is gravitational acceleration, and h is elevation. The three terms represent static pressure, dynamic pressure (kinetic energy), and hydrostatic pressure (potential energy).

When does the Bernoulli equation not apply?

Bernoulli's equation assumes ideal (inviscid) flow, incompressible fluid, steady flow, and application along a single streamline. It does not apply to viscous flows, turbulent flows, compressible gases at high Mach number, flow across streamlines, or flows with energy additions (pumps) or removals (turbines) between the two points. For real pipes, the Darcy-Weisbach equation adds a friction loss term.

What does dynamic pressure mean?

Dynamic pressure is the kinetic energy per unit volume of a flowing fluid: q = 0.5 * rho * v^2. It represents the pressure that would result if the flow were brought to rest (stagnated) without any energy loss. Pitot tubes measure total pressure (static plus dynamic) to determine flow speed. Dynamic pressure is in pascals when density is in kg/m3 and velocity is in m/s.

Large Number Calculator

Why do regular calculators fail with very large numbers?

Most calculators use 64-bit floating-point arithmetic (IEEE 754), which has a maximum safe integer of 2 to the power of 53, equal to 9,007,199,254,740,992 (about 9 quadrillion). Above this, not every integer can be represented exactly, so calculations lose precision and produce rounded or wrong results. String-based arithmetic treats each digit individually and has no such limit.

What is string arithmetic?

String arithmetic implements the school algorithms (addition, subtraction, multiplication) by working on the decimal digits of a number stored as a string of characters. Each digit is processed individually, carries are tracked, and the result is built up digit by digit. This gives exact results for integers of any size.

Can this calculator handle division?

This calculator supports addition, subtraction and multiplication of large integers. Division is not included because it can produce non-terminating decimals for integer inputs, which would require arbitrary-precision decimal arithmetic to represent exactly. For large integer division, the result is only exact when the divisor divides the dividend evenly.

Biot Number Calculator

What is the Biot number?

The Biot number is a dimensionless quantity in heat transfer equal to h times the characteristic length divided by thermal conductivity, Bi = h Lc / k. It compares the resistance to heat conduction inside a body with the resistance to heat convection at its surface. A small Biot number means the surface controls the heat flow and the inside stays nearly uniform in temperature.

When is the lumped capacitance model valid?

The lumped capacitance model, which treats an object as a single uniform temperature, is generally accepted as valid when the Biot number is less than 0.1. Below that value the internal temperature gradients are small enough to ignore, so transient cooling or heating can be modelled with a simple exponential in time rather than the full heat conduction equation.

What is the characteristic length in the Biot number?

The characteristic length Lc is usually taken as the volume of the body divided by its surface area. For a large flat plate cooled on both faces it is half the thickness, for a long cylinder it is the radius divided by two, and for a sphere it is the radius divided by three. Using the volume to area ratio gives a consistent length for any shape.

Bulk Modulus Calculator

What is the bulk modulus formula?

Bulk modulus K is the applied pressure change divided by the fractional decrease in volume: K = delta P divided by (delta V over V). A larger bulk modulus means the material resists compression more strongly. For a pressure rise of 10 MPa that shrinks a 1000 litre volume by 4.5 litres, K is 10 divided by 0.0045, which is about 2222 MPa or 2.22 GPa.

What is a typical bulk modulus?

Water has a bulk modulus of about 2.2 GPa, mineral oil around 1.5 to 2 GPa, steel about 160 GPa and diamond over 400 GPa. Gases have very low bulk modulus because they compress easily. The higher the figure, the less the material's volume changes under pressure.

How does bulk modulus relate to compressibility?

Compressibility is simply the reciprocal of the bulk modulus. A material with a high bulk modulus has a low compressibility and barely changes volume under pressure. So a bulk modulus of 2.22 GPa corresponds to a compressibility of about 0.45 per GPa, meaning a fractional volume loss of 0.45 percent for every GPa of pressure applied.

Capacitors in Series and Parallel Calculator

How do you add capacitors in parallel?

Capacitors in parallel simply add up, so the total is the sum of the individual capacitances. Parallel connection effectively increases the plate area, so the combined capacitance is always larger than any single capacitor.

How do you add capacitors in series?

For capacitors in series, you add the reciprocals and take the reciprocal of the result, like resistors in parallel. The total is always smaller than the smallest capacitor in the chain, because the effective plate separation increases.

Why are capacitors opposite to resistors?

Capacitance depends on geometry in the opposite way to resistance, so the rules swap. Capacitors add in parallel and combine by reciprocals in series, which is the reverse of resistors, where you add in series and use reciprocals in parallel.

Checksum Digit Calculator

What is a check digit?

An extra digit added to a number so that a simple calculation over all the digits comes out to a fixed value, catching typos.

How does this scheme work?

It sums the digits and adds whatever makes the total a multiple of ten.

Is this the same as Luhn?

No. Luhn weights alternate digits by doubling them. This is the simpler plain digit sum check; see the Luhn calculator for cards.

Chemical Equation Balancer

How do you balance a chemical equation?

Adjust the coefficients in front of each substance so that every element has the same number of atoms on both sides, in line with the conservation of mass. This balancer sets up the atom-counting equations and solves them for the smallest whole-number coefficients.

How do I enter an equation?

Type the reactants and products separated by plus signs, with an equals sign or an arrow between the two sides, for example C3H8 + O2 = CO2 + H2O. Use normal element symbols and numbers, and brackets like Ca(OH)2 where needed.

Why can't some equations be balanced?

If the substances given cannot conserve every element, or the reaction is written incorrectly, no set of whole-number coefficients will balance it. The balancer will report that it cannot find a valid balance so you can check the formulas.

Cofactor Matrix Calculator

What is the cofactor matrix?

The cofactor matrix (also called the matrix of cofactors) is formed by replacing each element a[i][j] of a square matrix with its cofactor C[i][j]. The cofactor C[i][j] equals (-1)^(i+j) multiplied by the minor M[i][j], which is the determinant of the submatrix obtained by deleting row i and column j. The cofactor matrix is closely related to the adjugate (classical adjoint) matrix: the adjugate is the transpose of the cofactor matrix.

How do you calculate cofactors of a 3x3 matrix?

For each position (i, j) in a 3x3 matrix: (1) Delete row i and column j to get a 2x2 submatrix. (2) Calculate the determinant of that 2x2 submatrix (this is the minor M[i][j]). (3) Multiply by the sign factor (-1)^(i+j), which follows a checkerboard pattern: + - + / - + - / + - +. The result is the cofactor C[i][j]. Repeat for all nine positions to get the full cofactor matrix.

What is the difference between the cofactor matrix and the adjugate matrix?

The cofactor matrix contains the cofactor C[i][j] at position (i, j). The adjugate matrix (or classical adjoint) is the transpose of the cofactor matrix, meaning the cofactor C[i][j] is placed at position (j, i). The adjugate is used to find the inverse of a matrix: the inverse equals the adjugate divided by the determinant (when the determinant is non-zero). In this calculator, you can use the cofactor matrix result together with the transpose operation to obtain the adjugate.

Common Factor Calculator

What is a common factor?

A common factor (also called a common divisor) is a whole number that divides evenly into two or more other numbers with no remainder. For example, 4 is a common factor of 12 and 20 because 12 divided by 4 equals 3 and 20 divided by 4 equals 5, both with no remainder. The greatest common factor (GCF) is the largest number that divides evenly into all of the given numbers. The GCF of 12 and 20 is 4.

How do you find the greatest common factor (GCF)?

The most efficient method for finding the GCF is the Euclidean algorithm. To find the GCF of two numbers, divide the larger number by the smaller and take the remainder. Then divide the smaller number by that remainder, and continue until the remainder is zero. The last non-zero remainder is the GCF. For example, GCF(48, 18): 48 divided by 18 gives remainder 12; 18 divided by 12 gives remainder 6; 12 divided by 6 gives remainder 0; so GCF = 6. Once you have the GCF, every divisor of the GCF is also a common factor of the original numbers.

What is the difference between GCF and LCM?

The GCF (greatest common factor) is the largest number that divides evenly into all of the given numbers. The LCM (least common multiple) is the smallest number that all of the given numbers divide evenly into. They are related by the formula: GCF(a, b) x LCM(a, b) = a x b. For example, for 12 and 18: GCF = 6 and LCM = 36; and 6 x 36 = 216 = 12 x 18. GCF is used when simplifying fractions; LCM is used when adding or subtracting fractions.

Comparing Fractions Calculator

How do you compare two fractions?

The most reliable method is cross-multiplication. To compare a/b and c/d, multiply the numerator of the first fraction by the denominator of the second (a x d), and the numerator of the second by the denominator of the first (c x b). If a x d is greater than c x b, then a/b is the larger fraction. If a x d equals c x b, the fractions are equal. You can also convert each fraction to a decimal by dividing numerator by denominator and then compare the decimals directly.

Can you compare fractions with different denominators?

Yes. When fractions have different denominators, the simplest approach is cross-multiplication, which avoids the need to find a common denominator. Alternatively, convert both fractions to equivalent fractions with the same denominator (the lowest common denominator, or LCD), then compare the numerators directly. For example, to compare 2/3 and 3/4, find the LCD of 3 and 4 which is 12: 2/3 becomes 8/12 and 3/4 becomes 9/12. Since 9 is greater than 8, 3/4 is the larger fraction.

How do you compare mixed numbers?

First compare the whole-number parts. If one whole number is greater, that mixed number is larger regardless of the fractional parts. If the whole numbers are equal, compare the fractional parts using cross-multiplication or a common denominator. For example, 3 2/5 versus 3 3/7: the whole numbers are both 3, so compare 2/5 and 3/7. Cross-multiplying: 2 x 7 = 14 versus 3 x 5 = 15. Since 15 is greater, 3/7 is larger, so 3 3/7 is the bigger mixed number.

Complex Modulus Calculator

What is the modulus of a complex number?

Its distance from the origin on the complex plane, the square root of the real part squared plus the imaginary part squared.

Is it the same as absolute value?

Yes. The modulus is the complex number version of absolute value.

What is the argument?

The angle the number makes with the positive real axis, found with atan2(b, a).

Complex Number Calculator NZ

How do you multiply complex numbers?

Use the distributive rule and remember that i squared is minus one. So (a+bi)(c+di) equals (ac minus bd) plus (ad plus bc)i. The real and imaginary parts mix, which is why doing it by hand is error-prone. This calculator does it instantly.

What are the modulus and argument?

The modulus is the distance of the complex number from the origin in the complex plane, the square root of the real part squared plus the imaginary part squared. The argument is the angle it makes with the positive real axis. Together they give the polar form.

Where are complex numbers used?

Throughout electrical engineering and signal processing, where they describe alternating current, impedance and waves, as well as in control systems, quantum physics and advanced mathematics. They make rotations and oscillations far easier to handle than real numbers alone.

Complex Number to Polar Form Calculator

How do you convert a complex number to polar form?

Given a complex number z = a + bi, the polar form is z = r∠θ (or r(cos θ + i sin θ), also written as re^(iθ)). The modulus r equals the square root of (a² + b²). The argument θ equals atan2(b, a), which is the angle from the positive real axis. For example, z = 3 + 4i gives r = sqrt(9 + 16) = 5, and θ = atan2(4, 3) ≈ 53.13°. So the polar form is 5∠53.13°.

What is the difference between the modulus and the argument of a complex number?

The modulus (r) is the distance from the origin to the point (a, b) on the complex plane. It is always a non-negative real number and is calculated as r = sqrt(a² + b²). The argument (θ) is the angle the line from the origin to the point makes with the positive real axis, measured anticlockwise. It is usually expressed in radians in the range (-π, π] or in degrees (-180°, 180°]. Together, r and θ fully describe the position of a complex number.

Why does converting to polar form use atan2 rather than plain arctan?

The plain arctan function only returns values in the range (-90°, 90°), covering only the first and fourth quadrants. The atan2(b, a) function takes both the real part (a) and the imaginary part (b) as separate arguments and returns the correct angle in all four quadrants, ranging from -180° to 180°. For example, atan(4/(-3)) gives about -53.13°, but atan2(4, -3) gives the correct 126.87° for a complex number in the second quadrant.

Complex Number to Rectangular Form Calculator

How do you convert polar form to rectangular form?

A complex number in polar form is written as r(cos θ + i sin θ), where r is the modulus (distance from the origin) and θ is the argument (angle). To convert to rectangular form a + bi, use the formulas: a = r cos(θ) and b = r sin(θ). The result is the complex number a + bi. For example, 5 at 53.13° gives a = 5 cos(53.13°) = 3 and b = 5 sin(53.13°) = 4, so the rectangular form is 3 + 4i.

What is rectangular form of a complex number?

Rectangular form (also called Cartesian form or standard form) expresses a complex number as a + bi, where a is the real part and b is the imaginary part. For instance, 3 + 4i has real part 3 and imaginary part 4. This form is useful for addition and subtraction of complex numbers. The name 'rectangular' comes from the fact that a and b are the horizontal and vertical coordinates of the number on the complex plane.

What is the difference between polar and rectangular form?

Polar form describes a complex number by its distance from the origin (modulus r) and the angle it makes with the positive real axis (argument θ), written as r∠θ or r(cos θ + i sin θ). Rectangular form uses two Cartesian coordinates: the real part a and the imaginary part b, written as a + bi. Polar form is convenient for multiplication and division of complex numbers (you multiply moduli and add arguments). Rectangular form is simpler for addition and subtraction (you add the real and imaginary parts separately).

Complex Root Calculator

How do you find the nth roots of a complex number?

To find the nth roots of a complex number z = a + bi, first convert to polar form: r = sqrt(a^2 + b^2) and theta = atan2(b, a). The n distinct nth roots are given by De Moivre's theorem: z_k = r^(1/n) * (cos((theta + 2*pi*k)/n) + i*sin((theta + 2*pi*k)/n)) for k = 0, 1, 2, ..., n-1. Each root has the same modulus r^(1/n) but their arguments are evenly spaced 2*pi/n radians apart around the origin.

How many nth roots does a complex number have?

Every non-zero complex number has exactly n distinct nth roots in the complex plane. For example, a square root has 2 roots, a cube root has 3 roots, and so on. These roots are equally spaced on a circle of radius r^(1/n) in the Argand diagram. This is a consequence of the Fundamental Theorem of Algebra: the equation z^n = c has exactly n solutions (counting multiplicity) in the complex numbers.

What is De Moivre's theorem?

De Moivre's theorem states that for any complex number in polar form r*(cos(theta) + i*sin(theta)) and any integer n: (r*(cos(theta) + i*sin(theta)))^n = r^n * (cos(n*theta) + i*sin(n*theta)). This theorem is named after Abraham de Moivre (1667-1754) and is fundamental to working with powers and roots of complex numbers. It connects complex numbers to trigonometry and is a direct consequence of Euler's formula e^(i*theta) = cos(theta) + i*sin(theta).

Compressibility Factor (Z) Calculator

What is the compressibility factor Z?

The compressibility factor Z (also called the compression factor or gas deviation factor) measures how much a real gas deviates from ideal gas behaviour. It is defined as Z = PV / (nRT), where P is pressure, V is volume, n is the number of moles, R is the universal gas constant, and T is absolute temperature. An ideal gas always has Z = 1. A value below 1 means the gas is more compressible than ideal (attractive intermolecular forces dominate), while a value above 1 means it is less compressible than ideal (repulsive forces dominate at very high pressures).

What units does this calculator use?

You can enter pressure in atmospheres (atm) or pascals (Pa), volume in litres (L) or cubic metres (m3), and temperature in Kelvin (K) or Celsius (degC). The calculator converts everything to SI base units internally and uses R = 8.314462 J/(mol K) for Pa/m3 calculations or R = 0.082057 L atm/(mol K) for atm/L calculations. Temperature in Celsius is converted to Kelvin by adding 273.15.

When is Z less than 1 and when is it greater than 1?

At moderate pressures, Z is typically less than 1 for most real gases because attractive intermolecular forces pull molecules together, reducing the pressure the gas exerts compared to an ideal gas (meaning a smaller volume than ideal). At very high pressures, Z rises above 1 because molecules are forced close enough that their finite size and repulsive forces become dominant, making the gas harder to compress than an ideal gas. At very low pressures and high temperatures, all gases approach ideal behaviour and Z approaches 1.

Confusion Matrix Calculator

What is a confusion matrix?

A confusion matrix is a table used to evaluate the performance of a classification model. It compares the actual class labels against the predicted labels and organises the results into four cells: true positives (TP) where the model correctly predicted the positive class, true negatives (TN) where it correctly predicted the negative class, false positives (FP) where it incorrectly predicted positive when the actual class was negative, and false negatives (FN) where it incorrectly predicted negative when the actual class was positive. These four values are used to derive all standard classification performance metrics.

What is the difference between precision and recall?

Precision measures how often the model is right when it predicts positive: TP / (TP + FP). A high precision means few false alarms. Recall (also called sensitivity) measures how many actual positives the model correctly identified: TP / (TP + FN). A high recall means few positive cases are missed. There is often a trade-off between the two: tuning a model to be more conservative reduces false positives (raises precision) but may miss more true positives (lowers recall). The F1 score is the harmonic mean of both and balances them into a single metric.

When should I use the F1 score versus accuracy?

Accuracy is the proportion of all predictions that are correct: (TP + TN) / (TP + FP + FN + TN). It is most useful when the classes in your dataset are roughly balanced. When classes are imbalanced (for example, a fraud detection model where 99% of transactions are legitimate), a model that always predicts the majority class can achieve very high accuracy while being useless. In imbalanced scenarios, the F1 score or Matthews correlation coefficient (MCC) are better indicators because they account for both false positives and false negatives relative to the class distribution.

Continued Fraction Calculator NZ

What is a continued fraction?

It is a way of writing a number as a whole part plus a fraction whose denominator is again a whole part plus a fraction, nesting down. Written as a list of whole numbers, it captures the number's structure and yields the best rational approximations.

Why are continued fractions good for approximations?

Truncating a continued fraction gives a convergent, which is the closest fraction to the original number for any denominator that size or smaller. This is why 355 over 113 approximates pi so well: it is a convergent of pi's continued fraction.

Do all numbers have a continued fraction?

Yes. Rational numbers, exact fractions, give a continued fraction that ends after finitely many terms. Irrational numbers give an unending continued fraction, which this calculator truncates at the number of terms you choose, producing successively better approximations.

Crop Factor Calculator

What is crop factor in photography?

Crop factor (also called focal length multiplier) is the ratio of the diagonal of a full-frame 35 mm sensor (43.27 mm) to the diagonal of a smaller sensor. It tells you how much of the image circle a lens produces is actually captured. A crop factor of 1.5x means the sensor diagonal is 1.5 times smaller than full frame, so a 50 mm lens behaves like a 75 mm lens in terms of field of view. APS-C sensors typically have a crop factor of around 1.5x to 1.6x, Micro Four Thirds sensors 2x, and 1-inch sensors about 2.7x.

How do I calculate equivalent focal length?

Equivalent focal length = actual focal length x crop factor. For example, a 50 mm lens on an APS-C camera with a crop factor of 1.5 gives an equivalent focal length of 75 mm on full frame. This means the field of view matches what a 75 mm lens would produce on a full-frame camera. The physical focal length of the lens does not change; only the portion of the image circle captured by the sensor changes.

Does crop factor affect aperture and depth of field?

Crop factor does not change the physical aperture of a lens, but it does affect the equivalent depth of field when comparing systems. To get the same depth of field on a cropped sensor as on full frame, you multiply the f-number by the crop factor. For example, f/1.8 on an APS-C sensor (crop factor 1.5) gives equivalent depth of field to roughly f/2.7 on full frame. The actual light gathering (exposure) is unchanged by the crop factor; only the depth of field comparison differs between sensor sizes.

Cross Multiplication Calculator

What is cross multiplication?

Cross multiplication is a method for solving proportions of the form a/b = c/d. You multiply the numerator of each fraction by the denominator of the other: a times d equals b times c. This gives you a linear equation that you can rearrange to find whichever of the four values is unknown.

How do you solve 3/4 = x/12?

Cross multiply: 3 times 12 equals 4 times x. 36 equals 4x. Divide both sides by 4: x equals 9. You can verify by checking that 3/4 and 9/12 are equivalent fractions, which they are since 9/12 simplifies to 3/4.

When does cross multiplication not work?

Cross multiplication requires that neither denominator (b or d) is zero, since dividing by zero is undefined. If you set x as the unknown in a denominator position and the opposite numerator is also zero, the equation has infinitely many solutions. This calculator flags these cases rather than producing a misleading result.

Cubic Equation Calculator

How many roots does a cubic have?

Three, counted with multiplicity. With real coefficients that is either three real roots, or one real and a complex conjugate pair.

How are the roots found?

Numerically, with the Durand-Kerner method, which converges to all roots at once, real or complex.

Does a cubic always have a real root?

Yes. A real cubic crosses the x axis at least once, so it always has at least one real solution.

Cubic Equation Solver

How many roots does a cubic equation always have?

A cubic equation always has exactly three roots (counting multiplicity) over the complex numbers. These may be three distinct real roots, one real root and two complex conjugate roots, or a repeated real root combined with another real root. The nature of the roots is determined by the discriminant: if the discriminant is positive, there are three distinct real roots; if zero, there is a repeated root; if negative, there is one real root and two complex conjugate roots.

What is Cardano's method for solving cubic equations?

Cardano's method (published in Ars Magna, 1545) solves the depressed cubic t³ + pt + q = 0 by substituting t = u + v and deriving u³ and v³ as roots of a quadratic. Any general cubic ax³ + bx² + cx + d = 0 is first converted to a depressed cubic by substituting x = t - b/(3a). The discriminant D = -4p³ - 27q² determines the root types: D > 0 gives three distinct real roots, D = 0 gives repeated roots, and D < 0 gives one real and two complex conjugate roots.

What is the difference between real and complex roots?

A real root is a value of x that satisfies the equation and lies on the real number line. A complex root has the form a + bi where b is not zero (i is the square root of -1). For a cubic with real coefficients, complex roots always appear in conjugate pairs, so if a + bi is a root then a - bi is also a root. This means a cubic with real coefficients always has at least one real root.

Decimal to Fraction Calculator

How do you convert a decimal to a fraction?

Write the decimal digits over a power of ten that matches the number of decimal places, then divide the numerator and denominator by their greatest common divisor to reduce to lowest terms. For example, 0.75 is 75 over 100, and dividing both by 25 gives 3 over 4.

What is 0.75 as a fraction?

0.75 is equal to 3/4. It has two decimal places, so it starts as 75 over 100. The greatest common divisor of 75 and 100 is 25, so dividing both by 25 gives the simplified fraction 3 over 4.

Can this calculator convert decimals greater than one?

Yes. A decimal such as 2.75 is shown as the improper fraction 11 over 4 and also as the mixed number 2 and 3 over 4. The whole number part is separated and the fractional part is reduced to lowest terms.

3x3 Determinant Calculator NZ

How do you find the determinant of a 3x3 matrix?

Use cofactor expansion along the top row: multiply each top-row entry by the determinant of the 2 by 2 matrix left when its row and column are removed, with alternating plus and minus signs, then add the results. This calculator applies the formula a(ei - fh) - b(di - fg) + c(dh - eg).

What does the determinant tell me?

It reveals whether the matrix is invertible: a non-zero determinant means yes and that a related linear system has a unique solution, while zero means the matrix is singular. Geometrically, it is the signed volume of the parallelepiped formed by the matrix's column vectors.

What does a determinant of zero mean?

The matrix is singular and has no inverse. Its columns are linearly dependent, collapsing the volume to zero, and a system of equations using it has either no solution or infinitely many. This calculator flags when the matrix is singular.

Diagonalize Matrix Calculator

What does it mean to diagonalize a matrix?

Diagonalizing a square matrix A means finding a diagonal matrix D and an invertible matrix P such that A = PDP^-1. The columns of P are the eigenvectors of A, and the entries of D are the corresponding eigenvalues in the same order. A matrix is diagonalizable only if it has enough linearly independent eigenvectors to fill P, which for an n by n matrix means n independent eigenvectors.

Why do some matrices fail to diagonalize?

A matrix fails to diagonalize (over the real numbers) when it does not have enough linearly independent eigenvectors, or when its eigenvalues are complex. This commonly happens with repeated (defective) eigenvalues where the eigenspace has a smaller dimension than the eigenvalue's multiplicity, such as a matrix with a repeated eigenvalue but only one independent eigenvector. Rotation matrices with no real eigenvalues also cannot be diagonalized over the reals.

What is diagonalization used for?

Diagonalization simplifies repeated matrix operations. Once A = PDP^-1, computing A raised to the power k becomes PD^kP^-1, and since D is diagonal, raising it to a power just means raising each diagonal entry to that power. This is used in solving systems of linear differential equations, analysing Markov chains, computing matrix exponentials, and studying long-term behaviour of dynamical systems.

Digit Sum Calculator

What is a digit sum?

The total you get by adding all the digits of a number, for example 1 + 2 + 3 = 6 for 123.

What is the digital root?

The single digit reached by repeatedly summing the digits. For 12345 it is 6.

How does this check divisibility by 9?

A number is divisible by 9 exactly when its digit sum is, which is why the digital root of a multiple of 9 is 9.

Digital Root Calculator

What is a digital root?

A digital root is the single digit you get by repeatedly adding together the digits of a number until only one digit remains. For example, the digital root of 12345 is found by adding 1+2+3+4+5 = 15, then adding 1+5 = 6. So the digital root of 12345 is 6. Digital roots are always a whole number from 0 to 9.

Is there a shortcut formula for digital root?

Yes. For any positive whole number n, the digital root equals 1 + (n minus 1) mod 9, except that a digital root of 0 only occurs when n is 0. In practice this means the digital root is the remainder when the number is divided by 9, except that multiples of 9 (other than 0) have a digital root of 9 rather than 0. This shortcut works because 10 is congruent to 1 modulo 9, so each digit contributes its own value to the remainder regardless of its place value.

What is the digital root used for?

Digital roots are mainly used to teach number theory and modular arithmetic, and as a quick mental check for arithmetic errors (casting out nines). If two numbers have different digital roots, their sum, difference or product will not match the digital root you would expect, which flags a possible mistake. Digital roots also appear in recreational maths, numerology, and some checksum and puzzle contexts, though they have no predictive or scientific meaning beyond arithmetic.

Dilution Factor Calculator

What is a dilution factor?

A dilution factor (DF) is the ratio of the final volume of a diluted solution to the volume of stock solution used, expressed as DF = V2 / V1. A dilution factor of 10 (often written 1:10) means the final solution is 10 times more dilute than the original stock, made by combining 1 part stock with 9 parts diluent to reach 10 total parts.

How do I calculate the volume of diluent to add?

First find the required stock volume using C1V1 = C2V2, rearranged to V1 = (C2 x V2) / C1, where C1 is the stock concentration, C2 is the target working concentration, and V2 is the final volume you want. The volume of diluent to add is then Diluent = V2 - V1. For example, to make 100 mL of a 2% solution from a 10% stock, V1 = (2 x 100) / 10 = 20 mL of stock, plus 80 mL of diluent.

What is the difference between dilution factor and dilution ratio?

The dilution factor (DF) compares the final volume to the stock volume (V2/V1), for example a DF of 5 for 1 part stock in a 5-part total. The dilution ratio is often written as stock:diluent, for example 1:4, meaning 1 part stock combined with 4 parts diluent to make 5 total parts. Both describe the same dilution, just expressed differently, so it pays to check which convention a protocol is using before you mix a solution.

Serial Dilution Calculator NZ

What is a serial dilution?

It is the process of diluting a solution by a fixed factor repeatedly, taking a small sample at each step and diluting it again. This produces a series of decreasing concentrations spanning many orders of magnitude, used for calibration curves and counting cells or bacteria.

How do I find the concentration after several steps?

Divide the stock concentration by the dilution factor raised to the power of the number of steps. A tenfold factor over five steps divides the stock by ten to the fifth. This calculator lists the concentration at every step for you.

Why use serial dilution instead of diluting directly?

Because it is far more accurate for reaching low concentrations. Making a very dilute solution directly from a strong stock requires pipetting a tiny, error-prone volume. Diluting step by step uses manageable volumes at each stage, giving precise concentrations across a wide range.

Dividing Exponents Calculator

What is the rule for dividing exponents?

When you divide two powers with the same base, you subtract the exponents and keep the base: a^m divided by a^n equals a^(m-n). For example, 2^5 divided by 2^2 equals 2^(5-2), which is 2^3, or 8. This is called the quotient of powers rule. It only applies directly when the bases are identical. If the bases are different, you calculate each power separately and then divide the results.

What happens when the exponent becomes negative or zero?

If subtracting the exponents gives zero, the result is 1, since any non-zero base raised to the power of zero equals 1 (for example, 5^3 divided by 5^3 equals 5^0, which is 1). If subtracting the exponents gives a negative number, the result is a fraction: a^-n equals 1 divided by a^n. For example, 2^2 divided by 2^5 equals 2^-3, which equals 1/8 or 0.125.

Can you divide exponents with different bases?

Yes, but the quotient of powers shortcut (subtracting exponents) only works when the bases match. With different bases, such as 3^4 divided by 2^3, you work out each power separately (3^4 = 81 and 2^3 = 8) and then divide the results (81 / 8 = 10.125). There is no single exponent rule that simplifies this further unless the bases share a common factor that can be rewritten.

Dividing Fractions Calculator

How do you divide fractions?

To divide fractions, use the keep, change, flip method. Keep the first fraction as it is, change the division sign to a multiplication sign, and flip (find the reciprocal of) the second fraction by swapping its numerator and denominator. Then multiply the numerators together and multiply the denominators together. Finally, simplify the result by dividing numerator and denominator by their greatest common divisor (GCD). For example, 1/2 divided by 1/3 becomes 1/2 x 3/1 = 3/2.

Why do you flip the second fraction when dividing?

Dividing by a fraction is the same as multiplying by its reciprocal because division is the inverse of multiplication. Any number divided by a fraction a/b gives the same answer as that number multiplied by b/a. This works because a fraction and its reciprocal multiply to give 1 (for example, 2/3 x 3/2 = 1), so flipping and multiplying cancels out the division cleanly and gives an equivalent calculation that is easier to carry out.

How do you divide mixed numbers?

To divide mixed numbers, first convert each mixed number to an improper fraction. Multiply the whole number by the denominator, add the numerator, and place the result over the original denominator. For example, 1 3/4 becomes (1 x 4 + 3)/4 = 7/4. Then apply the keep, change, flip method to the two improper fractions. Convert the result back to a mixed number if needed by dividing the numerator by the denominator: the quotient is the whole part and the remainder is the numerator of the fractional part.

Drag Equation Calculator

What is the drag equation?

The drag equation is F = 0.5 x rho x v^2 x Cd x A, where F is the drag force in newtons, rho is the density of the fluid in kilograms per cubic metre, v is the speed of the object relative to the fluid in metres per second, Cd is the dimensionless drag coefficient describing the shape, and A is the frontal (cross-sectional) area in square metres facing the flow. It is the standard model used in physics and engineering to estimate aerodynamic or hydrodynamic resistance.

How do you solve the drag equation for speed?

Rearranging F = 0.5 x rho x v^2 x Cd x A for speed gives v = square root of (2F divided by (rho x Cd x A)). This is useful when you know the drag force an object can withstand or produce and want to find the speed at which that force occurs, such as estimating a vehicle's top speed from its available engine power and drag profile.

Why does drag force depend on speed squared?

Drag force depends on speed squared because two effects both scale with speed: the rate at which the object encounters fluid mass increases with speed, and the momentum transferred to each parcel of fluid also increases with speed. Multiplying these two speed-dependent effects together gives a v^2 relationship, so doubling speed quadruples drag force and increases the power needed to overcome it eightfold.

Drake Equation Calculator

What is the Drake Equation?

The Drake Equation is a probabilistic argument written by astronomer Frank Drake in 1961 to estimate the number of active, communicating extraterrestrial civilisations in the Milky Way galaxy. It multiplies seven factors together: the rate of star formation, the fraction of stars with planets, the number of habitable planets per system, the fraction of those that develop life, the fraction of life that becomes intelligent, the fraction of intelligent civilisations that develop detectable communication technology, and the length of time such civilisations release detectable signals. It is not a strict scientific formula with proven inputs, but a framework for organising the unknowns.

Why do Drake Equation estimates vary so widely?

Most of the seven factors cannot be measured directly and rely on assumptions. The star formation rate and fraction of stars with planets are now reasonably well constrained by astronomical surveys, but the fraction of habitable planets that develop life, develop intelligence, and develop detectable technology are essentially guesses. Because the equation multiplies all seven values together, small changes in the more speculative factors change the final result by orders of magnitude. Estimates in published literature range from far less than 1 to many millions.

What values did Frank Drake originally use?

At the 1961 Green Bank meeting, Drake and colleagues used illustrative values including a star formation rate of about 10 per year, a fraction of stars with planets of 0.5, an average of 2 habitable planets per system, a fraction developing life of 1, a fraction developing intelligence of 0.01, a fraction developing detectable technology of 0.01, and a civilisation communication lifespan of 10,000 years. These particular numbers gave a result of roughly 10 communicating civilisations, but Drake always described them as a starting point for discussion rather than a firm prediction.

Drake Equation for Love Calculator

What is the Drake Equation for love?

The Drake Equation for love is a playful adaptation of Frank Drake's 1961 equation for estimating the number of contactable alien civilisations in the galaxy. Instead of astronomical variables, it multiplies a starting population by a series of fractions: the share in your age range, the share who match your gender or orientation preference, the share within reasonable travelling distance, the share who are single and looking, and the share you might be mutually compatible with. The result is a rough, order-of-magnitude estimate of your realistic dating pool, not a precise prediction.

Is this calculator scientifically accurate?

No, and it is not meant to be. Like the original Drake Equation, most of the input fractions are informed guesses rather than measured statistics. The value of the exercise is in breaking an overwhelming question (how many potential partners exist for me) into smaller, more answerable parts, and seeing how sensitive the final number is to each assumption. Small changes in the compatibility or distance filters can shift the result by orders of magnitude, which is itself a useful insight.

Why does the result change so much when I adjust one slider?

Because the calculation multiplies several fractions together rather than adding them. When you multiply numbers smaller than one, each additional filter shrinks the result multiplicatively. A population of a million people can shrink to a few hundred after five or six realistic filters are applied. This is the same mathematical behaviour that makes the original Drake Equation so sensitive to assumptions about the fraction of planets that develop intelligent life.

Equation of a Line Calculator

How do you find the equation of a line through two points?

Given two points (x1, y1) and (x2, y2), first calculate the slope: m = (y2 - y1) / (x2 - x1). Then substitute one point and the slope into y = mx + b and solve for b: b = y1 - m * x1. The equation is then y = mx + b. For example, through (1, 3) and (4, 9): slope m = (9 - 3) / (4 - 1) = 2, y-intercept b = 3 - 2 * 1 = 1, so the equation is y = 2x + 1.

What is slope-intercept form and how is it different from standard form?

Slope-intercept form is y = mx + b, where m is the gradient (slope) and b is the y-intercept. It is the most convenient form for reading off those two values directly. Standard form (also called general form) is Ax + By = C, where A, B, and C are integers and A is positive. To convert y = 2x + 1 to standard form, rearrange to 2x - y = -1, or equivalently -2x + y = 1 (multiply through by -1 to make A positive): 2x - y = -1. Point-slope form is y - y1 = m(x - x1), which is useful when you know a point on the line and the slope but have not yet found the y-intercept.

What happens when the two points have the same x-coordinate?

If both points share the same x-coordinate (for example (3, 2) and (3, 7)), the line is perfectly vertical. Vertical lines cannot be expressed in slope-intercept or point-slope form because the slope is undefined (division by zero). Their equation is simply x = 3 (using that x-coordinate). Similarly, if both points share the same y-coordinate the line is horizontal with slope 0 and equation y = b.

Exponent Calculator

What is an exponent?

An exponent tells you how many times to multiply the base by itself. In 2 to the power of 3, the base is 2 and the exponent is 3, so it is 2 times 2 times 2, which is 8.

What does a negative exponent mean?

A negative exponent means one divided by the base raised to the positive power. So 2 to the power of minus 3 is 1 divided by 8, which is 0.125. The calculator handles negative exponents.

What is a number to the power of zero?

Any non zero number to the power of zero is 1. This keeps the rules of exponents consistent. The calculator returns 1 for any base raised to zero.

Exponential Growth & Decay Calculator NZ

What is exponential growth?

Exponential growth is when a quantity increases by a fixed percentage of its current size each period, so it multiplies rather than adds. This makes it start slowly then accelerate sharply. Compound interest, populations and viral spread all follow this pattern.

What is doubling time?

Doubling time is how long a growing quantity takes to double. For steady exponential growth it stays constant no matter how large the quantity gets, and equals the natural log of two divided by the natural log of the growth factor. For decay, the equivalent is the half-life.

How do I model decay?

Enter a negative rate, such as minus 10 percent, for decay. The quantity then shrinks by that percentage each period, falling quickly at first and tailing off. The calculator shows the half-life, the time for the quantity to fall to half its value.

Factorial Calculator

What is a factorial?

The factorial of a number, written with an exclamation mark, is the product of every whole number from 1 up to it. So 5 factorial is 5 times 4 times 3 times 2 times 1, which is 120. Factorials count the ways things can be arranged.

What is zero factorial?

Zero factorial is defined as 1. There is exactly one way to arrange nothing, so the convention keeps the maths of combinations and permutations consistent.

Why do factorials get so large?

Each step multiplies by a larger number, so factorials grow extremely fast. By 20 factorial the result is already over two quintillion, which is why very large factorials are shown in scientific notation.

Factorial Trailing Zeros Calculator

Why count factors of 5, not 10?

A trailing zero needs a factor of 10, which is 5 times 2. Factors of 2 are plentiful, so the number of 5s sets the limit.

How many zeros does 100! end in?

24, from 20 multiples of 5 plus 4 extra from multiples of 25.

Do I need the actual factorial?

No. The count uses only divisions of n, so it works for huge n instantly.

Factoring Calculator

What does factoring a quadratic mean?

Factoring a quadratic ax squared plus bx plus c means rewriting it as a product of two binomials of the form (px plus q)(rx plus s). The two roots of the quadratic are the values of x that make each factor zero. For example, x squared minus 5x plus 6 factors to (x minus 2)(x minus 3), giving roots x equals 2 and x equals 3.

When can a quadratic not be factored over the integers?

A quadratic cannot be factored into two binomials with real coefficients when the discriminant b squared minus 4ac is negative. This means the parabola does not cross the x axis and the roots are complex numbers. The calculator flags this case and returns the discriminant so you can see why factoring fails.

What is the difference between factoring and using the quadratic formula?

Factoring rewrites the expression as a product of simpler terms, which is useful for simplifying rational expressions and understanding the structure of the polynomial. The quadratic formula gives you the numeric roots directly but does not show the factored form. Both methods give the same roots; this calculator shows both.

Fermat Number Calculator

What is a Fermat number?

A number of the form 2 to the power 2 to the n, plus 1. The first five are 3, 5, 17, 257 and 65537.

Are all Fermat numbers prime?

No. Fermat thought so, but Euler found that F_5 is composite. Only the first five are known to be prime.

Why do Fermat numbers matter?

A regular polygon is constructible with ruler and compass only if its number of sides involves distinct Fermat primes.

Fibonacci Sequence Calculator NZ

What is the Fibonacci sequence?

It is a series where each number is the sum of the two before it, starting from 0 and 1: 0, 1, 1, 2, 3, 5, 8, 13 and so on. It appears throughout nature and mathematics and is closely linked to the golden ratio.

As the sequence grows, the ratio of each term to the one before it gets closer and closer to the golden ratio, approximately 1.618. This calculator shows that ratio so you can watch it converge as you add more terms.

Why is the number of terms capped?

Fibonacci numbers grow exponentially and quickly exceed the range where ordinary arithmetic stays exact. Capping the number of terms keeps every value precise and the output readable, while still showing the pattern and the golden-ratio convergence clearly.

Five Number Summary Calculator

What is a five number summary?

The five number summary describes a data set using five key values: the minimum (smallest value), the first quartile Q1 (25th percentile), the median Q2 (50th percentile), the third quartile Q3 (75th percentile), and the maximum (largest value). Together they give a compact picture of the centre, spread, and range of the distribution.

What is a five number summary used for?

The five number summary is the foundation of the box-and-whisker plot, which is one of the most widely used charts for visualising data distributions. It quickly conveys where data are concentrated (the box from Q1 to Q3) and how far the tails extend. It also shows the range and makes it easy to spot asymmetry in the distribution.

How does the five number summary differ from the mean and SD?

The five number summary uses medians and quartiles, which are resistant to the influence of outliers. The mean and standard deviation can be heavily distorted by a single extreme value. For skewed data or data with outliers, the five number summary often gives a more informative picture of the typical value and spread.

Fraction to Decimal Calculator

How do you convert a fraction to a decimal?

Divide the numerator by the denominator. For example, 3 divided by 4 is 0.75. If the division produces a remainder that cycles back to a previous state, the decimal is recurring; otherwise it terminates.

What is 3/4 as a decimal and percentage?

3 divided by 4 equals 0.75 as a decimal. Multiplied by 100 that is 75%, so 3/4, 0.75, and 75% all represent the same value.

What is a recurring decimal?

A recurring (or repeating) decimal is one where a digit or group of digits repeats infinitely after the decimal point. For example, 1/3 equals 0.333... and 1/7 equals 0.142857142857... The fraction 1/3 has a denominator whose only prime factors include 3, not just 2 or 5, which is why it cannot terminate.

GCD & LCM Calculator NZ

What is the difference between GCD and LCM?

The greatest common divisor is the largest number that divides evenly into all your numbers, used to simplify fractions and find equal groupings. The lowest common multiple is the smallest number all of them divide into, used for common denominators and finding when cycles coincide.

How is the GCD of a list found?

The calculator finds the GCD of the first two numbers using the Euclidean algorithm, then finds the GCD of that result with the next number, and so on through the list. This pairwise approach gives the GCD of all the numbers efficiently.

What is the Euclidean algorithm?

It is an efficient method for finding the greatest common divisor of two numbers by repeatedly replacing the larger with the remainder of dividing the two, until one becomes zero. The other number is then the GCD. It is much faster than listing all the factors.

GCF and LCM Calculator

What is the greatest common factor?

The greatest common factor, or GCF, is the largest whole number that divides into all the numbers with no remainder. For 12 and 18 it is 6. It is used to simplify fractions and ratios.

What is the lowest common multiple?

The lowest common multiple, or LCM, is the smallest number that all the numbers divide into. For 4 and 6 it is 12. It is used to add fractions with different denominators.

For two numbers, the GCF times the LCM equals the product of the two numbers. So once you know one, you can find the other. The calculator works out both directly for any list.

Geometric Mean Calculator NZ

When should I use the geometric mean?

Use it for quantities that compound or are multiplicative: investment returns over time, growth rates, ratios and index numbers. The arithmetic mean overstates the average in these cases, while the geometric mean correctly accounts for the way each period builds on the last.

Why must the numbers be positive?

The geometric mean involves multiplying the values and taking a root, which is not defined for negative numbers or zero in the usual real sense. For growth rates that can be negative, enter each period as a multiplier instead, so a 10 percent fall becomes 0.90.

Why is the geometric mean lower than the arithmetic mean?

For any set of positive numbers that are not all equal, the geometric mean is always less than the arithmetic mean, a result known as the AM-GM inequality. The more spread out the values, the larger the gap. They are equal only when every value is the same.

Geometric Sequence Calculator

What is a geometric sequence?

A geometric sequence (also called a geometric progression) is a list of numbers where each term is found by multiplying the previous term by the same fixed value, called the common ratio r. For example, 2, 6, 18, 54, 162 is a geometric sequence with first term 2 and common ratio 3. The nth term is given by a times r to the power of (n minus 1).

What is the formula for the sum of a geometric sequence?

The sum of the first n terms is S(n) = a times (1 minus r to the n) divided by (1 minus r) when r is not equal to 1. When r equals 1, all terms equal a and the sum is simply n times a. When the absolute value of r is less than 1, the infinite series also has a finite sum given by a divided by (1 minus r).

When does an infinite geometric series converge?

An infinite geometric series converges (has a finite sum) when the absolute value of the common ratio r is less than 1. In that case the terms get smaller and smaller and approach zero, so adding infinitely many of them gives a finite result: a divided by (1 minus r). When the absolute value of r is 1 or greater, the terms do not shrink to zero and the series diverges.

Geometric Series Calculator

What is a geometric series?

The sum of a geometric sequence, where each term is the previous times a constant ratio r.

When does the infinite sum exist?

Only when the absolute value of r is less than 1. Then the infinite sum is a1 divided by (1 minus r).

What is the finite sum formula?

a1 times (1 minus r to the n) over (1 minus r), valid whenever r is not 1.

Harmonic Sequence Calculator

What is a harmonic sequence?

A sequence whose reciprocals form an arithmetic sequence, such as 1, 1/2, 1/3, 1/4.

How do I find a term?

Work with the reciprocals, which increase by a fixed amount, find the one you want, then take its reciprocal.

Is there a simple sum formula?

No neat closed form exists for the sum of a harmonic series; it has to be added up term by term.

Harshad Number Calculator

What is a Harshad number?

A number divisible by the sum of its digits, such as 18, since 1 + 8 = 9 divides 18.

Is every small number Harshad?

Every one digit number is, because a number always divides itself. Larger ones vary.

Why is it also called a Niven number?

After Ivan Niven, who discussed them in a 1977 talk. Harshad is the older name from Kaprekar.

Inverse Variation Calculator

What is inverse variation?

A relationship where y = k / x, so the product of x and y is the constant k.

How do I find k?

Multiply a known x by its matching y. That product is the same for every pair.

What is an everyday example?

Speed and time for a fixed distance: go twice as fast and the trip takes half as long.

Kinematic Equations Calculator

What are the SUVAT equations?

SUVAT is the set of equations for motion with constant acceleration, linking displacement s, initial velocity u, final velocity v, acceleration a and time t. The five letters give the method its name.

How many values do I need?

You need any three of the five. With three known values the calculator can find the remaining two using the standard equations of motion.

Does this assume constant acceleration?

Yes. The SUVAT equations only apply when acceleration is constant, such as free fall near the Earth or steady braking. They do not handle changing acceleration.

Kinematic Equations (SUVAT) Solver

What are the five SUVAT equations?

The five kinematic equations of motion (SUVAT) are: (1) v = u + at, (2) s = ut + (1/2)at squared, (3) v squared = u squared + 2as, (4) s = (1/2)(u + v)t, and (5) s = vt - (1/2)at squared. Each equation links four of the five variables: s (displacement), u (initial velocity), v (final velocity), a (acceleration), and t (time). Given any three variables, you can always choose an equation that does not contain the fourth unknown variable and solve directly.

When can SUVAT equations be used?

SUVAT equations apply only when acceleration is constant (uniform acceleration) throughout the motion. They are used in classical mechanics for problems such as free fall under gravity (a = 9.81 m/s squared downward), a car braking at a steady rate, or a ball rolled along a frictionless surface. They do not apply when acceleration is changing (for example, a rocket burning fuel, or circular motion where direction is continuously changing).

What sign convention should I use for SUVAT problems?

Choose a positive direction at the start and keep it consistent throughout the problem. For example, if you define upward as positive, then a ball thrown upward has positive initial velocity, acceleration due to gravity is negative (-9.81 m/s squared), and displacement above the starting point is positive while displacement below is negative. Entering a negative value in the solver correctly handles deceleration, downward motion, or reverse displacement.

Lens and Mirror Equation Calculator

What is the thin lens equation?

The thin lens equation is 1/f = 1/do + 1/di, where f is the focal length, do is the object distance from the lens, and di is the image distance. A positive di means the image forms on the opposite side from the object (real image); a negative di means it forms on the same side as the object (virtual image).

What sign convention applies to mirrors?

For mirrors the same equation applies with the real-is-positive convention. Distances in front of the mirror are positive; distances behind the mirror are negative. A concave mirror has a positive focal length; a convex mirror has a negative focal length.

How is magnification calculated from the lens equation?

Lateral magnification M equals negative di divided by do. A value of negative 2 means the image is twice the object height and inverted. A positive M indicates an upright image; a magnitude greater than 1 means the image is enlarged compared with the object.

Linear Equation Calculator

How do I solve a linear equation?

Isolate the variable: move the constant to the other side, then divide by the coefficient. x = (c minus b) / a.

What if a is zero?

Then there is no x term. The equation is true for all x if b equals c, otherwise it has no solution.

Can it have more than one solution?

A genuine linear equation in one variable has exactly one solution, unless a is zero.

Logarithm Calculator

What is a logarithm?

A logarithm answers the question: to what power must the base be raised to get this number. Log base 10 of 1,000 is 3, because 10 to the power of 3 is 1,000. It is the reverse of an exponent.

What is the natural log?

The natural log, written ln, is the logarithm to base e, where e is about 2.718. It appears throughout maths, science, and finance, especially in growth and decay. The calculator shows it alongside log base 10.

How do I find a log to any base?

Use the change of base rule: the log of a number to a base equals the natural log of the number divided by the natural log of the base. The calculator does this automatically when you enter a base.

Logarithm Change of Base Calculator

What is the change of base formula?

The change of base formula states that log base b of x equals the natural log of x divided by the natural log of b: log_b(x) = ln(x) / ln(b). You can use any consistent base in numerator and denominator, so equivalently log_b(x) = log10(x) / log10(b). Most calculators only have ln and log10 buttons, so this formula is how you compute logarithms in other bases.

What is log base 8 of 32?

Using the change of base formula: log8(32) = ln(32) / ln(8). ln(32) = 5 x ln(2) and ln(8) = 3 x ln(2), so the result is 5/3, which is approximately 1.6667. You can verify: 8 to the power of 5/3 = (8 to the power 1/3) to the power 5 = 2 to the power 5 = 32. Correct.

Why do logarithms need a change of base?

Logarithms arise in different bases depending on the application: base 2 in computer science (binary), base 10 in engineering (decibels, pH), and base e (Euler's number) in calculus and natural growth models. Scientific calculators provide ln and log10 but not arbitrary bases. The change of base formula bridges this gap.

Long Multiplication Calculator

How does long multiplication work?

Long multiplication multiplies the top number by each digit of the bottom number separately, starting from the ones digit and moving left. Each partial product is written below the previous one, shifted one position to the left for each successive digit. The partial products are then added together to give the final answer.

What are carries in long multiplication?

When two digits multiply to give a result of 10 or more, the tens digit is carried over to the next column on the left. For example, 7 times 8 equals 56: write down 6 and carry 5. The carry is added to the next column's product. This is the same carry mechanism as in regular column addition.

Can long multiplication handle large numbers?

The traditional long multiplication algorithm works for any size of integer as long as you have enough paper (or, in this case, screen space). This calculator shows the working for up to 6-digit by 6-digit multiplications. For very large numbers beyond JavaScript's safe integer range, use the large number calculator instead.

Matrix Calculator NZ

How do I find the determinant of a 2x2 matrix?

For a matrix with top row a, b and bottom row c, d, the determinant is ad minus bc. It tells you whether the matrix is invertible: a non-zero determinant means an inverse exists, while a determinant of zero means the matrix is singular.

When does a matrix have no inverse?

When its determinant is zero. Such a matrix is called singular, its rows or columns are linearly dependent, and the system it represents has either no solution or infinitely many. This calculator tells you when the matrix is singular.

What is the inverse used for?

The inverse undoes the matrix, and is used to solve matrix equations like Ax equals b, where x equals the inverse of A times b. It appears in graphics transforms, statistics and engineering wherever a linear operation needs to be reversed.

Matrix Determinant Calculator

What is the determinant of a matrix?

The determinant is a single number computed from a square matrix that encodes several important properties. For a 2x2 matrix with entries a, b, c, d the determinant is ad minus bc. A non-zero determinant means the matrix is invertible (non-singular); a zero determinant means it is singular and has no inverse. Geometrically, the absolute value of the determinant equals the area (2x2) or volume (3x3) of the parallelogram or parallelepiped formed by the row vectors.

How is the 3x3 determinant calculated?

The standard method is cofactor expansion along the first row. For a 3x3 matrix with rows [a,b,c], [d,e,f], [g,h,i], the determinant is a(ei minus fh) minus b(di minus fg) plus c(dh minus eg). Each term multiplies a first-row element by the 2x2 determinant of the submatrix formed by deleting that element's row and column, with alternating plus and minus signs.

What does a zero determinant mean?

A zero determinant means the matrix is singular: its rows (or columns) are linearly dependent, meaning at least one row can be expressed as a combination of the others. Singular matrices cannot be inverted, and when used in a system of linear equations they indicate that the system has either no solution or infinitely many solutions rather than a unique one.

Matrix Inverse Calculator

How do you find the inverse of a 2x2 matrix?

For a 2x2 matrix [a, b; c, d], the determinant is det = ad minus bc. The inverse is (1/det) times [d, -b; -c, a]. The inverse exists only when det is not zero; if det equals zero the matrix is singular and has no inverse.

How do you find the inverse of a 3x3 matrix?

The inverse of a 3x3 matrix is found by computing the matrix of cofactors, transposing it to form the adjugate matrix, and dividing every element by the determinant. The determinant of a 3x3 matrix is computed by cofactor expansion along the first row. If the determinant is zero, the matrix is singular and has no inverse.

When does a matrix not have an inverse?

A square matrix has no inverse when its determinant is zero; it is then called a singular matrix. Geometrically this means the matrix collapses space along at least one dimension, making the transformation irreversible. Common causes include a row or column of zeros, two identical rows or columns, or one row being a linear combination of others.

Matrix Multiplication Calculator NZ

How do you multiply two matrices?

Each entry of the product comes from a row of the first matrix and a column of the second: multiply their corresponding elements and add. For 2 by 2 matrices, the top-left entry is the first row times the first column, and so on for the other three entries.

Does matrix multiplication commute?

No. In general, multiplying A by B gives a different result from B by A, unlike ordinary numbers. This is because matrices represent transformations, and the order in which they are applied matters. Always keep the matrices in the intended order.

What is matrix multiplication used for?

It composes transformations, so it is fundamental to computer graphics and game engines, the layers of neural networks, solving systems of equations, and physics. A single matrix product can represent a whole chain of operations applied in sequence.

Matrix Rank Calculator

What is the rank of a matrix?

The rank of a matrix is the number of linearly independent rows, which is the same as the number of independent columns. It tells you how much genuine information the matrix carries, after any rows that are combinations of others are removed.

How do you find the rank of a matrix?

Reduce the matrix to row echelon form using elementary row operations, then count the rows that are not entirely zero. That count is the rank. This calculator performs the row reduction for you and reports the result.

What does the rank tell you?

A matrix has full rank when its rank equals its smaller dimension; then it is invertible if square, and a system has a unique solution. A lower rank means rows or columns are dependent, so the matrix is singular and a system may have no or infinitely many solutions.

Mersenne Number Calculator

What is a Mersenne number?

A number of the form 2 to the power p, minus 1. When it is also prime it is called a Mersenne prime.

Why must p be prime?

If p is composite then 2^p minus 1 factors, so it cannot be prime. A prime p is necessary but not sufficient.

Why are the largest known primes Mersenne primes?

There is a very efficient primality test (Lucas-Lehmer) for Mersenne numbers, which makes searching them practical.

Mixed Numbers Calculator

What is a mixed number?

A mixed number combines a whole number and a proper fraction, such as 2 and a half (written as 2 1/2). It is equivalent to the improper fraction where the numerator is larger than the denominator: 2 1/2 equals 5/2. Mixed numbers are commonly used in everyday measurement, cooking and carpentry because they are easier to visualise than improper fractions.

How do you add mixed numbers?

To add two mixed numbers, convert each to an improper fraction by multiplying the whole number by the denominator and adding the numerator. Then find a common denominator, add the numerators, and convert the result back to a mixed number by dividing the numerator by the denominator to get the whole part and the remainder as the new numerator.

How do you multiply or divide mixed numbers?

To multiply mixed numbers, convert both to improper fractions and then multiply numerator by numerator and denominator by denominator. Simplify the resulting fraction and convert back to a mixed number. To divide, convert both to improper fractions and multiply the first by the reciprocal of the second (flip the second fraction) before simplifying.

Modular Arithmetic Calculator

What is modular arithmetic?

Arithmetic that wraps around after reaching a modulus m, like hours on a clock. The result is the remainder from 0 to m minus 1.

How are negatives handled?

They wrap to a positive residue, so minus 1 mod 12 is 11.

Where is it used?

Clocks and calendars, ISBN and card check digits, hashing, and cryptography.

Modular Exponentiation Calculator NZ

What is modular exponentiation?

It is raising a base to an exponent and taking the remainder modulo a number, written base to the power exp, mod m. It is central to public-key cryptography such as RSA and Diffie-Hellman, and to number theory, where large powers must be reduced modulo a number.

Why use fast exponentiation by squaring?

Because raising a number to a huge power directly would create an impossibly large number. Squaring by squaring, while taking the modulus at each step, keeps every value small and reduces the work to roughly the number of binary digits in the exponent, so even enormous exponents compute instantly.

How is this used in cryptography?

RSA and Diffie-Hellman both rely on modular exponentiation with very large numbers. Encrypting, decrypting and key exchange all involve raising numbers to large exponents modulo a large modulus, which is only practical because fast modular exponentiation makes the calculation efficient.

Modulo Calculator

What is the modulo operation?

The modulo operation finds the remainder left after dividing one number by another as many whole times as possible. Written as a mod b, it asks: after dividing a by b using only whole number division, what is left over? For example, 17 mod 5 is 2, because 5 goes into 17 three whole times (equalling 15) and leaves a remainder of 2.

What is the modulo used for?

Modulo is used widely in mathematics and computing. Common uses include testing whether a number is even or odd (a mod 2 equals 0 means even), checking divisibility, wrapping values around a range such as clock hours or array indices, generating cyclic sequences, hashing, and solving number theory problems like finding the GCD.

How does modulo work with negative numbers?

This calculator uses the mathematical convention where the remainder is always non-negative when the divisor is positive. The quotient is computed by flooring the division rather than truncating it. For example, -17 mod 5 gives a remainder of 3 and a quotient of -4, because -4 times 5 is -20, and -20 plus 3 is -17. Some programming languages use truncating division instead, which gives different results for negative inputs.

Mole Fraction Calculator NZ

What is mole fraction?

The mole fraction of a component is its number of moles divided by the total moles of all components in the mixture. It expresses composition as a proportion of molecules, has no units, and all the mole fractions in a mixture always sum to exactly one.

How is mole fraction different from mass percentage?

Mole fraction is based on numbers of moles, or molecules, while mass percentage is based on mass. Because chemical behaviour often depends on the number of molecules rather than their mass, mole fraction is preferred in many calculations, such as partial pressures and colligative properties.

How do I find moles from a mass?

Divide the mass of the substance by its molar mass. For example, 18 grams of water divided by its molar mass of about 18 grams per mole gives 1 mole. Once you have the moles of each component, this calculator gives their mole fractions.

Nernst Equation Calculator NZ

What is the Nernst equation?

It gives the potential of an electrochemical cell under non-standard conditions by correcting the standard potential for the reaction quotient and temperature. It subtracts the gas constant times temperature, over electrons times Faraday's constant, times the natural log of the quotient.

Why does a battery's voltage drop as it discharges?

As a battery discharges, products build up and reactants are consumed, raising the reaction quotient above one. The Nernst equation then subtracts a larger term from the standard potential, so the cell voltage falls. This calculator shows that effect.

What is the 0.0592 figure?

At 25 degrees Celsius, the gas constant times temperature over Faraday's constant, converted to base-ten logarithms, comes to about 0.0592 volts. So the Nernst equation simplifies to subtracting 0.0592 over the number of electrons, times the log of the quotient, the slope per tenfold change in Q.

nth Root Calculator

What is the nth root of a number?

The nth root of a number x is the value y such that y raised to the power n equals x. For example, the cube root (3rd root) of 125 is 5 because 5 cubed equals 125. The square root is the 2nd root, the cube root is the 3rd root, and so on for higher indices.

Can you find the nth root of a negative number?

When the root index n is odd, a negative number has a real nth root. For example, the cube root of negative 27 is negative 3 because negative 3 cubed equals negative 27. When n is even, a negative radicand produces a complex (imaginary) result, which this calculator flags rather than computing.

How do you calculate the nth root without a calculator?

The nth root of x equals x raised to the power of 1 divided by n. You can estimate it by trial and error: find two consecutive integers whose nth powers bracket x, then narrow down by testing values in between. For most purposes, a calculator or the formula x^(1/n) is far more practical.

Number Base Arithmetic Calculator

What bases can I use?

This tool offers base 2, 8, 12 and 16, the most common non-decimal bases in computing and maths.

What if I type an invalid digit?

The calculator flags it. Each digit must be smaller than the base, so 2 is not allowed in binary.

Why show the decimal too?

So you can check the result, since most people read decimal more easily than other bases.

Number to Words Calculator

How do you write a number in words?

Break the number into groups of three digits from the right, read each group as hundreds, tens and ones, and add the scale word like thousand, million or billion after each group. For example, 1,234 is one thousand two hundred thirty-four.

How do you write an amount on a cheque?

Write the dollars in words followed by the cents, for example one hundred and fifty dollars and twenty cents. Turn on the money option in this calculator and it formats the amount that way for you.

How do you write decimals in words?

Read the whole part normally, say the word point, then read each digit after the decimal point one at a time. So 3.14 is three point one four.

Partial Fractions Calculator NZ

What are partial fractions used for?

They break a complicated rational expression into a sum of simple fractions that are far easier to work with, especially for integration in calculus and inverse Laplace transforms in engineering. Each simple fraction integrates neatly to a natural logarithm.

What is the cover-up method?

It is a fast way to find the constants. To find the constant over the factor (x - a), you cover up that factor and evaluate what remains at x = a. This works because, at that value, the other terms vanish, leaving just the constant you want.

Why must the roots be different?

Distinct linear factors each get a single constant over them, which this calculator finds. Repeated factors, such as (x - a) squared, and irreducible quadratic factors need extra terms of a different form, so they require a more general method than the one used here.

Pell Number Calculator

What is the Pell sequence?

0, 1, 2, 5, 12, 29, 70 and so on, where each term is twice the previous plus the one before.

How do Pell numbers relate to the square root of two?

Ratios of Pell numbers and their companions give the best rational approximations to the square root of two.

What is the silver ratio?

1 plus the square root of two, about 2.414, the limit of consecutive Pell number ratios.

Percent of a Number Calculator

How do I find a percentage of a number?

Multiply the number by the percentage and divide by 100. So 15 percent of 200 is 200 times 15 divided by 100, which is 30. Alternatively convert the percentage to a decimal, 0.15, and multiply.

What percentage is one number of another?

Divide the first by the second and multiply by 100. So 15 is 7.5 percent of 200. This is a different question from finding 15 percent of 200, which is 30, and confusing the two is the most common percentage mistake.

Why does adding then removing a percentage not return the original?

Because the second calculation uses a larger base. Adding 15 percent to 200 gives 230, and 15 percent of 230 is 34.50 rather than 30, so removing it leaves 195.50. The same effect means two successive 10 percent discounts total 19 percent, not 20.

Percent to Fraction Converter

How do you convert a percentage to a fraction?

To convert a percentage to a fraction, write the percentage value over 100 to create the initial fraction, then simplify by dividing both numerator and denominator by their greatest common divisor. For example, 75% becomes 75/100, and since the GCD of 75 and 100 is 25, dividing both gives 3/4. For decimal percentages such as 62.5%, multiply numerator and denominator by a power of 10 to clear the decimal before simplifying.

What is 62.5% as a fraction?

62.5% expressed as a fraction is 5/8. The conversion works by writing 62.5/100, then multiplying numerator and denominator by 10 to remove the decimal: 625/1000. The GCD of 625 and 1000 is 125, so dividing both by 125 gives 5/8. As a decimal, 5 divided by 8 equals 0.625, which confirms the result.

Can all percentages be written as exact fractions?

All terminating decimal percentages (those with a finite number of decimal places, such as 62.5% or 33.33%) can be converted to exact fractions. Repeating decimals such as 33.333...% (which equals 1/3) can also be expressed as exact fractions, though they cannot be expressed as terminating decimals. This calculator handles percentages with up to several decimal places by scaling to an integer before simplifying.

Perfect Number Calculator

What is a perfect number?

A number equal to the sum of its proper divisors, like 6 = 1 + 2 + 3 and 28 = 1 + 2 + 4 + 7 + 14.

What are deficient and abundant numbers?

Deficient means the proper divisors add up to less than the number, abundant means they add up to more.

Are there odd perfect numbers?

None has ever been found, and whether any exist is a famous open question. All known perfect numbers are even.

Polynomial Long Division Calculator

How do I enter a polynomial?

List the coefficients from the highest power down to the constant, separated by commas. Use 0 for any missing power.

What is the remainder?

What is left over after dividing, with a degree lower than the divisor. A remainder of 0 means the divisor is a factor.

How is this checked?

Dividend equals divisor times quotient plus remainder. The pieces should rebuild the original.

Polynomial Roots Calculator

What is a root of a polynomial?

A root (also called a zero) of a polynomial is any value of x that makes the polynomial equal to zero. For a quadratic ax squared plus bx plus c, roots are the x-intercepts of the parabola. A cubic can have one, two, or three real roots.

How do you find the roots of a cubic polynomial?

This calculator uses the depressed cubic method. The cubic is first converted to depressed form by substituting x equals t minus b divided by 3a, then the cubic discriminant is evaluated. When it is positive there are three distinct real roots found via trigonometric identities; when it is zero there is a repeated root; when it is negative there is one real root and two complex conjugate roots.

What if my polynomial is quadratic, not cubic?

Set the cubic coefficient a to zero and the calculator automatically solves bx squared plus cx plus d equals zero. You can also solve a linear equation by setting both a and b to zero, leaving just cx plus d equals zero.

Power Factor Calculator

What is power factor?

Power factor is the ratio of real power, the watts that do useful work, to apparent power, the volt-amps the supply must deliver. It ranges from 0 to 1, and a value near 1 means the electrical supply is being used efficiently.

How do you calculate power factor?

Divide the real power in watts by the apparent power in volt-amps. Power factor also equals the cosine of the phase angle between voltage and current. For 800 watts and 1,000 volt-amps, the power factor is 0.8, a phase angle of about 37 degrees.

Why does power factor matter?

A low power factor means the supply carries extra current that does no useful work, causing losses and sometimes penalty charges for large users. Improving power factor, often with capacitors, reduces current, losses and cost for the same useful output.

Prime Counting Calculator

What is the prime counting function?

pi(n) is the number of primes less than or equal to n. For example pi(10) = 4, counting 2, 3, 5 and 7.

Is there a formula for pi(n)?

No simple closed form. The prime number theorem approximates it as n over the natural log of n, but exact counts use a sieve.

Why the two million limit?

The sieve needs an array of that size. Two million keeps it fast and memory light in the browser.

Prime Factorisation Calculator

What is a prime factorisation?

The unique set of prime numbers, with their powers, that multiply to give the number, for example 12 = 2 squared times 3.

Is the factorisation always unique?

Yes. The fundamental theorem of arithmetic says every integer above 1 has exactly one prime factorisation, apart from the order of the factors.

Why is the upper limit a billion?

The calculator uses trial division, which stays fast up to a billion. Much larger numbers need specialised algorithms.

Prime Factorization Calculator

What is prime factorization?

Prime factorization is writing a whole number as a product of prime numbers, the building blocks that cannot be divided further. For example, 60 is 2 times 2 times 3 times 5, or 2 squared times 3 times 5.

How do you find prime factors?

Divide the number by the smallest prime that goes into it, then keep dividing the result by primes until you reach 1. The primes you divided by are the factors. This calculator does that automatically.

What is the prime factorization used for?

It is used to simplify fractions, find the greatest common divisor and lowest common multiple, work with surds, and in number theory and cryptography. It is also a core skill in school maths.

Prime Number Checker

What is a prime number?

A prime number is a whole number greater than 1 that has exactly two distinct positive divisors: 1 and itself. Examples include 2, 3, 5, 7, 11, 13, 17, 19, and 23. The number 1 is not considered prime by definition. The number 2 is the only even prime; all other even numbers are composite because they are divisible by 2.

How does trial division work?

Trial division checks whether a number n has any divisors other than 1 and itself. You only need to test divisors up to the square root of n. If n has a factor larger than its square root, the corresponding paired factor must be smaller than the square root, so it would already have been found. This checker tests 2 first, then all odd numbers from 3 up to sqrt(n). If no divisor is found, the number is prime.

Is 1 a prime number?

No. The number 1 is not considered prime. By convention, prime numbers must be greater than 1 and have exactly two positive divisors. The number 1 has only one positive divisor (itself), so it does not meet this definition. Excluding 1 from the primes preserves the Fundamental Theorem of Arithmetic, which states that every integer greater than 1 can be expressed as a unique product of prime factors.

Prime Number Test Calculator

What makes a number prime?

It is a whole number above 1 whose only divisors are 1 and itself, such as 2, 3, 5, 7 and 11.

Is 1 prime?

No. By definition a prime has exactly two distinct divisors. The number 1 has only one, so it is neither prime nor composite.

How does the test work?

It tries dividing by 2 and the odd numbers up to the square root of n. If none divide evenly, n is prime.

Proposed Digital Services Tax Calculator NZ

Does New Zealand have a digital services tax?

No. A Digital Services Tax Bill proposing a 3 percent charge was introduced in 2023 and withdrawn on 20 May 2025, in favour of an internationally coordinated OECD solution. The bill was discharged rather than paused, so there is no digital services tax and none is currently before Parliament.

Why would a tax apply to revenue rather than profit?

Because the companies a digital services tax targets often report very little taxable profit in the countries where their users are, having attributed it elsewhere. Taxing revenue sidesteps that, at the cost of falling heavily on any business with a thin margin.

Would this affect a New Zealand small business?

Almost certainly not. Digital services taxes apply above both a global and a local revenue threshold, so they are aimed at a small number of very large multinationals. The threshold field lets you see the point at which the tax starts to apply.

Quadratic Equation Calculator

What is the quadratic formula?

The quadratic formula solves ax squared plus bx plus c equals zero. The roots are minus b, plus or minus the square root of b squared minus four a c, all over two a. The calculator applies it for you.

What is the discriminant?

The discriminant is b squared minus four a c. If it is positive there are two real roots, if zero there is one repeated root, and if negative the roots are complex. The calculator reports which case applies.

What if a is zero?

If a is zero the equation is no longer quadratic but linear, and the quadratic formula does not apply. Enter a non zero value for a to solve a quadratic.

Quadratic Form Calculator

What is a quadratic form?

A homogeneous degree two expression in the variables, here a x squared plus b xy plus c y squared.

What does positive definite mean?

The form is positive for every non-zero input, which corresponds to a genuine minimum in optimisation.

How is definiteness decided?

From the sign of a and the determinant of the symmetric matrix: both conditions together give definiteness; a negative determinant gives an indefinite (saddle) form.

Quadratic Formula Calculator

What is the quadratic formula?

The quadratic formula solves any equation of the form ax squared plus bx plus c equals zero. The two solutions are x equals negative b plus or minus the square root of the discriminant (b squared minus 4ac), all divided by 2a. The discriminant tells you how many real solutions exist: positive means two distinct real roots, zero means one repeated real root, and negative means no real roots (two complex roots).

What does the discriminant tell you?

The discriminant is b squared minus 4ac. If it is positive, the quadratic has two distinct real roots. If it equals zero, there is exactly one real root (a repeated root). If it is negative, there are no real roots and the solutions are complex (imaginary) numbers.

What is the vertex of a parabola?

The vertex is the highest or lowest point of the parabola. Its x-coordinate is negative b divided by 2a, which is also the axis of symmetry. The y-coordinate of the vertex is found by substituting that x back into the original equation.

Quadratic Formula Solver

What is the quadratic formula?

The quadratic formula gives the roots of any quadratic equation in the form ax² + bx + c = 0. The formula is x = (-b ± √(b² - 4ac)) / (2a). The expression under the square root, b² - 4ac, is called the discriminant. If the discriminant is positive the equation has two distinct real roots. If it equals zero there is exactly one repeated real root. If it is negative the equation has two complex (imaginary) roots.

What does the discriminant tell you?

The discriminant D = b² - 4ac reveals the nature of a quadratic equation's roots without fully solving it. A positive discriminant means two distinct real roots (the parabola crosses the x-axis at two points). A discriminant of zero means one repeated real root (the parabola just touches the x-axis at its vertex). A negative discriminant means no real roots; instead there are two complex conjugate roots of the form p + qi and p - qi.

How do I factorise a quadratic once I know the roots?

If the roots of ax² + bx + c = 0 are x₁ and x₂, the factored form is a(x - x₁)(x - x₂). For example, x² - 5x + 6 = 0 has roots x = 3 and x = 2, so it factors as (x - 3)(x - 2). You can verify this by expanding: x² - 2x - 3x + 6 = x² - 5x + 6. When the leading coefficient a is not 1, include it outside the brackets: 2x² - 7x + 3 = 2(x - 3)(x - 0.5) or equivalently (2x - 1)(x - 3).

Quality Factor Calculator

What is the quality factor?

A measure of how sharp a resonance is and how little energy is lost per cycle. Higher Q means a narrower, more selective response.

Q equals the resonant frequency divided by the bandwidth, so a high Q gives a narrow bandwidth.

What gives a high Q?

A large reactance compared with the resistance: a high inductance-to-capacitance ratio and low resistance.

Quartic Equation Calculator

How many roots does a quartic have?

Four, counted with multiplicity, with complex roots appearing in conjugate pairs.

Why solve numerically?

The exact quartic formula is extremely long and error prone. A numerical solver is accurate and treats every case uniformly.

Can a quartic have no real roots?

Yes. If all four roots are complex, the curve never crosses the x axis.

Rational Root Test Calculator

What is the rational root theorem?

It says any rational root of an integer polynomial is a factor of the constant term over a factor of the leading coefficient.

Does it find the roots?

It lists the candidates. You still test each one in the polynomial to see which are genuine roots.

What if none work?

Then the polynomial has no rational roots; its real roots are irrational or it has only complex roots.

Remainder Theorem Calculator

What is the remainder theorem?

Dividing P(x) by x minus r leaves a remainder of P(r), so you only need to substitute r, not do the division.

What is the factor theorem?

The special case where P(r) = 0, which means x minus r divides P exactly and r is a root.

How do I enter the polynomial?

List the coefficients from the highest power down to the constant, using 0 for missing powers.

Resistor Parallel & Series Calculator NZ

How do resistors add in series?

In series, the resistors are connected end to end, the same current flows through each, and the total resistance is simply the sum of all the values. The total is always larger than any individual resistor, since the current must pass through each one in turn.

How do I calculate parallel resistance?

Add up the reciprocals of the individual resistances, then take the reciprocal of that sum. The total is always less than the smallest resistor, because the parallel paths give the current more ways to flow. This calculator does the reciprocal arithmetic for you.

Why is parallel resistance less than the smallest resistor?

Because adding more parallel paths always makes it easier for current to flow, lowering the overall resistance. No matter how many resistors you add in parallel, the total can never rise above the smallest individual value, and it falls as you add more.

Reynolds Number Calculator

What is the Reynolds number?

The Reynolds number (Re) is a dimensionless number that predicts whether fluid flow will be laminar or turbulent. It is calculated as Re = rho times v times D divided by mu, where rho is the fluid density in kg per cubic metre, v is the flow velocity in m per second, D is the pipe diameter (or hydraulic diameter) in metres, and mu is the dynamic viscosity in pascal-seconds. A low Re indicates smooth, orderly laminar flow; a high Re indicates chaotic turbulent flow.

What Reynolds number separates laminar from turbulent flow?

For flow in a circular pipe, laminar flow typically exists when Re is below about 2300. Turbulent flow is fully established above about 4000. The range between 2300 and 4000 is called the transitional regime, where flow can switch between laminar and turbulent unpredictably. These thresholds can vary with pipe roughness, inlet conditions, and other factors.

Why does the Reynolds number matter in engineering?

The flow regime affects friction losses, heat transfer efficiency, and mixing. Laminar flow has low friction losses and predictable velocity profiles, making it useful in microfluidics and lubrication. Turbulent flow mixes fluids efficiently and improves heat transfer, which is why turbulence is often desirable in heat exchangers. Knowing the Reynolds number lets engineers choose appropriate pipe sizes, flow rates, and fluid properties to achieve the desired regime.

Safety Factor Calculator

What is the factor of safety?

The factor of safety is how many times stronger something is than it needs to be for the load it carries. It is the material strength divided by the applied stress. A factor of 2 means the part can take twice the load before it fails.

What is a good factor of safety?

It depends on the application and the consequences of failure. Typical engineering values range from about 1.5 for well understood static loads to 4 or more where loads are uncertain, conditions are harsh, or lives are at risk. Always follow the relevant standard or code for your design.

What does a factor below 1 mean?

A factor of safety below 1 means the applied stress exceeds the material strength, so the part is overloaded and expected to fail. You need a stronger material, a larger section, or a reduced load to bring the factor back above 1, with margin to spare.

Series and Parallel Resistance Calculator

How do resistors add in series?

In series, resistances simply add up, so the total is the sum of all the resistor values. The total is always larger than the biggest single resistor.

How do resistors combine in parallel?

In parallel, you add the reciprocals and take the reciprocal of the sum. The total parallel resistance is always smaller than the smallest single resistor.

What units does it use?

Enter all resistors in the same unit, usually ohms, and the totals come out in that same unit. Mixing kilo-ohms and ohms without converting will give a wrong answer.

Series and Parallel Resistance Calculator

How do I calculate resistors in series?

For resistors in series, the total resistance is simply the sum of all individual values: R total = R1 plus R2 plus R3 and so on. Each resistor adds to the overall opposition to current flow because the current must pass through each one in turn.

How do I calculate resistors in parallel?

For resistors in parallel, use the reciprocal formula: 1 divided by R total equals 1/R1 plus 1/R2 plus 1/R3 and so on. The total resistance is always less than the smallest individual resistor because current has multiple paths to flow through simultaneously.

What is the total resistance of two 100-ohm resistors in parallel?

Two equal resistors in parallel always give half the individual value. Two 100-ohm resistors in parallel: 1/R total = 1/100 plus 1/100 = 2/100, so R total = 50 ohms. In general, N equal resistors in parallel give R divided by N.

Series Sum Calculator

What is a geometric series?

A geometric series is a sum of terms where each term is multiplied by a fixed common ratio r to get the next term. The first n terms sum to a times (1 minus r to the power n) divided by (1 minus r), for r not equal to 1. If r is between -1 and 1 the series converges as n grows large; if |r| is 1 or more the series diverges.

What is an arithmetic series?

An arithmetic series is a sum of terms where each term increases by a fixed common difference d. The sum of the first n terms is n times (2a plus (n-1)d) divided by 2, which can also be written as n times the average of the first and last term. Arithmetic series appear in problems involving evenly spaced quantities such as integer sums or regular payment schedules.

When does a geometric series converge to infinity?

A geometric series with first term a and common ratio r has an infinite sum of a divided by (1 minus r) only when the absolute value of r is strictly less than 1. For |r| equal to or greater than 1, adding more terms keeps growing the sum without bound, so there is no finite limit.

Simplify Fractions Calculator

How do you simplify a fraction?

To simplify a fraction, find the greatest common divisor (GCD) of the numerator and denominator, then divide both by that number. The GCD is the largest whole number that divides evenly into both values. For example, to simplify 24/36, the GCD of 24 and 36 is 12, so divide both by 12 to get 2/3. A fraction is in its lowest terms when the GCD of the numerator and denominator is 1.

What is the greatest common divisor (GCD)?

The greatest common divisor (also called the highest common factor or HCF) is the largest positive integer that divides both numbers without leaving a remainder. It is commonly calculated using the Euclidean algorithm, which repeatedly replaces the larger number with the remainder of dividing it by the smaller number until the remainder is zero. The last non-zero value is the GCD.

When is a fraction already in its simplest form?

A fraction is already in its simplest (or lowest) form when the only number that divides both the numerator and denominator without remainder is 1, meaning their GCD is 1. For example, 3/7 is already in its lowest form because 3 and 7 share no common factors other than 1.

Simultaneous Equation Solver

What does it mean when a simultaneous equation system has no solution?

A system has no solution (it is called inconsistent) when the equations represent parallel lines (in 2 variables) or parallel planes (in 3 variables) that never intersect. This happens when the determinant of the coefficient matrix equals zero and the constants produce contradictory equations. For example, x + y = 3 and x + y = 5 cannot both be true at the same time. Geometrically, the two lines are parallel and never cross.

What does it mean when a simultaneous equation system has infinitely many solutions?

A system has infinitely many solutions (it is called dependent) when two or more equations are essentially the same equation written differently, meaning the lines or planes coincide. The determinant of the coefficient matrix is zero. For example, x + y = 4 and 2x + 2y = 8 are the same equation multiplied by 2, so every point on the line x + y = 4 is a solution. You would express the solution as y = 4 - x (or a parametric form) rather than a single point.

What is Cramer's rule and when should I use it?

Cramer's rule is a formula that expresses the solution of a linear system in terms of determinants. For a 2x2 system ax + by = e and cx + dy = f, the determinant D = ad - bc. If D is non-zero, then x = (ed - bf) / D and y = (af - ec) / D. Cramer's rule is elegant for 2x2 and 3x3 systems and is straightforward to apply by hand. For larger systems (4x4 and above), Gaussian elimination is more efficient as Cramer's rule becomes computationally expensive. This solver uses Cramer's rule for 2x2 systems and Gaussian elimination with back substitution for 3x3 systems.

SOHCAHTOA Solver

What does SOHCAHTOA stand for?

SOHCAHTOA is a mnemonic for the three primary trigonometric ratios in a right triangle. SOH means Sine equals Opposite over Hypotenuse (sin(θ) = O/H). CAH means Cosine equals Adjacent over Hypotenuse (cos(θ) = A/H). TOA means Tangent equals Opposite over Adjacent (tan(θ) = O/A). Together these let you find any unknown side or angle in a right triangle when you know at least two other values.

How do I use SOHCAHTOA to find a missing side?

First identify which sides you know relative to the angle: the side opposite the angle, the side adjacent to the angle, and the hypotenuse (the longest side, opposite the right angle). Then choose the ratio that connects your known side and your unknown side. For example, if you know the angle is 30 degrees and the hypotenuse is 10, you can use SOH: sin(30°) = Opposite/10, so Opposite = 10 x sin(30°) = 5.000. You can verify using CAH: cos(30°) = Adjacent/10, so Adjacent = 10 x cos(30°) = 8.660.

How do I find a missing angle using SOHCAHTOA?

If you know two sides, use the inverse trigonometric functions. If you know opposite and hypotenuse, use θ = arcsin(O/H). If you know adjacent and hypotenuse, use θ = arccos(A/H). If you know opposite and adjacent, use θ = arctan(O/A). For example, if the opposite side is 5 and the hypotenuse is 10, then θ = arcsin(5/10) = arcsin(0.5) = 30 degrees. The other acute angle in the triangle will be 90 minus 30 = 60 degrees.

Stress and Strain (Young's Modulus) Calculator

What is the difference between stress and strain?

Stress is the internal force per unit area acting within a material when an external force is applied. It is measured in pascals (Pa) or newtons per square metre (N/m2). Strain is the resulting deformation expressed as a ratio: the change in length divided by the original length. Strain has no units because it is a dimensionless ratio. Stress causes strain; how much strain results from a given stress depends on the material's stiffness, characterised by Young's modulus.

How do you calculate Young's modulus?

Young's modulus (E) is calculated by dividing stress by strain: E = sigma / epsilon = (F / A) / (delta L / L0) = (F x L0) / (A x delta L). Here F is the applied force in newtons, A is the cross-sectional area in square metres, L0 is the original length in metres, and delta L is the extension (change in length) in metres. The result is in pascals (Pa). For most engineering materials, Young's modulus is expressed in gigapascals (GPa). Steel has a Young's modulus of approximately 200 GPa, aluminium about 69 GPa, and concrete about 30 GPa.

What is the elastic limit and why does it matter?

The elastic limit (also called the yield point) is the maximum stress a material can withstand and still return to its original shape when the load is removed. Below the elastic limit, stress and strain are proportional (Hooke's Law applies) and Young's modulus is constant. Above the elastic limit, the material deforms permanently (plastic deformation). This calculator assumes the material is within the elastic region. Engineers design structures so that working stresses stay well below the elastic limit, typically by applying a safety factor of 2 to 4 or more.

Simultaneous Equations Calculator

What is Cramer's rule?

Cramer's rule solves a linear system by expressing each unknown as a ratio of two determinants. The denominator is the determinant of the coefficient matrix. The numerator for each variable is the determinant of the same matrix but with that variable's column replaced by the constant terms. Dividing gives the value of the unknown.

What happens if the determinant is zero?

If the main determinant is zero, the system has no unique solution. The two equations are either inconsistent (parallel lines with no intersection) or dependent (the same line written differently, giving infinitely many solutions). The calculator reports this instead of dividing by zero.

How do I enter the equations?

Enter the coefficient of x, the coefficient of y, and the constant on the right-hand side for each equation. For the equation 2x plus 3y equals 12, enter 2 in the x field, 3 in the y field, and 12 in the constant field. Use negative numbers for subtraction.

System of Equations Solver

What is a system of linear equations?

A system of linear equations is a collection of two or more equations that share the same set of unknowns (variables). The goal is to find the values of those variables that satisfy all equations simultaneously. For example, the system 2x + y = 5 and x + 3y = 10 has the unique solution x = 1, y = 3, because substituting these values makes both equations true at the same time.

How does Gaussian elimination work?

Gaussian elimination transforms the system of equations into an upper triangular form using row operations: swapping rows, multiplying a row by a non-zero constant, and adding a multiple of one row to another. Once in upper triangular form, back substitution is used to solve for each variable in turn, starting from the last equation and working upward. This solver applies Gaussian elimination with partial pivoting to improve numerical stability.

What does it mean when a system has no solution or infinitely many solutions?

A system has no solution (it is inconsistent) when the equations contradict each other, for example 2x + y = 5 and 2x + y = 8. The lines (or planes) are parallel and never intersect. A system has infinitely many solutions (it is dependent) when the equations are multiples of each other, meaning they describe the same line or plane. In both cases Gaussian elimination reveals a zero row in the coefficient matrix, and this solver will report the situation rather than showing a spurious answer.

Tetrahedral Number Calculator

What is a tetrahedral number?

The number of items in a triangular pyramid of n layers, n(n+1)(n+2)/6, like stacked cannonballs.

How do they relate to triangular numbers?

Each tetrahedral number is the running total of the triangular numbers up to that layer.

Where do they appear in Pascal’s triangle?

Along the third diagonal, as the values C(n+2, 3).

Week Number Calculator NZ

What is a week number?

A week number labels each week of the year from 1 to 52 or 53. The ISO 8601 standard, used widely in business and internationally, defines week 1 as the week containing the year's first Thursday, with weeks starting on Monday.

Why does the ISO week sometimes differ from the calendar year?

Because ISO weeks run Monday to Sunday and are tied to the first Thursday, early January dates can belong to the last week of the previous year, and late December dates can belong to week 1 of the next year. The tool shows the ISO week year for this reason.

Where are week numbers used?

They are common in project planning, manufacturing and logistics schedules, payroll, and any system that refers to a delivery or task by week rather than date, especially in international and European contexts.

Answers are gathered from the calculators and guides listed above and are general information, not advice. Last reviewed 2026-09-06. See also the finance glossary, the guides and the reference data.