Tool to make symbolic computations. A formal calculator to make exact scientific calculations, with parenthesis, variables, etc.
Calculator - dCode
Tag(s) : Symbolic Computation
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A formal calculator, also called a symbolic calculator, is a tool capable of manipulating mathematical expressions containing variables. It allows for exact (not approximate) calculations and for simplifying algebraic expressions. It also allows for ordinary numerical calculations with large numbers (arbitrary precision).
Write the calculation to be performed (if there are variables or functions, respect the syntax).
Example: Simplification of polynomials with variable: $$ x^2-(x-1)(x+2)+2x = x+2 $$
Example: Computation (addition, subtraction, multiplication, division) with unknowns: $$ a+1+a-2 = 2a-1 $$
Performing a formal calculation with variables does not mean solving an equation. dCode offers an equation solver and other tools such as derivative, antiderivative, integral, etc.
Most common functions (parenthesis are mandatory) are
| sqrt() or √() | square root |
|---|---|
| exp() | exponential |
| log() or ln() | natural logarithm (base e) |
| log2() | logarithm (base 2) |
| log10() | logarithm (base 10) |
| cos() | cosine |
| sin() | sine |
| tan() or tg() | tangent |
| arcsin() or asin() | arc sine |
| arccos() or acos() | arc cosine |
| arctan() or atan() | arc tangent |
| csc() | cosecant |
| sec() | secant |
| cot() | cotangent |
| arccsc() or ascs() | arc cosecant |
| arcsec() or asec() | arc secant |
| arccot() or acot() | arc-cotangent |
| cosh() | hyperbolic cosine |
| sinh() | hyperbolic sine |
| tanh() or tgh() | hyperbolic tangent |
| arcsinh() or asinh() | hyperbolic arc sine |
| arccosh() or acosh() | hyperbolic arc cosine |
| arctanh() or atanh() | hyperbolic arc tangent |
| csch() | hyperbolic cosecant |
| sech() | hyperbolic secant |
| coth() | hyperbolic cotangent |
| arccsch() or ascsh() | hyperbolic arc cosecant |
| arcsech() or asech() | hyperbolic arc secant |
| arccoth() or acoth() | hyperbolic arc cotangent |
| abs() | absolute value |
| sign() | function sign |
| arg() | argument |
| im() | imaginary part |
| re() | real part |
| ii (double i) | i (imaginary unit) |
A formal calculator can perform symbolic calculations, while a standard calculator performs numerical calculations. The formal calculator preserves variables and symbolic expressions.
A computer algebra software (CAS, such as Mathematica, Maple or Matlab) offers much more extensive functionality but requires knowing the language of each software. An online formal calculator is a simplified version, focused on speed and the ease of obtaining results.
dCode retains ownership of the "Calculator" source code. Any algorithm for the "Calculator" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Calculator" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Calculator" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Calculator" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Calculator on dCode.fr [online website], retrieved on 2025-10-24,