---
title: How do I calculate fields with formulas?
description: Learn how to add a formula to a field in a workflow. A follow-up article explains the formulas themselves in more detail.
---

[Skip to content](https://support.vaira.app/en/how-do-i-calculate-fields-with-formulas#main-content)

- [English](https://support.vaira.app/en/how-do-i-calculate-fields-with-formulas)
- [Deutsch (German)](https://support.vaira.app/wie-kann-ich-felder-über-formeln-berechnen-lassen)

English

Show submenu for translations

[![App Icon - Orange Gradient + Logo - White Gradient- 512px](https://support.vaira.app/hs-fs/hubfs/Vaira%20Design-Elemente/App%20Icon%20-%20Orange%20Gradient%20%2B%20Logo%20-%20White%20Gradient-%20512px.png?width=50&height=50&name=App%20Icon%20-%20Orange%20Gradient%20%2B%20Logo%20-%20White%20Gradient-%20512px.png)](https://support.vaira.app/?hsLang=en)

- [Ticket erstellen](https://vaira.app/bug)
- [Zum Kundenportal](https://support.vaira.app/tickets)

Open main navigation

Close main navigation

- [Ticket erstellen](https://vaira.app/bug)
- [Zum Kundenportal](https://support.vaira.app/tickets)
- - [English](https://support.vaira.app/en/how-do-i-calculate-fields-with-formulas)
    - [Deutsch (German)](https://support.vaira.app/wie-kann-ich-felder-über-formeln-berechnen-lassen)

  English
  
  Show submenu for translations
- [kostenlosen Account erstellen](https://vaira.app/kostenlos)

[kostenlosen Account erstellen](https://vaira.app/kostenlos)

 Hallo. Wie können wir dir helfen?

- There are no suggestions because the search field is empty.

1. [Vaira Knowledge Database](https://support.vaira.app/en?hsLang=en)
2. [Vaira Office](https://support.vaira.app/en/vaira-office?hsLang=en)
3. [Workflows and processes](https://support.vaira.app/en/vaira-office?hsLang=en#workflows-and-processes)

December 4, 2026

# How do I calculate fields with formulas?

With Vaira, you can run automatic calculations across one or more fields and decide exactly what a field should show. A common example from billing: a total is calculated automatically from the number of components used and the cost per piece. But that's not all you can do. Besides adding up values, you can also simply combine fields.

With the right syntax, you can, for example, merge different text fields such as a customer's address, name and phone number into a single field. Other options include setting a fixed value for a field or adding up lists. In short, formulas let you define the content of fields exactly the way you need it. Here you can learn [more about the different field types](https://support.vaira.app/en/which-fields-are-available-for-tasks?hsLang=en).

In this guide, we assume you already know [how to create tasks in a workflow](https://support.vaira.app/en/how-do-i-create-tasks-in-a-workflow?hsLang=en).

### Set up a field calculation

To calculate fields with formulas, follow these steps:

1. In [Vaira Office](https://support.vaira.app/en/what-is-vaira-office?hsLang=en), open the [workflow](https://support.vaira.app/en/what-is-a-workflow?hsLang=en) you want via **Workflows** in the top bar and click **Edit** at the top right. You're now in the workflow editor.  
   [![Workflow editor in Vaira Office with two steps and the task Summe berechnen](https://support.vaira.app/hs-fs/hubfs/2026-12-03_Vaira-Office_Formel-Workflow-Beispiel_EN.png?width=670&name=2026-12-03_Vaira-Office_Formel-Workflow-Beispiel_EN.png)](https://support.vaira.app/hubfs/2026-12-03_Vaira-Office_Formel-Workflow-Beispiel_EN.png?hsLang=en)
2. Open the task in which you want a field to be calculated. To do this, click the **arrow** to the right of the task name under **Tasks** in the left-hand column. **Important:** the **trash can** icon to the left of the name deletes the task – so please don't mix them up. The task opens on the right with all its **form fields**. Below each field, you'll find three small icons. The middle one, a small calculator, is the **field calculation**. If a formula is already set up for a field, the icon is orange.  
   [![Open task in the workflow editor with the form fields and the field calculation icon below each field](https://support.vaira.app/hs-fs/hubfs/2026-12-03_Vaira-Office_Formel-Aufgabe-IDs_EN.png?width=370&name=2026-12-03_Vaira-Office_Formel-Aufgabe-IDs_EN.png)](https://support.vaira.app/hubfs/2026-12-03_Vaira-Office_Formel-Aufgabe-IDs_EN.png?hsLang=en)
3. Click the **field calculation** icon of the field you want. The **field calculation** window opens. At the top, you'll see the field's name and field ID for reference. Below that, you can enter a **title**, a **description** and the **formula**.  
   [![Field calculation window with the input fields for title, description and formula](https://support.vaira.app/hs-fs/hubfs/2026-12-03_Vaira-Office_Feldberechnung-Formel_EN-1.png?width=670&name=2026-12-03_Vaira-Office_Feldberechnung-Formel_EN-1.png)](https://support.vaira.app/hubfs/2026-12-03_Vaira-Office_Feldberechnung-Formel_EN-1.png?hsLang=en)
4. When you've filled everything in, click **Save** in the window. Then also save the task using **Save** at the top of the side panel.
5. For the calculation to apply to new processes, click **Activate** at the bottom right. If you want to keep building first, you can also save your progress with **Save draft**.

Done! Now that you know the menu, it's time to learn what formulas in Vaira can look like. Find out more about [how formulas work in Vaira in general](https://support.vaira.app/en/how-do-formulas-work-in-vaira?hsLang=en).

### Set a fixed value using the field calculation

Sometimes a field shouldn't be calculated but should always show the same value – for example, a fixed item name, a standard unit ("m") or a preset text. You can do that with the field calculation too:

1. In Vaira Office, open the workflow in the workflow editor and click the **field calculation** icon of the field you want.
2. Enter the fixed value as the **formula**: 
     - Text in quotation marks, e.g. `"Standardposition"`
     - Numbers without quotation marks, e.g. `1`. Without quotation marks, the value is treated as a number; with quotation marks, it's treated as text.
3. Click **Save**, save the task and activate the workflow. The field now always shows this value.

This saves you repetitive input and avoids typos in standard values.

- [Welcome!](https://support.vaira.app/en/welcome#main-content)
- [Setup](https://support.vaira.app/en/setup#main-content)

    - [Users](https://support.vaira.app/en/setup#users)
    - [Support & customer portal](https://support.vaira.app/en/setup#support-customer-portal)
    - [14-day full version trial](https://support.vaira.app/en/setup#14-day-full-version-trial)
    - [Account](https://support.vaira.app/en/setup#account)
- [Vaira App](https://support.vaira.app/en/vaira-app#main-content)

    - [Installation](https://support.vaira.app/en/vaira-app#installation)
    - [Getting started](https://support.vaira.app/en/vaira-app#getting-started)
    - [Viewing, searching & finding](https://support.vaira.app/en/vaira-app#viewing-searching-finding)
    - [Working on processes](https://support.vaira.app/en/vaira-app#working-on-processes)
    - [AR measurement](https://support.vaira.app/en/vaira-app#ar-measurement)
    - [GNSS measurement](https://support.vaira.app/en/vaira-app#gnss-measurement)
    - [3D models](https://support.vaira.app/en/vaira-app#3d-models)
    - [Troubleshooting](https://support.vaira.app/en/vaira-app#troubleshooting)
    - [Exporting](https://support.vaira.app/en/vaira-app#exporting)
- [Vaira Office](https://support.vaira.app/en/vaira-office#main-content)

    - [Getting started](https://support.vaira.app/en/vaira-office#getting-started)
    - [Managing users and roles](https://support.vaira.app/en/vaira-office#managing-users-and-roles)
    - [Workflows and processes](https://support.vaira.app/en/vaira-office#workflows-and-processes)
    - [Processes](https://support.vaira.app/en/vaira-office#processes)
    - [Working with measurements](https://support.vaira.app/en/vaira-office#working-with-measurements)
    - [Directories](https://support.vaira.app/en/vaira-office#directories)
    - [Importing](https://support.vaira.app/en/vaira-office#importing)
    - [Exporting](https://support.vaira.app/en/vaira-office#exporting)
    - [3D models](https://support.vaira.app/en/vaira-office#3d-models)
    - [Symbols](https://support.vaira.app/en/vaira-office#symbols)
    - [APIs](https://support.vaira.app/en/vaira-office#apis)
    - [Troubleshooting](https://support.vaira.app/en/vaira-office#troubleshooting)
- [Glossary](https://support.vaira.app/en/glossary#main-content)

    - [A](https://support.vaira.app/en/glossary#a)
    - [B](https://support.vaira.app/en/glossary#b)
    - [C](https://support.vaira.app/en/glossary#c)
    - [E](https://support.vaira.app/en/glossary#e)
    - [F](https://support.vaira.app/en/glossary#f)
    - [I](https://support.vaira.app/en/glossary#i)
    - [K](https://support.vaira.app/en/glossary#k)
    - [O](https://support.vaira.app/en/glossary#o)
    - [S](https://support.vaira.app/en/glossary#s)
    - [T](https://support.vaira.app/en/glossary#t)
    - [V](https://support.vaira.app/en/glossary#v)
    - [W](https://support.vaira.app/en/glossary#w)

[![Vaira-Logo](https://support.vaira.app/hs-fs/hubfs/Vaira%20Design-Elemente/vaira%20logo%20top%20name%20bottom%20transparent.png?width=100&height=100&name=vaira%20logo%20top%20name%20bottom%20transparent.png "Vaira-Logo")](https://vaira.app)

Vaira UG (haftungsbeschränkt)  
Technologiepark 13  
33100 Paderborn

[Impressum](https://vaira.app/impressum)

<https://www.youtube.com/channel/UCmm_-1F1qeRlk25Y4gc82xw> <https://www.linkedin.com/company/34892117/> <https://www.facebook.com/VairaUG> <https://www.instagram.com/vaira.app/> <https://open.spotify.com/show/0triopkvbcf1vF8U3uPCau>

Copyright © 2026, Vaira UG (haftungsbeschränkt)