Math equation in Confluence?

Hello everybody.

I am wondering if something is possible to do in Confluence.

We are a company delivering v belts, and often we have to do calculations for how long belt our customer needs

The equation is like this (sorry for posting pic, but not sure how to write this):

L: Belt length in mm
C: Center distance in mm
D: Big pulley diameter in mm
d: Small pulley diameter in mm

What I want to do is this: If we know the center distance and center distance we can calculate the length we need for the belt.

The best solution for us is if we in a form or something can punch in the information (C, D,d), push enter and then find the needed length (L).

Is this possible to do? If yes, how can I write this equation?

Thank you very much.

3 answers

Unfortunately this is not possible in onDemand Confluence.

There are a couple of plugins in the marketplace:


For any calculations in Confluence, including the one you need, you may use CelesteCS Math for Confluence.  There are versions for both Confluence Server and Confluence Cloud.

Assume you have all the formula parameters in the table and want to calculate the result with the formula. Assume your parameters are the following table cell values:

  • A2: C
  • A3: D
  • A4: d

The calculation formula will be the following:

2 * VALUE(Table1.A2) + POW(VALUE(Table1.A3) - VALUE(Table1.A4)) / (4 * VALUE(Table1.A2)) + 1.57 * (VALUE(Table1.A3) + VALUE(Table1.A4))

As you see, it is similar to EXCEL with equal set of functions.

There is a plenty of other functions in the macro, so you may perform any calculations using formulas in EXCEL style.



Thanks Alexey for the info above.

I am trying to create a table that contains the following information:

- Allocated Time (which I've entered manually on the Confluence page)

- Remaining Time (which is = Allocated Time - Sum of all time logged on Completed issues on a project)

Does your plugin support formulas that can sum time logged on an issue filter?

Best regards.

Hi Peter,

CelesteCS Math macro supports working with datetime values. Feel free to write the following article for more details: CelesteCS Math Plugin: Working with Datetime values.


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,943 views 27 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you