Scientific Calculator DEG vs RAD: Why sin(30) Gives 0.5 or -0.988

Contents
If you type sin(30) into a calculator and one gives you 0.5 while another gives you -0.988, the math isn't wrong. The two are reading the angle differently.
A scientific calculator treats angles as either degrees (DEG) or radians (RAD), and that choice changes trig results completely. Add exponents, logs, and roots on top, and it gets easy to lose track of which operation should run first.
This post explains why the DEG/RAD gap exists, and walks through an expression like "sin(30)+2^3*sqrt(9)" step by step to show how it resolves to 24.5.
Summary ① If sin(30) gives you 0.5, the calculator is in DEG (degree) mode. If you get something close to -0.988, it's in RAD (radian) mode. ② Expressions are evaluated in this order: parentheses → functions and factorials → exponents (^) → multiplication and division → addition and subtraction. ③ If you drop the multiplication sign, as in 2pi or 3sin(30), it won't be read the way you intended, and you may get an unexpected result or an error.
Mixing Up DEG and RAD Changes the Whole Result
When you work through engineering problems or coding exercises, you'll often see the same trig value come out differently depending on the tool. Trig functions in programming languages usually take radians as input, while calculator apps on phones often default to degrees (DEG).
Enter the same sin(30) and a calculator in radian mode reads 30 as "30 radians," giving a value near -0.988. In degree mode it reads 30 as "30 degrees" and gives exactly 0.5. Both answers are mathematically correct. Only the angle unit used to interpret the input is different.
Now add mixing up log and ln, or writing 2pi without a multiplication sign, and the expression itself gets read differently than you meant. That makes it even harder to figure out why your answer doesn't match.
The Order of Operations, Worked by Hand Without a Tool
You can produce the same result by hand, no calculator needed. The order is the same as standard math precedence: parentheses → functions (sine, cosine, log, and so on) and factorials → exponents (^) → multiplication, division, and remainder (%) → addition and subtraction.
As an example, let's work through "sin(30)+2^3*sqrt(9)" by hand in DEG (degree) mode.
Step 1 — Evaluate the function inside the parentheses first. sin(30) treats 30 as an angle in degrees and converts it to radians before calculating. Radians = degrees × (π/180), so 30 × (3.14159/180) ≈ 0.5236 radians, and the sine of that is exactly 0.5.
sqrt(9) is the square root of 9, which is 3.
The sine values for common angles are fixed, and memorizing them speeds up your work.
| Angle | sin value |
|---|---|
| 0° | 0 |
| 30° | 0.5 |
| 45° | 0.707 |
| 60° | 0.866 |
| 90° | 1 |
Step 2 — Evaluate the exponent. 2^3 means 2 multiplied by itself three times, so 2×2×2=8.
Step 3 — Evaluate the multiplication. Multiply sqrt(9)=3 from Step 1 by 8 from Step 2: 8×3=24.
Step 4 — Evaluate the addition. Add sin(30)=0.5 from Step 1 to 24 from Step 3: 0.5+24=24.5.
Follow that order exactly and the final answer is 24.5. Solve the same expression in RAD mode and sin(30) becomes the sine of "30 radians," roughly -0.988, which pushes the final answer to about 23.012.
Check it with our tool.
It runs right in your browser with no sign-up, and its own parser handles trig, logs, square roots, and parentheses without eval.

Common Input Mistakes
Even when you know the order of operations, the way you enter an expression can still change the result. Here are four frequent cases.
| Mistake | What you see | Fix |
|---|---|---|
| Dropping the multiplication sign (2pi, 3sin(30)) | The number and letter stay glued together and don't compute the value you intended | Write the * explicitly, as in 2pi or 3sin(30) |
| Wrong DEG/RAD mode | sin, cos, and tan results come out different than expected | Check whether the angle tab says DEG or RAD before you calculate |
| Confusing log with ln | log(100)=2 (common log), but ln(100)≈4.605 (natural log) gets mixed in | Use log for base 10, ln for the natural log |
| Misreading the exponent sign | Reading -2^2 as (-2)^2 flips the sign | Use parentheses to spell out the order you want |
Of these, the DEG/RAD mix-up is the most common and the hardest to spot. The output looks perfectly normal, so the number alone won't tell you which mode you were in. Checking the angle tab before you calculate is the only way to prevent it.
Recap
- When trig results like sin(30) come out differently, the cause isn't a math error. It's the DEG (degree) vs. RAD (radian) mode.
- Expressions are evaluated in this order: parentheses → functions and factorials → exponents → multiplication and division → addition and subtraction.
- In DEG mode, "sin(30)+2^3*sqrt(9)" works out to 0.5 + 8×3 = 24.5.
- Don't skip the multiplication sign, and enter log (common log) and ln (natural log) as distinct functions to get the result you intended.
It runs right in your browser with no sign-up, and its own parser handles trig, logs, square roots, and parentheses without eval.
Frequently Asked Questions
Should I use DEG or RAD?
It depends on what you're calculating. For everyday angles like triangle interior angles or bearings, people usually use degrees (DEG). Physics and engineering formulas, along with trig functions in programming languages, are often defined in radians (RAD). The way to get the right answer is to check which unit the problem or formula you're working from assumes.
What's the difference between log and ln?
log is the common logarithm with base 10, and ln is the natural logarithm with base e. For example, log(100) is 2, and ln(100) is about 4.605. Different bases, so the same input gives different results.
Do I really need to type the multiplication sign?
Yes. The expression you enter is parsed literally, so if you leave out the multiplication sign as in 2pi or 3sin(30), it may not be read as the calculation you intended. Type the * sign yourself, as in 2pi or 3sin(30), to get an accurate result.
Why is my result sometimes slightly off?
That's because of how computers handle floating-point arithmetic. A value like sin(30) may come out as something extremely close to 0.5 rather than exactly 0.5. What you see on screen is a cleaned-up version, but tiny rounding differences can remain, especially with very large or very small numbers.
This article was adapted from our Korean original. Read the Korean original