On the fly business calculations with Calculoid
Imagine that embedded Calculoid calculator loads variable's value from HTML of a site where embedded and provides on the fly calculations above site's data. It is the reality now!
Business calculations above Easy Redmine data
We have basic ROI calculator here: http://app.calculoid.com/?#/calculator/31440
It has 4 variables as inputs: Adwords Costs, Personal Costs, Other Expenses and Net Income.
And it calculates 3 basic business indicators: Operation profit, Net Margin and Marketing ROI where formulas for each are:
Operation Profit = Net Income - (Adwords + Personal +Other Expenses)
Net Margin = (Operation Profit / Net Income) * 100
Marketing ROI = Net Income / Adwords Costs
We are going to embed this calculator into a dashboard of online project management application Easy Redmine. As you can see above this dashboard renders our 4 variables from its database. The dashboard is classical HTML page so our embed is very easy - we just use the standard embed code.
The magic is that as a site renders, Calculoid loads data from the site into its own variables and provides on-the-fly calculations above them