Welcome, friend! If you are looking for a custom calculator module for Joomla! you are in the right place! Just in three easy steps you can create a great calculator for your Joomla! 1.6+ site and you don't even need to know any PHP, CSS or HTML.

First of all, your calculator needs some fields. The visitors of your site will use them to input the data they want to process.

After defining the input fields you build the formula(s), which allow the calculator to get the correct result(s).

Finally you could write some text explaining the calculator output.

Test your new calculator and if you are satisfied download the generated Joomla! module.

You see it's easy! If you have any problems, you can always ask for help in the Comments section, follow the step-by-step Tutorial, examine the Demo calculators, or just Try again to build the calculator you need.

Average rate is 4.8 / 5Average rate is 4.8 / 5Average rate is 4.8 / 5Average rate is 4.8 / 5Average rate is 4.8 / 5(153 votes)

Do you have any troubles using the site?

Do you like your new calculator? Did you manage to create and install exactly the one you need?

Please, leave your comments and suggestions here:


10 December 2013, 12:00
The new version of the Calculator Generator is finally online!

What is new in the v1.2:
- optional reset button
- change date parts in conditional statements
- three types of mail sending:
     auto - every time an user does a calculation a hidden mail is sent to the site owner with the inputs and the results.
     request - the user can click on a button to send his inputs and results to the site owner along with a message and a return e-mail address.
     self - the user can click on a button to send his inputs and the results to his own e-mail address.
You can test the request mail feature here, but if you want to perform real tests with your own calculator you have to install the generated module to your Joomla! site and enter an e-mail address in the module config page!

I am expecting your comments and ideas for the next release.
It will be great if you post here a link to your calculator. It will give me ideas for new features and will help other users to build their calculators.

You can see the comments on the previous release by clicking the link Older Comments in the upper right corner.


11 December 2013, 15:04
Hi you did a good job with the mail function (i asked it a few months ago). I think this module has a lot of potention, also for order systems etc.


11 December 2013, 19:20
Hi Herwin,
Thank you for the idea and sorry that you had to wait for so long. I am glad you like the feature!


12 December 2013, 11:49I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Dear Andrew,

I have now understood how to use your programme. Quite straight forward even for an ageing vet. However, it does not look the same on my web site. I suspect that it is a conflict in css templates but I would appreciate any instant thoughts that you might have.


Many thanks,


12 December 2013, 13:01I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
So far, the program has been wonderful! However, I have run in to one little problem (and it may be due to the fact i'm trying to sort this out at 4am...). I've downloaded the module and can access the PHP and CSS files, however there seems to be no HTML file. can you point me in the right direction to find this?
Thank you.


12 December 2013, 17:01
Hi David,
the calculator module is in conflict with your PHCTemplate. To fix this:
1/ open the calculator css file with a text editor:
your_joomla_site / modules / mod_your_calculator_name / tmpl / css / default.css
2/ add this line at the bottom:
#calc form{display: block;}
3/ save and upload the css file to your Joomla! site


12 December 2013, 17:06
Hi Clay,
with the Calculator Generator you can create a calculator module for Joomla!.
Joomla! modules don't have html files.


12 December 2013, 20:54
Thanks for the quick response...As I mentioned, it was extremely late when I found the tool...unfortunately, I didn't realize it was intended only for Joomla applications :( I've been searching high and low for a tool to help me create a custom calculator to imbed on my website and this looked so promising.


12 December 2013, 23:02I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Dear Andrew,

I have done as you suggested and this is working fine. All I need to sort now is the email side of things but that is for another day. My grateful thanks.


13 December 2013, 14:41I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Thanks for the email feature Andrew. It works perfect!!!


15 December 2013, 14:43I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
great !!


28 December 2013, 14:20I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
My wish came true, THANKS.


31 December 2013, 13:13I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Just wanna say THANXXXXXXX :)


02 January 2014, 02:25I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello Andrew,

I built 3 calculators here

After the calculate button has been clicked, if different options are inputted/chosen and the calculate button is clicked once again, The calculator reverts back to the original options.

Not sure if you can help me on this one, but if you can great



03 January 2014, 18:00
Hi Tom,
I am sorry but I can't help with this issue. I have tested your calculator on my Joomla site and there was no such problem. May be you have to check your web server options or Joomla installation.


