Scientific Calculator Accuracy

These are the reference calculations our scientific calculator is checked against before every release. The table below is produced by running each one through the calculator itself.

74 of 74 pass.

How we compute

Everyday arithmetic

CalculationModeExpectedOur answerResultWhy it matters
0.1 + 0.2DEG0.30.3✓ PassBinary floating point gives 0.30000000000000004.
1.1 × 1.1DEG1.211.21✓ PassBinary floating point gives 1.2100000000000002.
1 ÷ 3DEG0.333333333333333 (exact 1/3)0.333333333333333 (exact 1/3)✓ PassA repeating decimal: the exact fraction is shown too.
2 ÷ 3DEG0.666666666666667 (exact 2/3)0.666666666666667 (exact 2/3)✓ PassThe last shown digit rounds half up.
10 ÷ 4DEG2.52.5✓ PassA terminating decimal needs no exact form.
7 − 10DEG−3−3✓ PassNegative results use a true minus sign.
123456789 × 987654321DEG121 932 631 112 635 269121 932 631 112 635 269✓ PassEvery digit of an 18-digit product, exactly.

Order of operations

CalculationModeExpectedOur answerResultWhy it matters
2 + 3 × 4DEG1414✓ PassMultiplication before addition.
(2 + 3) × 4DEG2020✓ PassBrackets first.
−2²DEG−4−4✓ PassThe power applies before the minus sign, as in textbooks.
(−2)²DEG44✓ PassBrackets make the minus part of the base.
2^3^2DEG512512✓ PassPowers stack from the right: 2^(3^2).
2^−3DEG0.1250.125✓ PassA negative exponent needs no brackets.
6 ÷ 2(1 + 2)DEG99✓ PassImplied multiplication ranks with × and ÷, left to right; the calculator shows “read as (6 ÷ 2)·(1 + 2)”.
1/2πDEG1.5707963267949 (exact π/2)1.5707963267949 (exact π/2)✓ PassRead as (1 ÷ 2)·π, and said so on screen.
2πDEG6.28318530717959 (exact 2π)6.28318530717959 (exact 2π)✓ PassA number next to π multiplies it.

Trigonometry in degrees

CalculationModeExpectedOur answerResultWhy it matters
sin(30)DEG0.50.5✓ PassExact by rule, not by rounding.
cos(60)DEG0.50.5✓ PassExact by rule.
sin(180)DEG00✓ PassMany calculators show 1.2246E-16.
cos(90)DEG00✓ PassMany calculators show 6.123E-17.
tan(45)DEG11✓ PassMany calculators show 0.9999999999999999.
sin(45)DEG0.707106781186548 (exact √2/2)0.707106781186548 (exact √2/2)✓ PassThe exact form is the textbook one.
sin(15)DEG0.258819045102521 (exact (√6 − √2)/4)0.258819045102521 (exact (√6 − √2)/4)✓ PassA less familiar exact value.
tan(60)DEG1.73205080756888 (exact √3)1.73205080756888 (exact √3)✓ PassExact √3.
tan(90)DEGtan 90° is undefinedtan 90° is undefined✓ PassMany calculators show 16331239353195370.
cos(120)DEG−0.5−0.5✓ PassThe sign follows the quadrant.

Trigonometry in radians and grads

CalculationModeExpectedOur answerResultWhy it matters
sin(π)RAD00✓ Passπ is tracked exactly, so the sine is exactly 0.
cos(π)RAD−1−1✓ PassExact.
sin(π/6)RAD0.50.5✓ Passπ/6 is 30°.
sin(1)RAD0.8414709848078970.841470984807897✓ PassA plain radian value, worked to 40 digits.
tan(π/2)RADtan π/2 is undefinedtan π/2 is undefined✓ PassUndefined, said plainly.
sin(100)GRAD11✓ Pass100 grad is a right angle.
cos(200)GRAD−1−1✓ Pass200 grad is a half turn.

Inverse trigonometry

CalculationModeExpectedOur answerResultWhy it matters
sin⁻¹(0.5)DEG3030✓ PassExactly 30, not 29.999999999999996.
cos⁻¹(0)RAD1.5707963267949 (exact π/2)1.5707963267949 (exact π/2)✓ PassThe answer in radians, with its exact form.
tan⁻¹(1)DEG4545✓ PassExact.
tan⁻¹(1)RAD0.785398163397448 (exact π/4)0.785398163397448 (exact π/4)✓ PassThe same angle in radians.
sin⁻¹(2)DEGsin⁻¹ needs a value from −1 to 1sin⁻¹ needs a value from −1 to 1✓ PassNo sine is greater than 1.

