The calculation macro is based on the Calculations feature in the Traceability Matrix. Please feel free to read its docs to get acquainted first with the functionalities.
...
Anywhere in your Confluence page
Add the macro using /req
This dialog will open:
...
Here, you’ll need to choose the requirement that you’ll perform the calculation for.
It can be from a different space, and variant, of your current page.
Select a requirement from the list.
You can use a simple syntax and type the requirement key.
Enter your formula using the Calculation syntax.
...
Some examples
Arithmetics Operations
Ex: number * number
Aggregation functions
Ex: SUM(@Cost, from@Refines)
Add dynamic requirement detail
Ex: If you want to add some context to a requirement link.