Sandeep's Nook: JavaScript Page


Maths Related Scripts


 1. TEMPERATURE CONVERTER
    Below is a JavaScript Temperature Converter. You can convert from Centigrade into Fahrenheit or vise-versa. Just click inside either the 'Centigrade' or 'Fahrenheit' textbox and type in the temperature and press the ENTER key to see the converted value.

 Centrigrade :  Fahrenheit

 

 

Click here for the script.
 
 2. MILEAGE CALCULATOR
   

Below is a simple JavaScript Mileage Calculator. You can find the average fuel consumption over a certain period by typing in the distance travelled and the fuel consumed under the given text boxes and then clicking the Compute button. Using this script you need not bother about the numbers being in gallons or litres or kilometres or miles.

 Distance
 Travelled
 Fuel
 Consumed
    Mileage
         
Click here for the script.
 
 3. MULTI CONVERTER
   

This script can be used to convert between different units of Length, Weight and Area. Just type in the number you want to convert in the text box on the left. Choose the unit from the drop down menu above the text box. Then choose the unit you want it converted to in the drop down menu on the right. Finally just click the button marked ">>" to see the result in the text box on the right.

 Length 
       
     
 Area 
       
     
 Weight 
       
     

Click here for the script.
 
 4. MULTI CONVERTER - II
   

This script carries the same functionality of the above script the only difference being that the different Units are hidden in layers. To access any particular Unit just click that Unit's tab.

Click to see the script.

Click here for the script.
 
 5. LENGTH UNITS CONVERTER
   

Below is a script with the help of which you can convert the different units of length. Just type in the number you want to convert in the text box on the left. Choose the unit from the drop down menu above the text box. Then choose the unit you want it converted to in the drop down menu on the right. Finally just click the button marked ">>" to see the result in the text box on the right.

       
     
Click here for the script.
 
 6. WEIGHT UNITS CONVERTER
   

Below is a script with the help of which you can convert the different units of weight. Just type in the number you want to convert in the text box on the left. Choose the unit from the drop down menu above the text box. Then choose the unit you want it converted to in the drop down menu on the right. Finally just click the button marked ">>" to see the result in the text box on the right.

       
     
Click here for the script.
 
 7. AREA UNITS CONVERTER
   

Below is a script with the help of which you can convert the different units of area. Just type in the number you want to convert in the text box on the left. Choose the unit from the drop down menu above the text box. Then choose the unit you want it converted to in the drop down menu on the right. Finally just click the button marked ">>" to see the result in the text box on the right.

       
     
Click here for the script.
 
 8. MULTIPLICATION TABLE CREATOR
   

This is a Multiplication Table script. Just type in a number and the multiple and then click the Get Table button. The table will present itself inside a small pop-up window.

Number Multiple  
Click here for the script.
 
 9. PERCENTAGE CALCULATOR
   

With the help of this script you can figure out the percentage by feeding the script with the divisor and dividend. You can also find out the divisor by feeding the percentage and dividend. Just type in the values and click the Compute button to see the result.

 Number  Princical     Percent 
         
 Percent  Princical     Number 
         
Click here for the script.
 
 10. CIRCLE AREA FINDER
   

With the help of this script users can find the area of a Circle if they have the value of either the Diameter, Circumference or Radius. Just type in the value and then choose whether the input is Diameter, Circumference or Radius from the drop down menu provided. Then click the Get Area button.

Input:  
Click here for the script.
 
 11. BMI FINDER
   

This script calculates your Body Mass Index. With the help of this index you can get an objective estimate of your health status. Do remember that BMI does not consider the lean body mass variable and so for muscular, athletic individuals this index could prove erroneous. Enter your weight in kilograms or pounds and your height in feet or centimetres in the form below and click the Get BMI button. To know more: Click here!
Disclaimer: Readings and Comments may not be accurate and are not intended to serve as medical advice.

Weight: kgs.   OR    lbs.
Height: Ft.  In.   OR    Centimetres.
       Body Mass Index:  
