The SIN function returns the sine of an angle given in radians. It is a fundamental trigonometric function used in geometry, physics, and engineering calculations within Excel.
=SIN(number)What does SIN do?
The SIN function in Excel calculates the sine of an angle. Sine is a trigonometric function that, for a given angle in a right triangle, equals the ratio of the length of the opposite side to the length of the hypotenuse. In Excel, SIN expects the angle to be in radians, not degrees. If you have degrees, you can convert them using the RADIANS function or by multiplying by PI()/180.
SIN is part of Excel's Math & Trigonometry functions. It is useful whenever you need to model periodic phenomena, solve triangles, or perform engineering and scientific calculations. Office workers might use it for simple geometry tasks, while students will encounter it in maths and physics coursework.
A common real-world situation is calculating the height of an object when you know the distance and the angle of elevation. For example, if you stand 50 metres from a building and measure the angle to the top as 30 degrees, the height is 50 * SIN(RADIANS(30)). Excel makes this easy: you can set up a small table with distances and angles, then apply the formula to each row.
When to use SIN
- Calculating the height of a structure from a distance and angle of elevation.
- Modelling wave patterns or oscillations in physics experiments.
- Solving right-triangle problems in geometry homework.
- Determining components of a force or vector in engineering.
- Creating sinusoidal graphs for presentations or reports.
- Converting polar coordinates to Cartesian coordinates.
SIN syntax
=SIN(number)| Argument | Required? | What to enter |
|---|---|---|
number | Required | The angle in radians for which you want the sine. If you have degrees, convert them first using RADIANS or multiply by PI()/180. Example: =SIN(PI()/6) returns 0.5. |
What it returns: The sine of the given angle, a number between -1 and 1.
SIN examples
1 Basic Sine of a Radian Value
This example shows the simplest use of SIN with a known radian value. The formula takes the angle in cell A2 and returns its sine. Since the angle is already in radians, no conversion is needed. The result is approximately 0.4794.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Angle (radians) | |||
| 2 | 0.5 | 0.4794255386 | ||
| 3 | 1 | |||
| 4 | 1.5 | |||
| 5 | 2 | |||
| 6 | 2.5 | |||
| 7 | 3 | |||
| 8 |
2 Sine of Common Angles in Degrees
Here we have angles in degrees and need to convert them to radians before applying SIN. The formula uses RADIANS to convert the degree value in column A. For 30 degrees, the sine is 0.5. This approach is handy when working with angles measured in degrees.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Angle (degrees) | |||
| 2 | 30 | 0.5 | ||
| 3 | 45 | |||
| 4 | 60 | |||
| 5 | 90 | |||
| 6 | 120 | |||
| 7 | 180 | |||
| 8 |
3 Calculating Height Using Angle of Elevation
This example calculates the height of an object using the distance from the observer and the angle of elevation. The formula multiplies the distance in column A by the sine of the angle (converted to radians) in column B. For a distance of 50 and angle 30 degrees, the height is 25.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Distance (m) | Angle (degrees) | |||
| 2 | 50 | 30 | 25 | ||
| 3 | 100 | 45 | |||
| 4 | 75 | 60 | |||
| 5 | 120 | 15 | |||
| 6 | 200 | 10 | |||
| 7 |
4 Modelling a Simple Wave
This example generates y-values for a sine wave at different x-values. The formula uses SIN with the x-value in column A. The result is the sine of that x-value, which oscillates between -1 and 1. This is useful for creating charts or analysing periodic data.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | x | |||
| 2 | 0 | 0 | ||
| 3 | 0.7854 | |||
| 4 | 1.5708 | |||
| 5 | 2.3562 | |||
| 6 | 3.1416 | |||
| 7 | 3.927 | |||
| 8 | 4.7124 | |||
| 9 |
5 Finding the Opposite Side in a Right Triangle
Given the hypotenuse and an angle, this formula calculates the length of the opposite side using the sine ratio. The formula multiplies the hypotenuse in column A by the sine of the angle (in radians) in column B. For a hypotenuse of 10 and angle 30 degrees, the opposite side is 5.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Hypotenuse | Angle (degrees) | |||
| 2 | 10 | 30 | 5 | ||
| 3 | 15 | 45 | |||
| 4 | 20 | 60 | |||
| 5 | 8 | 90 | |||
| 6 | 12 | 0 | |||
| 7 |
Common SIN errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #VALUE! | The argument is non-numeric, such as text or a blank cell that is interpreted as text. | Ensure the argument is a number or a reference to a cell containing a number. Use ISNUMBER to check. |
| #NUM! | The argument is too large or results in an invalid operation (rare for SIN). | Verify the number is within a reasonable range; SIN accepts any real number. |
| Wrong result (e.g., 0.5 instead of 0.707 | The angle is in degrees but SIN expects radians. | Convert degrees to radians using RADIANS or multiply by PI()/180. |
Tips for using SIN
- Always convert degrees to radians before using SIN; use RADIANS or PI()/180.
- Use PI() for precise radian values, e.g., =SIN(PI()/6) returns 0.5.
- Remember that SIN returns a value between -1 and 1; if you get something else, check your input.
- Combine SIN with other functions like COS and TAN for comprehensive trigonometric calculations.
- For graphing, generate a series of x-values and apply SIN to each to create a smooth curve.
Frequently asked questions
What is the difference between SIN and ASIN?
SIN returns the sine of an angle, while ASIN returns the arcsine (inverse sine) of a number, giving the angle whose sine is that number.
Can SIN handle negative angles?
Yes, SIN accepts negative angles and returns a negative sine value accordingly.
How do I use SIN with degrees in Excel?
Convert degrees to radians first: =SIN(RADIANS(30)) or =SIN(30*PI()/180).
Why does =SIN(30) not return 0.5?
Because 30 is interpreted as 30 radians, not degrees. The sine of 30 radians is approximately -0.988.
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. SIN reference