03 January 2014, 18:21I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
How can I round up to full integer, meanig what do i have to fill in the boxes math round. I missed this one in school :-)


04 January 2014, 10:50
Hi Thomas,
it depends what kind of round do you need. If you want to round 1.2 to 1 select "round" function from the Math tab in the upper right corner. Delete 0 from the left box and click the input field/result/value you want to round.
If you want always to round up (1.2 => 2), select the "floor" function. Delete 0 from the box and fill in the field/result/value you want to round up. Type +1 next to it.


04 January 2014, 17:41I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Again Andrew,

Thank you for the response, I do appreciate it..
Before I contact my server siteground, who can be rather difficult at times. Please allow me to more accurately describe my issue.

For example, on the staircase calculator just do a basic calculation with little options such as;

Total stair count -> 13
Number of "closed" stairs -> 13
Then Calculate
Result 1235 -> Okay

Scroll back up and select "yes" on radio button -> "Do you want your stringers/skirtboards refaced with hardwood? "
Then calculate again
Result -> 1625 -> Okay

Now replace the "yes" selection with a "No" selection in the same option as just inputted above.
Calculate once again
Result -> 1625 -> Incorrect -> reverted back to calculation directly above. Did not remove option?

I hope this is more clear
Thanks again for the truly fantastic module.



05 January 2014, 19:05
Hi Tom,
I installed one of your calculators here: http://andrewart.net/jcg/test
It's ok, right? May be there is some caching on you site...


06 January 2014, 06:21I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Yes Andrew................ Thank you...... Sorry about that, pretty green mistake....


09 January 2014, 06:13
Hi andrew I was try to make this calc but at the end when I tried to test it says; "There is a critical error in the generated calculator. Please, revise your formulas!" Ive simplified my formulas and all but its still not working


09 January 2014, 19:47
Hi maigida,
I don't have access to your test calculators. If you want me to check your formulas, please send me your config file (Advanced Actions at the bottom of the generator -> Save a txt config file to your computer -> send me a mail with the file attached).


10 January 2014, 16:01
I resolved that issue already Andrew, thanks. I'll like you to see it when am done.


14 January 2014, 08:56I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,
This module works great it's just almost perfect I have only one small problem - when the submit button is clicked result appear but this action return user to the top of the page and must scroll to view calculations...can you help me with this?


14 January 2014, 20:17
Hi Plamen,
you are probably using a calculator generated before the latest update. You could download your calculator again or just open:
your_joomla_site / modules / mod_your_calculator_name / tmpl / default.php
and replace this code:


14 January 2014, 22:29
Thank you very much Andrew now everything works just perfectly. My site is offline for now, but soon will be online and I will write again to see :) Thanks again!


26 January 2014, 06:21I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
HI Andrew, i have been using your calculator for almost two years now. here is the link
Now i would like to hide an input field in case it does not apply or simply pre fill it it with N/A when an option is chosen.
The field i want prefilled or hidden when an option is selected is the weight field as it does not always apply .
for example if some one selects Phones which is my first option then the weight field does not apply and should be hidden or prefiled with N/A

