Custom Variables

Save a value once and insert it into any field from the icon at its right end, instead of typing it again.

Key Benefits

Store constants you use all the time — a tax rate, an inflation assumption, your hourly rate.

Insert the same value into any field from its variable icon, so every scenario uses the same assumption.

Change a value once, and the next calculation you insert it into uses the new figure.

Bulk-import variables from a CSV file when you have many to set up (free account).

Say what a number is measured in — kΩ, $/mo, kcal — so a saved figure still means something months later.

How It Works

1

Open the Variables tab in the right-hand panel and click Create.

2

Give each variable a clear name (like tax_rate) and a value — a number, a date, text or JSON.

3

Click into an input field, then the variable icon at its right end, to insert a stored value.

4

Give a numeric variable its unit from the list beside the value — it is optional, and searching the list by word works as well as by symbol, so "resist" finds kΩ and "month" finds $/mo.

5

Global search shows a variable’s unit beside its value and finds it by that unit, by symbol or by word — "kg" and "kilograms" both work, and "ohm" finds a value saved in kΩ.

6

Create one straight from a field that holds a number, and the form opens with that number already in it, and its unit where the field has one.

7

You can also create one from global search: type >var rate = 5 and press Enter.

8

In the Token Converter, Snippets beside a text box saves its text as a variable and inserts a saved text or JSON variable where the cursor is.

In the User Guide: Custom Variables

Save Your First Variable

Open CalcTrail, then open the Variables tab in the right-hand panel.

Open CalcTrail

Frequently Asked Questions

Variables are global to your profile, so a value like tax_rate stays available no matter which workspace you are working in.