Blog
Degrees vs Radians: The Silent Source of Wrong Answers
How an angle-mode mismatch produces a confidently wrong trigonometric answer, and other quiet pitfalls in scientific calculators.
Ask a scientific calculator for sin(30) and you can get two very different, equally confident answers: 0.5, or -0.988. Both are mathematically correct — for different questions. The calculator isn't malfunctioning in either case; it's faithfully computing the sine of 30 degrees in one mode and the sine of 30 radians in the other, and it will never volunteer which one it's doing unless you happen to notice a small "DEG" or "RAD" indicator somewhere on the display. That single toggle is responsible for more wrong homework answers, botched engineering calculations, and confused code reviews than almost any other calculator setting.
Two units for measuring the same angle
A degree divides a full circle into 360 equal parts, a convention traced back to Babylonian astronomy and still the default unit most people learn angles in — it's intuitive, and 360 happens to divide evenly by a lot of useful numbers (2, 3, 4, 5, 6, 8, 9, 10, 12...), which made it convenient for manual calculation long before calculators existed. A radian measures an angle by the length of the arc it sweeps out on a circle of radius 1, which means a full circle is exactly 2π radians — not a round number, but the unit that makes calculus and most higher mathematics dramatically cleaner, because derivatives and series expansions of trigonometric functions only take their simple textbook form when the angle is in radians. 30 degrees and 30 radians describe wildly different rotations: 30 degrees is a small slice of a circle, while 30 radians is more than four full rotations (since one rotation is about 6.28 radians), which is exactly why sin(30°) and sin(30 rad) land nowhere near each other.
Why the mismatch is so easy to miss
The calculator never throws an error when the mode is wrong, because from its perspective nothing is wrong — it was given a number and a mode, and it computed the mathematically correct sine for that combination. There's no way for the calculator to know the user meant degrees; the number 30 is unitless until the mode setting assigns it a meaning. That's what makes this class of error so much more dangerous than a typo: a typo usually produces a result that's obviously implausible, prompting a second look, while a wrong-mode trig result is often still a "reasonable-looking" number — sine and cosine always output something between -1 and 1 regardless of mode, so there's no red flag like a wildly oversized number to signal that something went sideways. The error hides inside a plausible-looking value, which is precisely the kind of mistake that survives all the way into a homework submission, a lab report, or a piece of production code before anyone catches it.
A worked example
Take a genuinely common task: finding the height of a right triangle with a 30-degree angle and a 10-unit hypotenuse, using height = 10 × sin(30). In degree mode, that's10 × 0.5 = 5 — correct, and satisfyingly clean, since sin(30°) is exactly 0.5. In radian mode, the same keystrokes compute sin(30 radians), which is approximately -0.988, giving a "height" of roughly -9.88 — a negative length, which should be an immediate red flag in a geometry problem, yet it's easy to see how someone might round it, take an absolute value out of habit, or simply not notice the sign and move on with a completely wrong number. Programmers hit the same trap from the opposite direction: most programming languages' built-in math libraries (JavaScript's Math.sin(), Python's math.sin(), and most others) take radians by default, so a developer who plugs in a degree value without converting first gets a value that compiles, runs, and returns a plausible-looking number — just the wrong one, silently, every single time that code path runs.
Floating-point precision, the other quiet pitfall
Angle mode isn't the only place a scientific calculator can hand back a confidently wrong- looking number. Floating-point arithmetic represents most decimal values as an approximation in binary, which is why 0.1 + 0.2 can come back as0.30000000000000004 instead of a clean 0.3 on many calculators and virtually all programming environments — the underlying binary representation of 0.1 and 0.2 simply can't land on an exact decimal 0.3, so the tiny residual error surfaces in the display. This isn't a calculator bug either; it's an inherent tradeoff of representing real numbers in a fixed number of binary bits, and it becomes visible more often in scientific calculators because they're used for the kind of multi-step chained calculations — repeated trig functions, logarithms, exponents — where small rounding errors from each step can accumulate into a visibly odd final digit, even though every individual operation was computed correctly given its inputs.
Both pitfalls share the same underlying lesson: a scientific calculator's mode settings and numeric representation are part of the calculation, not neutral background details, and a plausible-looking answer isn't the same as a correct one. Checking the angle mode before a trig calculation, and treating a stray trailing digit as a rounding artifact rather than a real result, are both habits worth having whether the tool in hand is a physical calculator or the scientific calculator on this site.
