Revision & study organizationLearning methods

Why sin(30) is not always 0.5: degrees, radians and calculator mode

A textbook gives sin 30° = 1/2, while software evaluating sin(30) may produce about −0.988. Before changing the answer or blaming precision, check whether the inputs use the same angle unit. Write the unit alongside the value and inspect the calculator mode or function contract.

Wooden teaching protractor in front of a chalkboard
Illustrative photo: Alexandr Popadin · Unsplash LicenseStock illustration for the topic, not a screenshot, test of the pictured equipment or product recommendation.

Key Takeaways

Thirty degrees and thirty radians are different angles. Since 180° equals π radians, 30° equals π/6 radians. A radian-based function therefore needs sin(30 × π/180), which is approximately 0.5. Check units before numerical tolerances, and do not convert a value that is already in radians a second time.

In this article

Derive the direction from half a turn

The OpenStax angles chapter relates one full turn to 360° and 2π radians. Halving both expressions gives 180° = π radians. A degree value multiplied by π/180 describes the same angle in radians; the reverse factor is 180/π.

Authored check: 60° × π/180 = π/3 radians. Multiplying π/3 by 180/π returns 60°. If the original input already says π/3 radians, multiplying by π/180 again changes the angle instead of merely changing its representation.

The same number can describe different angles

MDN specifies radians for Math.sin. The editor executed this authored code in Node.js 22.23.2 on December 2, 2026. This is a JavaScript function check, not a test of a physical calculator or a KitNelo trigonometry tool.

Make the input convention visible in the function name

const sinDegrees = degrees => Math.sin(degrees * Math.PI / 180);
console.log(Math.sin(30));  // -0.9880316240928618: 30 radians
console.log(sinDegrees(30)); // 0.49999999999999994
console.log(sinDegrees(90)); // 1
console.log(Math.sin(Math.PI)); // 1.2246467991473532e-16
Retain the original numerical results for checking; round the display according to the task without changing the angle unit.

Reference interpretations
Input meaningValue passed to Math.sinInterpretation
30 radians30About −0.9880316
30 degreesπ/6Close to 1/2
90 degreesπ/21 in the observed run

Separate the mode error from near-zero residue

For software with DEG/RAD modes, record the mode and test a known angle with an explicit unit. To calculate 30°, enter 30 in DEG or π/6 in RAD. More decimal places cannot repair entering 30 in RAD when the intended angle is 30°. Check the specific application for its actual controls.

Mathematically sin(π) is zero; this run of Math.sin(Math.PI) returned about 1.22 × 10⁻¹⁶. The angle is now correctly specified, and the tiny residue belongs to finite-precision numerical computation. That differs from the large degree–radian mismatch. A generous tolerance should not conceal a unit error.

For an exact textbook answer, retain the symbolic relationship sin(π/6) = 1/2 before displaying a decimal. The intermediate-rounding guide covers precision decisions, which cannot correct an incorrect angle mode.

Test both conversion directions

Exercise A: a radian-based function must evaluate 150°. Supply 150 × π/180 = 5π/6; its sine is 1/2. Exercise B: express −π/2 radians in degrees. It is −90°, with sine −1. Keep the negative sign while changing units.

Write the unit, conversion and expected sign yourself before comparing answers. Memorizing “multiply by π” is insufficient when the direction changes. Use the unit-cancellation exercise for checking direction while establishing the specific relationships for angles, lengths and areas separately.

Further reading & sources