The best approach i think is to hide or prefill the weight field as long as it is not part of the formula. for example see the phone formula...
case 1: //phones
if ($varNumCost


26 January 2014, 06:22
case 1: //phones
if ($varNumCost NumCost+$varNumShipping)+($varNumCost*0.1))*$rate)+100000)*$varNumQuantity;
else {

You can see that weight is not in the formula. Now see formula below where weight is required if user selects "my item is not listed here" option

case 29://my item is not listed


26 January 2014, 19:01
Hi Paul,
to dinamically hide and show fields will require JavaScript and the generated modules don't support it. I am trying to keep the modules as simple as possible so they can be used with different Joomla installations without conflicts with other plugins.


07 February 2014, 18:19
Hi Andrew my calculator sometimes fail to return any results at all. I also noticed that when this happens, all the values entered doesn't return with the page after submitting... try my calculator here http://instabuildit.com/index.php/calculators/rc-design


09 February 2014, 13:06
Hi Maigida
Did you try the calculator on another site? I tested the module here and it worked fine. May be your web server needs configuration. I can't help you with this because I don't have access to the backend of your site, sorry.


09 February 2014, 14:18I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hallo Andrew Thanks for Calculator Generator but could you tell me how to instal it on joomla 2.5 especially after i download the module
I know this is Silly question because i'm still learning on joomla

Thanks Andrew


09 February 2014, 19:59
Hi Nemih,
here are two articles about installing a module in Joomla:


10 February 2014, 10:52I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello Andrew,
I must say this calc gen. is an invaluable tool. I was able to state so much conditional statements (if) and (if of if). I was able to generate a calc that can interpolate to derive exact value in a table and so on. U're a great guy Andy, I pray I get to donate for this course soon. Meanwhile, I'll like to know if I can request some more functions and ability of the calc?


11 February 2014, 12:22

Thanks for a great module.

I am trying to have the module round up to nearest hundred. If a calculation gives the result=2520, I want to round up to 2600. And If the result is 43240 it should round up to 43300, etc.

Is this possible?


11 February 2014, 13:04
thank's for your work ! :D
I've an error on my website.
"Strict Standards: Only variables should be assigned by reference in /htdocs/public/www/modules/mod_calc3299/tmpl/default.php on line 13"
please see it on my test website at : http://www.cdn-medias.fr/index.php/les-tissus
Can you help me please ?


11 February 2014, 15:38
Hi Maigida,
Thank you. I am glad you like my Generator.
Please, write here your requests and I will try to include them in the next release.

Hi Peter,
in the last step of the Generator you can define a result format. Choose Numeric and type "-2" in the [Round to (digits after decimal point):] field


12 February 2014, 00:49
Hi, love the module but I'm having one issue maybe you can assist me with. When try to place the calculator inside an article that is generated by another module, it doesn't show up. You can see it here, http://www.temputech.com/ click on Profit/Loss Calculator, that's where I expect the calculator to appear. Any help is appreciated!


12 February 2014, 01:39
Hi Andrew,
My problem have been solved.
On default.php, line 13, I've replaced :
$document = & JFactory::getDocument();
$document = JFactory::getDocument();


13 February 2014, 15:38
Hi Franck,
I am glad it's ok now.

Hi Kevin,
I can see the calculator on your page. I guess, you managed to solve your issue too.


14 February 2014, 01:04
Is there any simple way to open the results in a new article rather than the div on the same page.


14 February 2014, 20:59
No. Sorry, Gav


15 February 2014, 02:06
I did get the calculator to work, thanks! Can you shed any light on a formula that I'm having trouble with. Here is an example of what I'm trying to achieve:
A / B = C
D * E = F
C * F = Final Result

First two formulas work fine, but the last step is giving me a 0 every time. Thoughts?



15 February 2014, 17:41
Hi Kevin,

I don't see any error in your formulas as they are written here. Why don't you try to combine them like this:
(A / B) * (D * E)
Send me your calculator name and I will check the php code.


17 February 2014, 17:20I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
The Module name is Profit/Loss Calculator. It's a little more involved than my previous example, but not much. There are basically 3 results I'm trying to get from the calculator, but only the first 2 are working, no sure why. Thanks for helping!


17 February 2014, 17:57
Figured out the issue I think. The problem is I'm trying to get 2 results simultaneously, even though the 2nd result needs the 1st result to calculate. I'm having to click the submit button twice to get the result, which I'd like to avoid. Is there a way to make a result field autogenerate?

Thanks again!


20 February 2014, 20:19
Hi Kevin,

I took a quick look at your calculator (I am sorry, I have very little time recently) and I didn't understand why did you create Result1, Result2 and Result3 fields? If you don't really need them, remove them and your calculations will be fine.


21 February 2014, 18:30
Is it possible to output 2 separate results with this mod? I am trying to output an X and Z coordinate and the results just get added to each other.

I got the single output working just fine, but I wasn't sure if this supported double outputs



22 February 2014, 10:54
Hi cronie,
I am not sure I understand your question... Did you click the Add Formula button? You just need to create two formulas if you want to have two results.


23 February 2014, 20:37
Hi, It is a wonderful program, I am wondering if you can add a logarithm function? such as base 10, the common logarithm. Regards, VT


24 February 2014, 03:37
Hi Andrew, is it possible to generate the php code for this calculator and use it on a non-joomla site? please help, this would mean a lot to me


02 March 2014, 19:57
I am sorry for my late reply!

Hi VT,
Yes, I will add a logarithm function in the next release, but I can't say when it will be online. May be in a couple of months...

Hi Maigida,
No, I don't think you can use the php code on a non-joomla site. You need to know php, but if you do, you won't need a generated code. Sorry.


08 March 2014, 19:04I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Oh boy this is a powerfull app, thanks to you i can make a calculator to find in a moth how many days are among selected by the user and calculate then how much will save if takes a package instead spear hours of consulting, formating the response of the calc depending if there could be a save or not. This is great. Congrats again!


18 March 2014, 14:50
Hi Andrew.
I have been looking for a solution to enable customers to calculate the cost of a printed banner when they input their custom sizes. Is it possible to add function to enable customer to add result to the shopping cart.


19 March 2014, 23:08
Hi Simon
No, it's too complicated, sorry.


25 March 2014, 21:23
Hi Andrew....your calc module is great! I'm just doing a simple Handicap calculation (2 input fields) and all looks well on your generator. When I download and install on my local site, the Get Handicap tab partially overlays the second input field. Can you tell me how to get more space between the 2nd field and the tab? I'm veryyyyy new to Joomla and have no coding background but am willing to try. Appreciate your help!!!!


26 March 2014, 19:15
Hi Sue,
there is a conflict between the module css and your site template. To fix the problem you can modify your css file:
your_joomla_site / modules / mod_your_calculator_name / tmpl / css / default.css
I could help with the css code if you send me a link to the page with your calculator installed.


26 March 2014, 21:54I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,

I have the same problem as Sue. Can you tell me what to change in the ccs file, please?


28 March 2014, 03:48I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew...I sent an email to the link at the bottom of this page with a snapshot of my webpage (it's a local installation so I can't send you a link). If that isn't enough to determine the problem, please let me know what files you would need. I can send you my template if that helps.

Thanks again for your help!


29 March 2014, 09:34
Hi Sue,

I am sorry for late response.
Try adding some margin to the button. Put this line at the bottom of your module css file:
#calc-button {margin-top: 2em;}
It will be best if you publish your site on some test server so I can examine it online.

Hi Karen,
There are many ways to change the css. It will be a really lucky shot if I manage to fix your problem without seeing it


29 March 2014, 15:38I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Thanks, Andrew:
The "margin-top" change didn't seem to have any affect but I did go to the #calc-button section in the file and made a couple of adjustments there. Changed "font-size" to .9em and "bottom" to -2.3em. It took a little away from the tab appearance of the button but it no longer overlays part of the input field so this will work!
Thanks again for pointing me in the right direction!


30 March 2014, 16:58
Hi Su,
I am glad you made it. CSS is quite simple and you shouldn't be afraid to experiment with it.


04 April 2014, 10:31
Hi andrew my Calculator at instabuildit.com/index.php/calculators/rc-design#calc doesn't return any results anymore. My users are complaining


04 April 2014, 19:44
Hi Maigida,

did you change anything on your site or server? The problem can't be in the calculator itself. The module doesn't change after the initial installation.


16 April 2014, 09:46I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello, I would like to know if this module you can utlizzarlo
and for a schop with complex pricing (print shop) and the price
combine it with the products. Thanks Paul


18 April 2014, 19:10
No, sorry!


19 April 2014, 04:26I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Would it be possible to implement a slider like one of possible input options?


20 April 2014, 14:45
Hi Donatas,
I am trying to keep the generated module as simple as possible. Sliders or any other kind of animation would require javascript or Flash which could cause conflicts with other templates or modules. That's why I don't have plans to implement sliders or anything outside the standard HTML controls.


24 April 2014, 12:36I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Great calculator, almost perfect I must say :-) It's exactly what I was looking for.
Though I have a technical question, maybe you couls answer. I use it for a BMI calculator, but when it show there's always a message about "division by zero" on a php file :/
Is there a way I can correct this?
Thanks :)


