Notion progress bar formula
There are two ways to show progress in Notion: let Notion draw a bar for you, or build a text bar yourself with a formula. Both start from a number between 0 and 1.
1. Get a 0–1 progress number
If you already have a Progress number property, you're done. If progress comes from related tasks with a Done checkbox:
lets(
tasks, prop("Tasks"),
if(tasks.length() == 0, 0, tasks.filter(current.prop("Done")).length() / tasks.length())
)
The if guards against dividing by zero when a project has no tasks yet.
2a. Easiest: Notion's built-in bar
Make the formula return that number, then open the property settings and set the number format to Percent and Show as → Bar (or Ring). You don't need any extra formula code.
2b. Text bar you control: repeat()
lets(filled, round(prop("Progress") * 10),
repeat("■", filled) + repeat("□", 10 - filled))
Rounding once and reusing it with lets keeps the bar exactly 10 blocks long. Add a percent label with + " " + format(round(prop("Progress") * 100)) + "%".
repeat("■", prop("Progress") * 10) + repeat("□", 10 - prop("Progress") * 10). repeat() rounds a decimal count on its own, so at 0.25 progress you get 3 filled (2.5 rounds up) and 8 empty (7.5 rounds up): 11 blocks. Round once, then subtract.Practice it
Play with it
Edit the formula and press Run. Try other characters like "█" and "░", or a 20-block bar.
More: cheat sheet · all exercises