---
title: "Evaluate Math"
description: "Evaluate a math expression and put the number on the pipe."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/utility/evaluate-math"
---
# Evaluate Math

> Evaluate a math expression and put the number on the pipe.

<block-meta block="Yes" channels="Any" folder="basic/utility" group="Utility" groupTo="/build/workflows/blocks/utility" icon="i-lucide-calculator" pipe="Value" scope="Any" tool="No" type="utl.eval.math">



</block-meta>

**Evaluate Math** computes **Expression** and writes the number to the data pipe. Use operators such as `+`, `-`, `*`, `/`, and parentheses.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Expression
      </strong>
    </td>
    
    <td>
      Required formula (for example <code>
        (2 + 3) * 5
      </code>
      
      )
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after evaluation
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`). The value is `number`.

## Use case

- Totals, tax, or quantity × price without a script block.
- Feed the number into a [condition](https://docs.vettero.com/build/workflows/blocks/condition) or [Update](https://docs.vettero.com/build/workflows/blocks/context/update).

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