24 April 2014, 23:29
Hi olivier.c

The reason for the warning could be a dividing by an input field. For example: Result = 10 / numFieldX. Your PHP processor decides that numFieldX could be zero (and it is quite right because if the user doesn't fill out the field it will be evaluated as zero) and displays the warning. This won't mess with the calculations but the warning will be displayed.

- You can just turn off the warning (open php.ini file on your server and change the row "display_errors = On" to "display_errors = Off". This is the Joomla recommended value for production sites).

- If you can't edit your php.ini file, modify the calculator by creating a middle result which adds some value to the field you want to divide by. For example: Result1 = numFieldX+1

This will fool the PHP processor to think that Result1 couldn't be zero. Then edit the main formula like this: Result = 10 / Result1 and the warning will be gone. Of course, you have to be careful not to change the final result your calculator will produce.

If you can't be sure the user will always enter a value into the divisor field you have to add a conditional statement to the middle result. Otherwise PHP will display the Division by zero warning in case Result1 becomes zero.


26 April 2014, 02:41I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5

When will it be available for 3.x


27 April 2014, 18:07
Hi Anthony,

the generated modules are comatible with all Joomla 2.5+ versions including 3. If you find any problem installing the module please write and I will try to fix it.


16 May 2014, 20:25
I installed the module, but there's nothing in it. I don't have an option to create a calculator w/in the back end. Am I missing something?


17 May 2014, 14:07
Hi Bomonghani

Yes, you are missing this Step-by-Step Tutorial :)


