---
description: Calculate your mathematical expressions
---

# Calculator

<figure><img src="https://979265983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKBgZy6xqjdYb7KIbxI6u%2Fuploads%2Fgit-blob-818e3c81e294fd54b6a29a18d60a38ef9c20dfd6%2F028-calc.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Nitrocid KS provides this feature as an addon.
{% endhint %}

The calculator is used to perform arithmetic operations, ranging from the simplest operations to the most complex ones, powered by the StringMath library. Its syntax reference can be reviewed in the below link to the official library documentation.

{% @github-files/github-code-block url="https://github.com/miroiu/string-math/blob/master/README.md" %}

For the imaginary numbers and their analysis, you can consult the `imaginary` command to get the real/imaginary formula in both its exponential and its triangular form.
