Google Sheets COS Function: Syntax, Examples & Tips

The COS function returns the cosine of an angle given in radians, useful for trigonometric calculations in spreadsheets.
Google Sheets
COS(angle)

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is a COS Google Sheets Formula?
  3. A Practical Example
  4. COS Formula
  5. Result of the Formula
  6. Why Use COS?
  7. Key Takeaways:
  8. Example use case

Parameters

angle: The angle in radians for which you want to calculate the cosine. This can be a number, a cell reference, or a formula that returns a numeric value representing the angle in radians.

What is a COS Google Sheets Formula?

The COS function in Google Sheets is a mathematical function that returns the cosine of a given angle. The angle must be provided in radians, making it essential for users to convert degrees to radians if necessary. This function is particularly useful in various fields such as engineering, physics, and computer graphics, where trigonometric calculations are frequently required.

In simpler terms, the COS function allows you to calculate the cosine value of an angle, which can be used in various mathematical and scientific applications.

A Practical Example

Imagine you are working on a project that involves calculating the horizontal distance of a projectile launched at a certain angle. You need to find the cosine of the launch angle to determine the horizontal component of the velocity.

Launch Angle Table:

LaunchAngle (degrees)LaunchAngle (radians)
30=RADIANS(A2)
45=RADIANS(A3)
60=RADIANS(A4)

Velocity Table:

Velocity (m/s)Horizontal Component
20=A2 * COS(B2)
20=A3 * COS(B3)
20=A4 * COS(B4)

You want to calculate the horizontal component of the velocity for each launch angle.

COS Formula

To achieve this, you would use the COS function as follows:

Google Sheets
=COS(RADIANS(A2))

In this formula:

  • A2 is the cell containing the LaunchAngle in degrees.
  • RADIANS(A2) converts the angle from degrees to radians, which is necessary for the COS function to work correctly.

Result of the Formula

When you apply the COS formula to the Launch Angle Table, the output would look like this:

LaunchAngle (degrees)LaunchAngle (radians)Horizontal Component
300.523617.32
450.785414.14
601.047210.00

In this case, the horizontal component of the velocity is calculated using the cosine of the launch angle.

Why Use COS?

The COS function is beneficial because it simplifies the process of performing trigonometric calculations in Google Sheets. It allows users to easily compute cosine values without needing to rely on external tools or complex calculations. This function is essential for anyone working in fields that require mathematical modeling or analysis.

Key Takeaways:

  • COS: A mathematical function that returns the cosine of an angle in radians.
  • Conversion Required: Angles must be converted from degrees to radians for accurate calculations.
  • Applications: Useful in physics, engineering, and any scenario involving trigonometric calculations.
  • Ease of Use: Simplifies complex calculations, making it accessible for users of all skill levels.

The COS function is an essential tool for anyone working with trigonometric functions in Google Sheets, providing a straightforward way to enhance mathematical analysis and calculations.

Happy calculating!

Example use case

You have a table with angles in degrees in Column A. By using the COS formula in Column B, you can calculate the cosine values for each angle. This allows for quick mathematical analysis and helps in various engineering and physics applications.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.