19 May 2014, 08:18I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Love this! Is there anyway to integrate it without joomla? My site is managed by squarespace.


Lukas S.

19 May 2014, 17:31I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi, You are Goooooooooooooooooooooooooooood. Thanks


19 May 2014, 21:11I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
hi andrew,

thanks for this awesome module, realy help me alot. anyway, i'm just curious, will this module available for joomla 3 ?

Lightbench Tom

21 May 2014, 13:43I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,

Great little module thanks.

I am using it in quite a simple way to let visitors to the site (not online yet), pick their city from a long list (in UK), and then be told it it is included in a regional offer I am running, or not.

Of course it does the check and outputs two possible texts to inform the visitor of availability. I can add many more cities by editing the config file or the outputted mod_city_test_2.php. Cool!

But I was wondering if you could give me some tips (as a php newby), on how best to modify the module output php files to conditionally jump to a different local url (relative) on the site? That would be very useful, as the visitor wouldn't have to think about what to do next! And also I can much more easily make Google Adword tag triggers for Conversion tracking and all that.

Any ideas would be much appreciated. I have looked through Joomla extensions and yours is the closest (simplest) to possibly doing this sort of conditional jump in a website set of pages.



21 May 2014, 15:00
Hi Kristen,
the Generator creates Joomla modules only, sorry!

Hi Luke,
the generated modules are very simple so they are compatible with all Joomla 2.5+ versions and configurations. If you have any problem with Joomla 3, please write and I will try to fix it.

Hi Lightbench Tom,
the easiest way I can think of, is to add a link to your relative url in the result text. (Like this: Please go to <a href="url with Google tag">this page</a>) You could also use javascript to redirect the user automatically but it's a little more complicated.


23 May 2014, 19:34I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,

I tested the custome module on my joomla 3 website and it run perfectly... thanks again for this awesome module.


08 June 2014, 21:54
Hi Andrew,

I try to calculate a huge number by division
Result4 = mod (700901001234567890131400 ; 97)

The right answer would be 90 but I always get a 0.

Is there a limit for the division?

Thanks a lot!


11 June 2014, 14:37
Hi Jay,

yes, there is a limit in php math functions. If you need to calculate large numbers:
1/ ask your server administrator to install BCMath PHP library (or GMP)
2/ open your_joomla_site / modules / mod_your_calculator_name / mod_your_calculator_name.php and replace the modulus functions (number1 % number2) with bcmod(number1, number2)


11 June 2014, 18:44
Can the latest release be used on Joomla! 3.3 sites?


11 June 2014, 19:41
Hi Paije,

yes, I think so. Please, try it on a Joomla 3.3 and tell me if there are any problems.


11 June 2014, 21:04
Hi Andrew,
I am having trouble figuring out how to put in my formula correctly. I have it written down but do not understand how to create the condition statement as you describe in your tutorial. Is this something you can help with?


12 June 2014, 11:33
Hi Paije,
you could paste your formula here and I will try to explain it step-by-step.


24 June 2014, 11:28
Is it possible to make the required fields?
Thanks in advance


25 June 2014, 17:16
Hi Max,
what do you mean by "required"? The user not to be able to click the submit button - no, this is not possible, because it will require javascript. You could insert a warning in the result - if the field is 0 a red message (for example) appears "Please fill all the required fields". Take a look at this demo calculator.


25 June 2014, 20:41


