Documentation
Learn how to create and share custom calculators with Calcula.club.
Getting started
Calcula.club lets you create custom calculators without writing code. Go to the Builder to start building your calculator by dragging fields and defining formulas.
Field types
Calcula.club offers several field types:
id_min and id_max{{formula}}Formula syntax
Formulas use field IDs as variables. You can use standard arithmetic operators and built-in functions.
Operators: +, -, *, /, % (modulo), ^ (power)
Comparisons: >, <, >=, <=, ==, != (return 1 or 0)
Intermediate variables: Use semicolons to define local variables:
monthly_rate = interest / 100 / 12;
n = term * 12;
principal * monthly_rate / (1 - pow(1 + monthly_rate, -n))
Available functions:
pow(x,y), sqrt(x), abs(x), round(x), floor(x), ceil(x)sin(x), cos(x), tan(x), asin(x), acos(x), atan(x)min(a,b), max(a,b), avg(a,b,c), sum(a,b,c), factorial(n)ln(x), log(x), log10(x), exp(x)if(cond, then, else)lookup(value, threshold1, result1, ..., default)pi, eAdvanced features
The Advanced section in the Builder adds extra functionality: