Function · Math

Excel SIN function

The Excel SIN function returns the sine of an angle in radians. SIN(RADIANS(30)) is 0.5, and a 16-foot ramp at 30 degrees rises 8 feet.

Excel 365, Excel 2024, Excel 2021, Excel 2019, and earlier. Also in Excel for the web and Google Sheets.

Syntax =SIN(number)

SIN
=SIN(RADIANS(30))

Arguments

NameRequiredWhat to pass
numberRequiredThe angle in radians. Degrees go through RADIANS, or through PI()/180. Text that is not a number, such as thirty, is #VALUE!. An empty string is #VALUE!. A blank cell is 0. TRUE is 1 and FALSE is 0.

Examples

Thirty degrees is one half

=SIN(RADIANS(30))

Result 0.5

A 16-foot stair stringer at 30 degrees

=16*SIN(RADIANS(30))

Result 8 feet

A 20-foot rafter on a 6-in-12 pitch

=20*SIN(ATAN(6/12))

Result 8.94427190999916 feet

Thirty radians, and text that is not a number

=SIN(30)

Result -0.988031624092862

=B2*SIN(RADIANS(B1))B4
Ramp
AB
1Angle in degrees30
2Slope length in feet16
3Sine0.5
4Rise in feet8
A picture of the sheet, not a live calculator. B1 is degrees. The sine converts with RADIANS. The rise is the slope length times that sine.

SIN returns the sine of an angle in radians. Thirty degrees is one half. =SIN(RADIANS(30)) is 0.5. =SIN(30*PI()/180) is 0.5. =SIN(PI()/6) is 0.5. A right angle is =SIN(PI()/2), which is 1. Microsoft prints =SIN(PI()) as 0.0. The full value is 1.22464679914735E-16, and =SIN(RADIANS(180)) returns that same residue. =SIN(RADIANS(0)) is 0. =SIN(RADIANS(90)) is 1. =SIN(RADIANS(45)) is 0.707106781186548. =SIN(RADIANS(60)) is 0.866025403784439, which is also =COS(RADIANS(30)).

SIN takes radians. =SIN(30) is the sine of 30 radians, -0.988031624092862. Degrees go through RADIANS, or through a multiply by PI/180.

A stair stringer is 16 feet along the slope at 30 degrees from the floor. The rise is the slope length times the sine. =16*SIN(RADIANS(30)) is 8 feet, because the sine is 0.5. The same triangle is a shed ramp measured along the boards. Thirty degrees is a normal house stair.

A common US roof pitch is 6 inches of rise for every 12 inches of horizontal run. The angle from the horizontal is ATAN(6/12), and =DEGREES(ATAN(6/12)) is 26.565051177078 degrees. A 20-foot rafter is the sloping side. =20*SIN(ATAN(6/12)) is 8.94427190999916 feet of rise. The run is =20*COS(ATAN(6/12)), 17.8885438199983 feet. Rise divided by that run is 0.5, which is the 6/12 you started with. SQRT writes the same rise without ATAN: =20*(0.5/SQRT(1+0.5^2)) is 8.94427190999916 feet. An 18-foot rafter at 22 degrees is =18*SIN(RADIANS(22)), 6.74291868148642 feet. ROUND to two decimals, =ROUND(18*SIN(RADIANS(22)),2), is 6.74 feet.

Text that is not a number is #VALUE!. =SIN("thirty") is #VALUE!. =SIN("") is #VALUE!. A blank cell is 0, so the sine is 0. TRUE is 1, and =SIN(TRUE) is 0.841470984807897, the same as =SIN(1). FALSE is 0, and =SIN(FALSE) is 0. A negative angle keeps the sign. =SIN(RADIANS(-30)) is -0.5. ABS of that is 0.5.

PI is the constant in the degree conversion. COS, TAN, RADIANS, DEGREES, and ASIN are the neighboring trig functions. The Construction Estimate prices the Oak Street bath for Mara Chen, quoted 3/16/2026. Cost is $3,100, the price before tax is $3,720, tax is $120.78, and the client total is $3,840.78. The formulas there are SUMPRODUCT, ROUNDUP, ROUND, and IF. The Home Renovation Budget tracks a kitchen, a bath, and flooring, with a 10% contingency, and the room totals use SUMIF. The rise on this page is the measurement you take before those dollar sheets.