CalcTree Help Pages
  • What is CalcTree?
  • Getting started
    • CalcTree Pages
    • Create a CalcTree Page
    • Add a calculation
    • Collaborate with a colleague
  • Calculations
    • Parameters
      • Math formulas
        • Parameter Data Types
        • Native Functions
          • Arithmetic Functions
          • Trigonometric Functions
          • Logical & Comparison Functions
          • Matrix & Vector Functions
          • Probability & Combinatorics Functions
          • Statistical Functions
          • String Functions
          • Utility Functions
          • Other Native Functions
        • Valid Expression Syntax
      • Supported Units
      • Dropdown List Parameters
        • Linking CSV Data to Dependent Dropdowns in CalcTree
      • Parameter Settings
    • Integrations
      • Python in CalcTree
        • Adding a Python Source
        • Defining Parameters in Python
        • Referencing Other Parameters in Python
        • Working with Units in Python
        • Creating Tables and Visuals in Python
        • Consuming Files in Python
        • Using Pre-installed Python Libraries
      • Spreadsheets [Coming Soon!]
      • File Upload
        • CSV files
      • 3rd Party Software Plugins
        • Excel
        • Grasshopper
        • ETABS [v20 & v21]
        • ETABS [v22]
        • SAP 2000
        • CSI Bridge [v26]
    • Templates [Coming Soon!]
    • Optimising your calculations
  • Pages & Reports
    • CalcTree Documents
    • Static content
    • Parametric content
      • Parametric equation
      • Inputs
      • Outputs
  • Export to PDF
  • API
    • GraphQL API
      • Generating an API key
      • Queries
        • GetCalculation
        • Calculate
      • Examples
        • Bulk calculations with Python
  • Collaborate
    • Add members
    • Review and approval
    • Add stakeholders
  • Administrate
    • CalcTree Workspace
    • Versioning and Audit trail
  • CalcTree for System Administrators
Powered by GitBook
On this page
  • Standard Trigonometric Functions
  • Inverse Trigonometric Functions
  • Hyperbolic Trigonometric Functions
  • Inverse Hyperbolic Functions
  • Notes for CalcTree
  1. Calculations
  2. Parameters
  3. Math formulas
  4. Native Functions

Trigonometric Functions

PreviousArithmetic FunctionsNextLogical & Comparison Functions

Last updated 1 day ago

CalcTree supports a full range of trigonometric and hyperbolic functions using . All trigonometric functions operate using radians by default.

To convert degrees to radians, use:

deg * (pi / 180)  

To convert radians to degrees:

rad * (180 / pi)  

Standard Trigonometric Functions

Function
Description
CalcTree Example

sin(x)

Sine

sin(pi / 2) → 1

cos(x)

Cosine

cos(0) → 1

tan(x)

Tangent

tan(pi / 4) → 1

cot(x)

Cotangent

cot(pi / 4) → 1

sec(x)

Secant

sec(0) → 1

csc(x)

Cosecant

csc(pi / 2) → 1

Inverse Trigonometric Functions

Function
Description
CalcTree Example

asin(x)

Inverse sine

asin(1) → pi / 2

acos(x)

Inverse cosine

acos(1) → 0

atan(x)

Inverse tangent

atan(1) → pi / 4

atan2(y, x)

2-arg inverse tangent (y/x)

atan2(3, 3) → pi / 4

acot(x)

Inverse cotangent

acot(1) → pi / 4

asec(x)

Inverse secant

asec(1) → 0

acsc(x)

Inverse cosecant

acsc(1) → pi / 2

Hyperbolic Trigonometric Functions

Function
Description
CalcTree Example

sinh(x)

Hyperbolic sine

sinh(0) → 0

cosh(x)

Hyperbolic cosine

cosh(0) → 1

tanh(x)

Hyperbolic tangent

tanh(0) → 0

coth(x)

Hyperbolic cotangent

coth(1) → 1.31...

sech(x)

Hyperbolic secant

sech(0) → 1

csch(x)

Hyperbolic cosecant

csch(1) → 0.85...

Inverse Hyperbolic Functions

Function
Description
CalcTree Example

asinh(x)

Inverse hyperbolic sine

asinh(1) → 0.881...

acosh(x)

Inverse hyperbolic cosine

acosh(2) → 1.317...

atanh(x)

Inverse hyperbolic tangent

atanh(0.5) → 0.549...

acoth(x)

Inverse hyperbolic cotangent

acoth(2) → 0.549...

asech(x)

Inverse hyperbolic secant

asech(0.5) → 1.317...

acsch(x)

Inverse hyperbolic cosecant

acsch(2) → 0.481...

Notes for CalcTree

  • All trigonometric functions use radians by default.

  • Inputs can include units (e.g., degrees), but they must be converted to radians manually for most trigonometric functions.

  • Results are unitless unless explicitly wrapped in unit conversion logic.

📘 Looking for more functions? CalcTree’s expression engine is powered by . For a full list of available functions, visit the . Most functions listed there are supported in CalcTree unless otherwise noted.

MathJS syntax
MathJS
MathJS Function Reference