Functions
Calcul.io offers plethora of useful functions that you can use in your calculations.
Currently, there's over 200 functions available
Complete overview of all available functionsMath.js Functions
Functions usually take a parameter or more.
| @1 |
divide(4,2)
|
|
| @2 |
4/2
|
Some functions work only with a text input. Enclose the parameter in quotes to get a proper result.
| @1 |
simplify("3 + 2 / 4")
|
|
| @2 |
simplify(3 + 2 / 4)
|
Aggregate Functions
Aggregate functions operate on all previous consecutive non-empty lines to calculate statistical values.
These functions stop at empty lines or other aggregate functions, allowing you to create multiple independent calculation groups.
Learn more about Aggregate FunctionsUsing functions functions
Open any function in this category to review its accepted syntax, try editable inputs, and follow links to related operations. Function names are case-sensitive where shown. Start with the smallest working expression, confirm its result, and then combine it with variables or earlier calculator lines for a longer calculation.
The result stays beside the expression, so you can revise one argument at a time and compare the outcome without rebuilding the rest of your work. Use separate lines when you want to preserve intermediate values for checking or reuse.
Not sure which operation fits? Return to the complete function reference to compare categories and search by function name.