Math & trig function

SIN function

Returns the sine of an angle given in radians; used for heights on slopes, waves and seasonal patterns.

Available in All versions of Excel, Excel for the web, Excel for Mac

In every Excel versionWorks in Google Sheets

Syntax

SIN(number)
ArgumentWhat it means
numberRequiredThe angle in radians. Use RADIANS(angle) for degrees.

Returns: A value from −1 to 1.

How SIN works

In a right-angled triangle the sine of an angle is the opposite side divided by the hypotenuse. That makes SIN the tool for vertical heights: how high the end of a 6 m ramp rises at a 4.8° slope, how high a ladder reaches, or the vertical part of a force or velocity. Multiply the sloping length by the sine of the angle and you have the height.

Sine also describes anything that repeats smoothly, such as seasonal sales, daylight hours, tides or alternating current. A formula like base + amplitude*SIN(2*PI()*month/12) models a yearly cycle. Excel's trigonometric functions work in radians, not degrees. Convert an angle with RADIANS (or multiply by PI()/180) before passing it in, and convert results back with DEGREES.

Examples

1How high a wheelchair ramp rises

D2fx=B2*SIN(RADIANS(C2))
ABCD
1RampLength (m)Angle (°)
2Entrance64.80.502

Result: 0.502

6 × sin(4.8°) ≈ 0.502 m of rise (3 decimals). The angle is converted to radians first.

2Seasonal demand model

B5fx=B2+B3*SIN(2*PI()*B4/12)
AB
1InputValue
2Base demand1000
3Seasonal swing200
4Month number3
51,200

Result: 1,200

In month 3 the sine wave is at its peak (sin 90° = 1), so demand is 1,000 + 200 = 1,200. In month 9 it would be 800.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
Wrong resultThe angle was entered in degrees, so SIN(30) returns −0.988 instead of 0.5.Use SIN(RADIANS(30)).
#NUM!The argument is 2^27 or larger in absolute value.Reduce the angle with MOD first.

Tips

  • =SIN(RADIANS(30)) returns 0.5 (Excel may show 0.5 or 0.499999999999999 depending on rounding).
  • For degrees directly, some users define a LAMBDA: =LAMBDA(d, SIN(RADIANS(d))).

Google Sheets

SIN also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

SIN in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.