> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2.0/toolbox/math/subtract.md).

# Subtract

## Overview

![](/files/-MIxaUs5FQaTlQkL_uWA)

**Subtract** is a *basic arithmetic operation* **Node**, which performs a sequence of subtraction operations, from top-to-bottom, for each `Input` **Socket**, whose value is subtracted from the result of the previous operation.

This is the equivalent of the subtraction (`-`) operation in computer science and mathematics.

## Attributes

| Attribute        | Type                                          | Description                                                                                        |
| ---------------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `Data Type`      | **Drop-down**                                 | The type of data that will be plugged into the `Input` **Sockets**.                                |
| `Default Inputs` | *Defined in the `Data Type`* ***Attribute***. | The amount of `Input` **Sockets** and their default values if they have no data connected to them. |

## Inputs

| Input             | Type                                          | Description                                                           |
| ----------------- | --------------------------------------------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**                                     | A standard input **Pulse**, to trigger the execution of the **Node**. |
| `Input [n]`       | *Defined in the `Data Type`* ***Attribute**.* | The values to be subtracted sequentially, from top-to-bottom.         |

## Outputs

| Output             | Type                                          | Description                                                                                                                          |
| ------------------ | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| *Pulse Output* (►) | **Pulse**                                     | A standard output **Pulse**, to move onto the next **Node** along the *logic branch*, once this **Node** has finished its execution. |
| `Output`           | *Defined in the `Data Type`* ***Attribute**.* | The result of the subtraction operation(s).                                                                                          |
