Google Sheets SIN Function: How to Use It
In this article
The SIN function in Google Sheets returns the sine of an angle given in radians. To use it, click an empty cell, type =SIN( followed by the angle in radians or a cell reference, close the parenthesis, and press Enter. That is the whole answer. The rest of this guide covers how to get degrees into the function, what goes wrong most often, and how to read the result.
What You'll Need
- A Google account with access to Google Sheets (the free web version or the mobile app).
- A spreadsheet open, or permission to create one.
- Your angle values, either already in the sheet or ready to type.
- No add-ons or scripts are required; SIN is a built-in function.
Step-by-Step
- Open your spreadsheet at sheets.google.com or in the Google Sheets app. The steps below use the desktop browser version; the mobile app works the same way but the formula bar is at the bottom of the screen.
- Click the cell where you want the result to appear. A good habit is to put the angle in one column and the sine in the next, so you can copy the formula down later.
- Type an equals sign to start a formula:
= - Type
SIN(immediately after the equals sign. Google Sheets is not case-sensitive here, so=sin(works too, but the capitalised version is easier to read. - Enter the angle in radians. You can type a number directly, for example
=SIN(1.5708), or reference a cell such as=SIN(A2). If you type a cell reference, click the cell instead of typing its address to avoid typos. - Close the parenthesis with
)and press Enter. The cell shows the sine of the angle, and the formula stays visible in the formula bar when the cell is selected. - If your angles are in degrees, do not type them straight into SIN. Convert first with RADIANS, for example
=SIN(RADIANS(30)), which returns 0.5. Alternatively multiply by PI()/180:=SIN(A2*PI()/180). Both give the same result; RADIANS is shorter and clearer. - To fill a whole column, click the cell with the formula, grab the small square handle at its bottom-right corner, and drag down. Google Sheets adjusts relative references automatically, so
=SIN(A2)becomes=SIN(A3)on the next row. - Format the result if needed. Select the output cells and use Format > Number to set decimal places. The default general format may show many digits, which is normal for trigonometric results.
- Check one known value to confirm your setup.
=SIN(0)should return 0, and=SIN(PI()/2)should return 1. If those match, your formula and unit handling are correct.
Menu labels can differ slightly by version, device or region, but the formula syntax itself is the same everywhere.
Common Mistakes
- Feeding degrees directly into SIN.
=SIN(30)does not return 0.5; it returns the sine of 30 radians, a very different number. Wrap the angle in RADIANS or multiply by PI()/180. - Forgetting the closing parenthesis. Google Sheets will offer a correction, but accepting it blindly can put the bracket in the wrong place. Check the formula bar before pressing Enter.
- Referencing text instead of a number. If the angle cell contains a label like "30 degrees", SIN returns a #VALUE! error. Keep the numeric angle in its own cell and put the unit in the header.
- Mixing radians and degrees in one column. Decide on one unit for the whole sheet and note it in the column header. Mixing units produces results that look plausible but are wrong.
- Expecting exact zeros.
=SIN(PI())may show a tiny number close to zero rather than exactly 0 because of floating-point rounding. That is normal, not a bug.
Tips
- Use
DEGREESin reverse when you need to go from a radian result back to degrees, for example=DEGREES(ASIN(0.5)). - Name your angle column clearly, such as "Angle (rad)" or "Angle (deg)", so anyone opening the sheet knows which conversion to apply.
- Combine SIN with other trig functions in the same sheet: COS, TAN, ASIN, ACOS and ATAN all follow the same pattern and all expect radians.
- For a quick visual check, plot the angle column against the sine column with Insert > Chart and choose a line chart. A smooth wave confirms the formula is behaving as expected.
- If you reuse the same angle many times, put the conversion in a helper column once rather than repeating RADIANS in every formula. It makes errors easier to spot.
Troubleshooting
If the formula will not calculate, work through these checks in order.
- #VALUE! error. The argument is text, an empty cell, or a cell containing an error. Click the cell and check the formula bar; replace the reference with a numeric cell or a number.
- #NAME? error. The function name is misspelled or the equals sign is missing. It should read
=SIN(...), notSIN(...). - #N/A error. A referenced cell is empty in a way the function cannot use, often after a VLOOKUP. Fill the source cell or wrap the lookup in IFERROR.
- Result looks wrong. Confirm the unit. Multiply the displayed result check: if
=SIN(30)gave something near -0.988, the angle was treated as radians. Convert with RADIANS and compare. - Formula shows as text. The cell may be formatted as plain text. Select it, use Format > Number > Automatic, then re-enter the formula.
- Nothing updates after editing the angle. Check for manual calculation mode under File > Settings > Calculation. Set it back to automatic if it was changed.
If none of that helps, copy the formula into a fresh cell in a new sheet. If it works there, the problem is in the original sheet's data or formatting rather than the function.
Frequently Asked Questions
Does Google Sheets SIN use degrees or radians?
Radians. Every built-in trig function in Google Sheets expects radians, so convert degrees with RADIANS or multiply by PI()/180 first.
How do I get the sine of 30 degrees in one formula?
Use =SIN(RADIANS(30)), which returns 0.5. The longer equivalent is =SIN(30*PI()/180).
Why does SIN(PI()) not return exactly zero?
Computers store decimals with limited precision, so the result is an extremely small number near zero. Round it with ROUND if you need a clean zero.
Can I use SIN on a whole range at once?
Not directly. SIN takes a single number. Enter the formula in the first row and drag the fill handle down, or use ARRAYFORMULA with a range if you are comfortable with array syntax.
What is the difference between SIN and ASIN?
SIN takes an angle and returns the ratio; ASIN takes a ratio and returns the angle in radians. Use DEGREES around ASIN if you want the answer in degrees.
Does SIN work in the Google Sheets mobile app?
Yes. Type the same formula into the formula bar at the bottom of the screen. The function set is the same as the desktop version.