Getting the Right Answer: Order of Operations, Degrees vs Radians and More
Most "wrong" calculator answers come from the expression, not the maths. These are the rules and settings that trip people up most often.
Order of operations
BODMAS (UK/India) and PEMDAS (US) describe the same rule:
So 8 − 2 × 3 = 2, not 18, and 2^3^2 is usually evaluated as 2^(3^2) = 512 because powers group from the right.
When in doubt, add brackets. Expressions like 6 ÷ 2(1 + 2) are ambiguous in written form, and different calculators handle implied multiplication differently. Writing (6 ÷ 2) × (1 + 2) removes the doubt.
Degrees vs radians
A full circle is 360 degrees or 2π radians. Trigonometric functions give completely different results depending on the mode:
Check the angle mode before calculating, and convert when needed: radians = degrees × π / 180.
log vs ln
log(x)usually means base-10: log(1000) = 3.ln(x)is the natural logarithm, base e ≈ 2.71828: ln(e) = 1.- To use another base: log_b(x) = ln(x) / ln(b).
Factorials grow very fast
n! multiplies all whole numbers from 1 to n. 10! is 3,628,800, and 20! is already about 2.4 × 10^18. Beyond 170!, numbers exceed what standard double-precision arithmetic can store, so calculators show infinity or an error.
Why 0.1 + 0.2 shows 0.30000000000000004
Computers store numbers in binary, and many decimals (like 0.1) cannot be represented exactly. The tiny error is normal in any software using standard floating-point numbers. Round the result to the precision you need, and for money, work in whole units such as paise or cents.