30 June 2014, 00:26I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Great extension. I have the problem that the 5 options are shown underneath each other instead of horizontal. Can I change that in the default.css of the module and how? (http://www.hauszweitannen.de/Joomla10/index.php/de/ueber-empathie/empathie-test)
2) As I have 12 questions with the same 5 options, can I copy the first 5 options to the other 11? (I tried the copy command but then could not change "ifB" to "ifA".


01 July 2014, 10:02
Hi Jürgen,
Try adding this code to the default.css file:
div#calc li.calc-input fieldset.radio label {float: left;}

To copy and edit the questions:
Save a config file (from Advanced Actions at the bottom of the page)
Open it with a text editor and examine it. Copy and edit the code inside.
Upload the config file to the Generator.


01 July 2014, 11:19I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Great, worked!


15 July 2014, 11:24I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Awsome module :)
my prob is a litle bit wierd, i cant get to show the module in any of my pages , actually i am in WAMP local host
and i would apreciate it if you would help me in how to show and use the module in the front page, i have it in backend as a module calc5680 and i am using joomla 3.3


15 July 2014, 12:50
i found the way :)
if any one wondering this is the link http://docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F
talks how to put a mudule inside an article


17 July 2014, 16:05I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
I would like to give 5 stars.
But i'm missing one option...

I'd like my uders to enter a name so i know who entered the form.
(it is used internally, so only my employees can use it)

Is there a way you can alter the field into a text field instead of a Num field?
It has to be shown in the results as well.
If i try it now it wil display 0

Or should i change some PHP in default.php or mod_my_name.php
(preg_match / srt_replace / preg_replace modifications perhaps??)

Please let me know how to get it to work.


19 July 2014, 19:40
Hi Kelsey,
you can't just replace a line of code in this case, sorry. If you know a little php you could try to modify the module yourself and if you break it, just download it again.


22 July 2014, 17:04
Hello, I have created a formula as needed and downloaded the module. I am having a problem that that date selector boxes are not showing the date selected on Joomla 3.3.1. I thought it might be a width problem with my side panels but I tried using it in the main body and the dates did not show up as well. Do you have any idea on how to fix this?


22 July 2014, 19:51I rate this service with: Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5
excellent, already you understood, but to load it into joomla not is as doing so, would have way to make a video explaining loading it in page, we would help very much, thank you


22 July 2014, 19:57I rate this service with: Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5
is there way to that instead the window of the value to manipulate after the calculator, instead of being blank left with an initial example a zero value, as not to put a value it gives me errors and I have to put the value of zero


25 July 2014, 20:52
Hi Phil,
I am sorry, I can't help you with this. The calculators use the standart Joomla calendar plug-in. May be you could ask its author for help.

Hi frank(2),
I don't understand almost anything of what you are saying, but here is one link for you: How to upload Joomla module.


05 August 2014, 19:24
Hi Andrew,
I wonder if it is possible to have the answer options horizontally right next to the questions as in this example: http://www.empathiegarten.de/teq.htm
At the moment I have them under the questions as shown here: http://www.empathiegarten.de/ueber-empathie/empathie-test
Sure reducing the font helps too. The difference is that the first option only uses half the space.
It would be already of great help just to point me in the right direction where to start.
(By the way, if I want to rate, it links me to how to upload a module)
wish you well, Jürgen


07 August 2014, 20:05
Hi Jürgen,
you could add something like this at the end of your default.css file:
#calc li.calc-input>label {
    clear: both;
    font-size: 90%;
    display: block;
    float: left;
    width: 45%;
    letter-spacing: normal;
#calc li.calc-input>fieldset.radio {
    font-size: 75%;
    display: block;
    float: left;
#calc li.calc-input {
    height: 3em;

don't be afraid to edit the css. It's easy and you won't break anything ;)

P.S. Thank you for pointing out the problem with the link. Fixed it.


11 August 2014, 13:46I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Could you help me?
My calulator: http://www.ncaenergy.de/cms/index.php/online-rechner/energy-saving-calculator

I would like write an text after the result: Täglicher Stromverbrauch mit Glühbrine: 0 (KwH)
I don't know where I can do this. I don't find the en-GB.mod_energiesparrechner.ini on FTP server.

Can you tell me how to round off the values ​​to 1 decimal place. My problem is a the year number: Nach 3.4228571428571 Jahren. Correct would be: 3 years and X months.


12 August 2014, 15:37
Hi Kristin,

en-GB.mod_energiesparrechner.ini is inside your_site / language / en-GB folder
You could also add your text before download by editting the result field. Just click Edit, then add your text inside the text area where you want it.

To round a number - go to the result field (DON'T click edit this time) and click the name of the result you want to round. Select Numeric and inside the pop-up box set the numer of digits to 1.

Since you don't want to round a number but an year, you sould add another formula which calculates how many months are 0.4228571428571 parts of the year.


14 August 2014, 20:32I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Fab, worked. thanks Andrew!


27 August 2014, 18:30I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Hello ! Concept is excellent and unique, usage is easy, There is so much possibilities !
I'm just looking for a way to store results in a file or database and a way to make the email/name field mandatory so each survey can only be answered 1 time.
Any suggestion ?


29 August 2014, 17:21
Hi mac,
you can generate only calculators, sorry.


09 September 2014, 23:18I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi, Andrew! Thank you so much for this great tool you have created!!!
Please, be so kind and tell me if there is a solution to implement in this calculator the EXPONDIST function of Excel (example: EXPONDIST(x,lambda,cumulative)). I really need to implement this function into a module but I couldn't find a solution yet. Would you, please, help me? Thank you in advance.


11 September 2014, 16:11
Hi Romeo,
you can get the formulas for EXPONDIST function from this document: http://office.microsoft.com/en-us/excel-help/expondist-function-HP010335641.aspx

Create 2 numeric fields: x and lambda
Then create a choose field for the true/false cumulative option

Start the result formula with a condition: if the user selects true the calculator will process the probability density function: lambda * e (power -lambda * x)
Otherwise the calculator will process the cumulative distribution function: 1 - e (power -lambda * x)
e = 2.71828182846

You will find the power function at the upper right corner of the formulas area.

I have uploaded an example here: http://andrewart.net/jcg/components/com_calnerator/modules/romeo_calculator/conf_romeo_calc.txt
Just download the config file. Go to the Generator -> Advanced Actions and load it.


11 September 2014, 16:28I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Thank you so much, Andrew! Great answer!


12 September 2014, 10:31I rate this service with: Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5Rate 3 / 5
Hi, i have installed the module and published it, however i cannot understand from where i can add the various input fields, there is no create new field button in the module
is there a more detailed help file i could look into ???

Thank you in advance!


12 September 2014, 10:48I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Never mind i have found the solution!! thank you for this great module!!!!


25 September 2014, 10:23
Hi Andrew,

i want to load lets say, five modules into 1 page. but when i made calculation using module 1, the other 4 modules also made calculation. my question is, what should i do to prevent the other 4 module from making calculation when i make calculation using module 1 ? and for additional note, each module has same input, the only different is the formula and result.

Regards, Luke


25 September 2014, 15:57
Hi Luke,
try to use different variable names in each module. The labels can be the same. For example: if variables in module 1 are A="Apples", B="Bears", C="Cookies".. use A2="Apples", B2="Bears", C2="Cookies"... in module 2, etc.


26 September 2014, 10:40
Hi Andrew,

i tried using different variable names for each module, but still not working. every time i hit the submit button on module 1, the other module still showing result. although, the result on other module is 0, but the point is, the other module still making calculation.

i tried to change the id value in submit button for each module, but still doesn't work. any idea how to solve this ?




27 September 2014, 11:17
Hi Luke,
open this file your_site / modules / mod_your_module_name / tmpl / default.php and replace this string:
?php if ($form != ""): ?
?php if (isset($_POST['submit_your_module_name'])): ?


01 October 2014, 18:42
hi Andrew,

thank you so much, that solve my problem.

have a nice day. :D

Steven Wong

06 October 2014, 05:20I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
How do you do other math functions (ln, log, etc.)? Thanks in advance. Please respond to steven_Wildman_wong@Hotmail.com


06 October 2014, 10:57
You don't, sorry (unless you know a little php and can edit the php code).


15 October 2014, 16:17
hi, when i install the module, show me the name of the variable, but no the name that i put on the forms like.



15 October 2014, 17:37
Hi anonymous (15 October 2014, 16:17)

your language file is not loaded for some reason... Do you have this folder on your site: your_site / language / en-GB ? If not, try to unzip your module and copy file en-GB.mod_educotizador.ini inside your language folder. Then replace en-GB in the file name with the name of your folder to match the language.


16 October 2014, 23:43I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Great and easy configuration, keep it up!!!

Jan de Jong

13 November 2014, 14:26I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Hi Andrew,

Is there a possibility to style the mail output in HTML ?


13 November 2014, 17:22
Hi Jan de Jong,

you could open your_joomla_site / modules / mod_your_calculator_name / mod_your_calculator_name.php file. Find the $body variable and add some tags inside the quotes.


17 November 2014, 15:21I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Excellent job! The only thing i'd suggest is a guide on how to customize its css in order to match to a spesific page in terms of colours or font.

Great job though with huge protential for many applications.

Jan de Jong

24 November 2014, 21:49I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hello Andrew,
I used your module in http://jan61.nl/offerte and it looks very good. But when I visit the page on a mobile phone
the last input fields are not displaying allright. Can you help me out ?
And is there a possibillity to add more fields in the mail section ? for example: adress, town street.



25 November 2014, 10:47
Hi Jan de Jong,

I can't see your page. It requires user name and password.
You can't add more fields to the mail section, unless you are able to edit the php code of your module.

Jan de Jong

25 November 2014, 11:04I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hallo Andrew,

I put the site back on line


25 November 2014, 21:31
Hi Jan de Jong,
I don't see any problem with the fields on my mobile phone so I can't give you any advice, sorry. Try modifying the css until it's ok...


03 December 2014, 00:42I rate this service with: Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5Rate 4 / 5
Hello and thank you for your module.
I would like to create a converter with 5 units. But I managed with 2 units like yours. How to have unlock feature formula which gives the same result. As That:

(sorry for my english, i'm french)


03 December 2014, 21:09
Hi Frederic,
just add another 3 fields to the calculator. Then go to the formulas pane and click Add Formula... or click Copy to one of the first two. Then edit the new formulas.
You could also read the step-by-step tutorial.


11 December 2014, 21:50
Data field don't work for joomla 3.3. I can't see iton my site. It is so sadly! Please, help me with this problem. I like your generator so much...


11 December 2014, 21:52
I'm sorry. "date field"


12 December 2014, 15:59
Hi Victoria,
I am sorry, but the date field is a joomla plug-in I don't have access to. I guess you have a javascript conflict. Try to install the module on a blank page with no other modules or plug-ins and a standart template.


12 December 2014, 17:22
Hello Andrew, it is so strange because your module woked absoulutely right, when I have joomla 2.5 in this site with all plug-ins and modules...


11 January 2015, 19:57I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Dear Andrew,

I think this tool is super super super! I have only one question.

In my calculation there are 6 outcome figures. If I use the the "mail to self" option all the outcome appears in the mail i receive in one line. I would like to receive them in a list form (under each other in stead of next to each other.

I have tried all kinds of html in the formule and i have tried to adapt the php form but i am not smart enough to figure this out. Can you please tell me how i can get the outcome figures under eacht other in the mail?

Many thanks,


12 January 2015, 18:27
Hi Jelle,
thank you for your kind words and for pointing out this problem.
Please, try to open your_joomla_site / modules / mod_your_calculator_name / mod_your_calculator_name.php file and replace this code:
$formrqst = JRequest::getVar("jformrqst", "", "post");
with this:
$formrqst = $_POST['jformrqst'];
This should preserve any html formatting you do on the result text.


14 January 2015, 09:34
Dear Andrew,

Tank you very much fort the quick respond.

Kind regards,


14 January 2015, 09:34
Dear Andrew,

Tank you very much fort the quick respond.

Kind regards,


20 January 2015, 19:44I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Hi Andrew,

Excellent generator. 5 star.

How can you change/choose the email "subject" and "from" email address?

I would like to edit the email content to say something like:

Hi (Submitter Name),

Thank you for using the (Form Name) at (website). Your result are below:

(Form Results)



20 January 2015, 21:10
Hi Darran,

you can edit email details only by editing the php.
Open your_joomla_site / modules / mod_your_calculator_name / mod_your_calculator_name.php file and find the block of code which starts with:
$mailer = JFactory::getMailer();
You can change any of the texts inside the quotes.


21 January 2015, 02:02I rate this service with: Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5Rate 5 / 5
Excellent, thank you for such a fast response Andrew.