What this module does
The Cost Calculator shows visitors how much money they can save in several areas by a Culligan water softener. A slider lets them adjust the variables of multiple independent rows (sections), and all values update in real time. The number of rows is not fixed and can be adjusted according to the specific use case.
Each row contains:
- A configurable slider input
- Custom text labels and icons
- Adjustable default and maximum values
- An individual calculation coefficient
Configurable parameters
The module can be customized without modifying calculation logic:
- Number of calculator rows
- Text content and descriptions
- Icons
- Maximum and default slider value for each row
- Individual coefficient for each row
How calculations work
Each slider allows users to select a numerical value. The selected value is processed using the following calculation logic:
- The selected slider value is multiplied by a predefined coefficient assigned to that row
- The result is rounded to the nearest whole number
- The rounded value is multiplied by a fixed factor of 12 (representing monthly-to-yearly conversion)
Formula:
Annual result = Round(slider value × coefficient) × 12
Result display
For each row, the calculated value is displayed individually in the results section.
The module also generates cumulative values:
- Total value – sum of all row results
- 10-year projection – total value multiplied by 10
Formula:
10-year projection = Total result × 10
Example:
Surface area
Default value - 120
Max range - 500
Coefficient - 0.082
______________________________
Round(120 × 0.082) × 12
Round(9.84) × 12
______________________________
120
Energy costs
Default value - 150
Max range - 1000
Coefficient - 0.082
______________________________
Round(150 × 0.06) × 12
Round(9) × 12
______________________________
108
Default value - 20
Max range - 200
Coefficient - 0.075
______________________________
Round(20 × 0.075) × 12
Round(1.5) × 12
______________________________
24
Result
+ 120
+ 108
+ 24
______________________________
Annual cost 252
in 10 years 2520
Version 1
How much does limescale cost you in your home?
Enter your information below to find out how much limescale will cost you!
(electricity + gas)
(food + cleaning products)
Cost of deterioration of your appliances and pipes
Extra energy consumption to heat your hard-water
Extra consumption of cleansing products to remove limescale and moisturize dry skin