A Formula property calculates a value from a note’s other fields. You enter the rule once; the library applies it to each note.

Suppose a writing project has Words set to 1200 and Target set to 5000. Dividing words by target gives 0.24. Multiplying by 100 gives 24: the percentage of the target reached.

Try it before adding it

Run this expression. Then expand Change the example note’s properties, change Words to 2500, and run it again.

Your turnAn example, separate from your shelf
Change the example note’s properties

Run the expression to see its result here.

Date examples use 9 October 2026, 12:00 UTC. Examples run in your browser using Shelf’s formula engine.

Read the expression

round(Words / Target * 100, 1)
PartWhat it does
WordsReads this note’s Words property
/ TargetDivides it by this note’s target
* 100Converts the fraction to a percentage number
round(…, 1)Rounds the result to one decimal place

Parentheses contain the function’s inputs. The comma separates the value to round from the number of decimal places.

Add the inputs to a library

Open the library’s Table view. If you followed Your first library, it already has a Number property named Words.

Select + (Add property) at the end of the column headings. Enter Target in the Name field, then choose Number. Close the property editor with its upper-right ×. In the Harbour lights row, click the Target cell, enter 5000, and press Enter. Words should still contain 1200.

These are two editable input values. The result will go in a third property.

Add the calculated property

Select the header’s + again. Enter Progress in Name, then choose Formula. The Edit formula panel opens over the property editor. Type this expression in its box:

round(Words / Target * 100, 1)

The list under the box follows what you type. Press Enter or Tab to put in the highlighted property or function; a property shows in the box as a chip. Beside the list, a short help gives the highlighted item’s syntax, one sentence and an example.

Preview with shows the result for the view’s first row, here 24. A missing property name is an error, not a guess at a different field: the box marks where it is, and the error takes the result’s place. Select the error to put the cursor there.

Close the panel with its upper-right ×, or Done on a phone. Closing keeps what you wrote, even a formula that does not work yet. Discard all changes puts back the formula as it was when you opened the panel. Then close the property editor with its ×.

Back in the table, Progress should show 24. It is a calculated cell: change Words or Target to change its result, rather than trying to type a new result into Progress. To edit the expression later, click the Progress column heading, choose Edit property, and select Edit formula.

Handle an empty or zero target

A target of zero cannot be a useful divisor. Decide what you want the result to mean in that case. This version leaves progress empty until there is a positive target:

if(Target > 0, round(Words / Target * 100, 1), empty)
Your turnAn example, separate from your shelf
Change the example note’s properties

Run the expression to see its result here.

Date examples use 9 October 2026, 12:00 UTC. Examples run in your browser using Shelf’s formula engine.

Try setting Target to 0. The result is Empty. This is different from 0%: there is no valid target yet.

Display a percent sign

If you add a % suffix to the number’s display settings, it labels the result. It does not multiply by 100. This expression already returns a percentage number, so 24 can be displayed as 24%.

Use Formula recipes for conditions, dates, and related notes, or browse the function reference when you know the operation you need.