Hyperbolic functions

CalculationModeExpectedOur answerResultWhy it matters
sinh(1)DEG1.17520119364381.1752011936438✓ PassHyperbolic functions ignore the angle unit.
cosh(0)DEG11✓ PassExact.
tanh(1)DEG0.7615941559557650.761594155955765✓ PassWorked to 40 digits.

Logarithms

CalculationModeExpectedOur answerResultWhy it matters
log(1000)DEG33✓ PassExact powers of 10 give whole numbers.
log(0.001)DEG−3−3✓ PassAnd negative powers too.
ln(2)DEG0.6931471805599450.693147180559945✓ PassNatural logarithm.
ln(e)DEG11✓ Passe is held to 40 digits, so this rounds to exactly 1.
log_2(8)DEG33✓ PassAny base, exact when the answer is whole.
log_2(10)DEG3.321928094887363.32192809488736✓ PassAny base, worked to 40 digits.
log(0)DEGlog needs a number greater than 0log needs a number greater than 0✓ PassExplained, not “Math ERROR”.

Powers and roots

CalculationModeExpectedOur answerResultWhy it matters
√2DEG1.4142135623731 (exact √2)1.4142135623731 (exact √2)✓ PassTrailing zeros are trimmed: 1.41421356237310 shows as 1.4142135623731.
√16DEG44✓ PassPerfect squares are exact.
∛27DEG33✓ PassPerfect cubes are exact.
∛(−8)DEG−2−2✓ PassOdd roots of negative numbers are real.
2^0.5DEG1.4142135623731 (exact √2)1.4142135623731 (exact √2)✓ PassA power of one half is a square root.
(−8)^(1/3)DEG−2−2✓ PassMany calculators give an error or NaN here.
2^64DEG18 446 744 073 709 551 61618 446 744 073 709 551 616✓ PassEvery digit; binary floating point shows 18446744073709552000.
2^100DEG1.26765060022823 × 10³⁰1.26765060022823 × 10³⁰✓ PassPast 10³⁰ the answer switches to scientific notation.
√(−4)DEG√ of a negative number needs complex numbers, coming later√ of a negative number needs complex numbers, coming later✓ PassComplex numbers are a later phase.

Factorials and combinations

CalculationModeExpectedOur answerResultWhy it matters
0!DEG11✓ PassBy definition.
25!DEG15 511 210 043 330 985 984 000 00015 511 210 043 330 985 984 000 000✓ PassAll 26 digits, exactly.
30!DEG2.65252859812191 × 10³²2.65252859812191 × 10³²✓ PassShown to 15 significant digits; the full value is behind “30 digits”.
52 nCr 5DEG2 598 9602 598 960✓ PassFive-card poker hands.
10 nPr 3DEG720720✓ PassOrdered arrangements.
2.5!DEGn! needs a whole number from 0 to 10 000n! needs a whole number from 0 to 10 000✓ PassNon-whole factorials (the gamma function) are a later phase.

Very large and very small numbers

CalculationModeExpectedOur answerResultWhy it matters
(1E−20 + 1) − 1DEG1 × 10⁻²⁰1 × 10⁻²⁰✓ PassBinary floating point loses the 10⁻²⁰ entirely and shows 0.
sin(1E−20)RAD1 × 10⁻²⁰1 × 10⁻²⁰✓ PassTiny answers are never rounded away to 0.
1E300 × 1E300DEG1 × 10⁶⁰⁰1 × 10⁶⁰⁰✓ PassBinary floating point overflows to Infinity at about 1.8 × 10³⁰⁸.
10^(10^16)DEGToo large to showToo large to show✓ PassA number with ten quadrillion digits is reported, not shown.
1 ÷ 0DEGCan’t divide by zeroCan’t divide by zero✓ PassNever “Infinity”.

Percent and mod

CalculationModeExpectedOur answerResultWhy it matters
50%DEG0.50.5✓ Passx% means x ÷ 100.
200 + 10%DEG200.1200.1✓ PassStrictly 200 + 0.1; the calculator also offers “Meant 200 plus 10%? → 220”.
17 mod 5DEG22✓ PassThe remainder.
−7 mod 3DEG22✓ PassThe result takes the divisor’s sign: −7 = 3 × (−3) + 2.

Errors

CalculationModeExpectedOur answerResultWhy it matters
(2 + 3DEGMissing closing bracketMissing closing bracket✓ PassThe live preview closes it for you; = asks you to.
2 × ÷ 3DEGTwo operators in a rowTwo operators in a row✓ PassMistakes are named, not just flagged.

Updated