Comment:
Click here for the script.
 
 12. GEOMETRIC PROPERTIES OF TRIANGLE
   

This script enables users to find out areas of a triangle if the three sides are known. Moreover it finds out the areas of the largest and smallest inscribed circle. To run the script just feed in the values of the three sides A, B and C and then click the Compute button.

Side A: Area of Triangle:
Side B: Area of Largest Inscribed Circle:
Side C: Area of Smallest Inscribed Circle:
Angle between A and B:
Click here for the script.
 
 13. TRIGONOMETRIC FUNCTIONS
   

This simple script calculates trigonometric ratios and their inverse.

Angle Function Inverse Degrees Gradients   Value
   
Click here for the script.
 
 14. SIMPLE CALCULATOR
   

This is a simple JavaScript Calculator script. It does only basic calculations like Addition, Subtraction, Multiplication and Division.

Simple Calculator
Input 1 Symbol Input 2
Equation   Result
Click here for the script.
 
 15. CALCULATOR* UPDATED *
   

This is a JavaScript Calculator script. It has most of the functions of a standard calculator like Memory, Memory Recall, Memory Clear, Square Root, Reciprocal and Percentage.

Calculator
Click here for the script.
 
 16. NUMBER SORTER
   

This script sorts numbers numerically. The numbers to be sorted are to be typed into a textarea. On a click of the button the numbers will appear in another textarea sorted numerically.

Click to view this script.
 
 17. ROUND TO NUMBER
   

This script rounds fractional numbers to the number of decimals the users want. The number to be rounded should be typed into the textbox provided and the 'Round to...' button clicked. Then users should type in the decimals they want the number to be rounded to in the prompt that appears. In the example shown the number is 2.

Click here for the script.
 
 18. TEXTAREA ADDER
   

The Textarea Adder script adds numbers fed within a textarea. Just type in the numbers to be added in the textarea and click the Add button. The added total will appear in a textbox.

Click to view this script.
 
 19. AGE CALCULATOR
   

This script can be used to find out one's age. Users have just to type in their full date of birth and the script will tell them their age.

Click to view this script.
 
 20. GAIN IN PERCENT CALCULATOR
   

A simple script to calculate the percentage of gain or increase between any two units.

Click to view this script.
 
 21. COMPOUND INTEREST CALCULATOR
   

A simple script to calculate the compound interest.

Click to view this script.
 
 22. WHR CALCULATOR
   

A Waist-to-Hip Ratio Calculator. This calculator can help one determine ones overall health risk. Users have to measure the circumference of their waist at its narrowest point and hips at their widest. The results incorporate a verdict on the health status. Do remember that the readings are not intended to serve as medical advice.

  
Waist:   Inches
Hip:   Inches
Result: 
Verdict: 
Click to view this script.
 
 23. BMR CALCULATOR
   

A Basal Metabolic Rate Calculator used to indicate the number of calories ones body burns at rest to maintain normal body functions. A persons BMR is influenced by a number of factors including age, weight, height, gender, diet, and exercise habits. The younger or bigger one is, the higher is ones Metabolic Rate. Also due to the greater percentage of lean muscle tissue in the male body, men generally have a 10-15% higher BMR than women. Do remember that the readings are not intended to serve as medical advice.

  
Weight:   Kilos
Height:   Inches
Age:   
Result: 
Click to view this script.
 
 24. HEALTH MONITOR* NEW *
   

This tabbed health monitor contains three calculators that can tell one his/her Body Mass Index, Waist to Hip Ratio and Basal Metabolic Rate. This monitor is one way to gauge your general health and well-being. It can be used as a standalone on web pages to help visitors make an assessment of their health status. Users can choose either the Metric Measure or English by clicking the button under the tabs.

Click to view this script.
 


Index Home Site Map Contact the author Back to top

Copyright © 2000 - 2017 Sandeep Gangadharan. All rights reserved.
Please read the Terms Of Use before using any of the scripts.