<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Free Online Calculators</title>
	<atom:link href="http://onlinecalcs.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://onlinecalcs.com</link>
	<description>A big collection of free online calculators and widgets.</description>
	<lastBuildDate>Thu, 02 May 2013 07:23:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Chinese Gender Predictor</title>
		<link>http://onlinecalcs.com/gender-predictor/</link>
		<comments>http://onlinecalcs.com/gender-predictor/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 10:09:12 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Health and Diet]]></category>
		<category><![CDATA[Pregnancy Calculators]]></category>
		<category><![CDATA[baby gender predictor]]></category>
		<category><![CDATA[chinese gender predictor]]></category>
		<category><![CDATA[gender predictor]]></category>
		<category><![CDATA[gender predictor online]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=238</guid>
		<description><![CDATA[<p>What will the gender of your unborn baby be? Well, this thing can not be guessed for sure, especially with an online tool, but we can give you a good suggestion about that. This tool below is a Chinese gender predictor, which has proved to have higher than average accuracy. Those Chinese..., ahhh... I don't [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<p>What will the gender of your unborn baby be? Well, this thing can not be guessed for sure, especially with an online tool, but we can give you a good suggestion about that. This tool below is a Chinese gender predictor, which has proved to have higher than average accuracy. Those Chinese..., ahhh... I don't really know how they do it, but I know that this tool uses the Chinese lunar calendar to guess if your baby is a girl or a boy. For further instructions, please look below.</p>
<style type="text/css">
.calculator_div
{
	font-family:verdana, arial, sans-serif;
	border:2pt solid #FF44FF;
	padding:25px;
	width:250px;
	margin:auto;
}

label
{
	display:block;
	float:left;
	width:150px;		
}
</style>
	<div class="calculator_div">
	<form method="post">
	<p><label>Your age of conception:</label> <select name="age">
	<option  value='16'>16</option><option  value='17'>17</option><option  value='18'>18</option><option  value='19'>19</option><option  value='20'>20</option><option  value='21'>21</option><option  value='22'>22</option><option  value='23'>23</option><option  value='24'>24</option><option  value='25'>25</option><option  value='26'>26</option><option  value='27'>27</option><option  value='28'>28</option><option  value='29'>29</option><option  value='30'>30</option><option  value='31'>31</option><option  value='32'>32</option><option  value='33'>33</option><option  value='34'>34</option><option  value='35'>35</option><option  value='36'>36</option><option  value='37'>37</option><option  value='38'>38</option><option  value='39'>39</option><option  value='40'>40</option><option  value='41'>41</option><option  value='42'>42</option><option  value='43'>43</option>	</select></p>
	
	<p><label>Month of conception:</label> <select name="month">
	<option value="1" >January</option>
	<option value="2" >February</option>
	<option value="3" >March</option>
	<option value="4" >April</option>
	<option value="5" >May</option>
	<option value="6" >June</option>
	<option value="7" >July</option>
	<option value="8" >August</option>
	<option value="9" >September</option>
	<option value="10" >October</option>
	<option value="11" >November</option>
	<option value="12" >December</option>
	</select></p>

	<div style="text-align:center;clear:both;"><input type="submit" value="Calculate!"></div>
	<input type="hidden" name="calculator_ok" value="1">
	</form>
	</div>
	
<p>There is not much data needed from you, just fill the two required fields and press the button below to see this calculator's prediction. If you don't know your conception month, you can use our <a href="http://onlinecalcs.com/conception-date-calculator/" title="Conception Date Calculator">conception date calculator</a>.</p>
<p>That's it! Please share if we guessed right later <img src='http://onlinecalcs.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  <img src='http://onlinecalcs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/gender-predictor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gold Price Per Gram</title>
		<link>http://onlinecalcs.com/gold-price-per-gram/</link>
		<comments>http://onlinecalcs.com/gold-price-per-gram/#comments</comments>
		<pubDate>Thu, 13 Sep 2012 14:30:58 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Exchange Rates Calculators]]></category>
		<category><![CDATA[Financial Calculators]]></category>
		<category><![CDATA[gold price]]></category>
		<category><![CDATA[gold price per ounce]]></category>
		<category><![CDATA[gold price today]]></category>
		<category><![CDATA[gold rate]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=213</guid>
		<description><![CDATA[<p>The price of gold and silver is usually measured in troy ounces, but in many cases we may need the price of gold per gram. Some countries don't use onces at all. Here is a nice chart, where you can get live gold quotes per gram. There are five lines for different purities (karats) of [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<p>The price of gold and silver is usually measured in troy ounces, but in many cases we may need the price of gold per gram. Some countries don't use onces at all. Here is a nice chart, where you can get live gold quotes per gram. There are five lines for different purities (karats) of the precious metal.</p>
<h2>Price Of Gold Per Gram</h2>
<p><script type="text/javascript"
src="http://www.gold-quote.net/syndicate_usd.php?lang=en">
</script></p>
<p>These prices are updated every 15 minutes nad to refresh them, you need to reload the page. In the second column you can see a forecast for the price, which is just a forecast and not an investment advice. If you like this widget, you can shaer it, or just get it.</p>
<p>You can find some more interesting gold widgets, tools charts and many more on: <a href="http://gold-rates.org" title="Gold Price" target="_blank">http://gold-rates.org</a>. This is a site entirely dedicated to the precious metal.</p>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/gold-price-per-gram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Distance Formula (Between Two Points)</title>
		<link>http://onlinecalcs.com/the-distance-formula-between-two-points/</link>
		<comments>http://onlinecalcs.com/the-distance-formula-between-two-points/#comments</comments>
		<pubDate>Thu, 02 Aug 2012 21:21:24 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Math and Science]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=207</guid>
		<description><![CDATA[<p>This is nice and easy to use tool, that can show you the distance between any two points on a plane (Cartesian coodinate system), if you know the coordinates of these points. How To Use It For example if you have point A (2;5) and point B (3;10), you simply need to type in these [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<p>This is nice and easy to use tool, that can show you the distance between any two points on a plane (Cartesian coodinate system), if you know the coordinates of these points. </p>
<h2>How To Use It</h2>
<p>For example if you have point A (2;5) and point B (3;10), you simply need to type in these coordinates into the appropriate fields and click the button to see, that the ditance - 5.0990195135927845 .</p>
<h3>Distance Calculator</h3>
<p><center><script language="javascript" type="text/javascript">
<!-- Original:  Jay Kimmel (jaykimmel@bigplanet.com) -->
<!-- Web Site:  http://www.jkimmel.com -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function distance(form) {
var x1 = eval(form.x1.value);
var y1 = eval(form.y1.value);
var x2 = eval(form.x2.value);
var y2 = eval(form.y2.value);
var xdiff = x2 - x1;
var ydiff = y2 - y1;
form.answer.value = Math.pow((xdiff * xdiff + ydiff * ydiff), 0.5);
}
//  End -->
</script>

<form>
                
        <table bgcolor="#787878" border="0" cellpadding="4" cellspacing="0" width="500">
          <tbody><tr> 
            <td colspan="4" class="scriptbox" align="center">Calculate the distance from point A to point B</td>
          </tr>
          <tr> 
            <td colspan="2" align="center">Point 
              A</td>
            <td colspan="2" align="center">Point 
              B</td>
          </tr>
          <tr> 
            <td class="scriptbox" align="center">(x<sub>A</sub>,</td>
            <td class="scriptbox" align="center">y<sub>A</sub>)</td>
            <td class="scriptbox" align="center">(x<sub>B</sub>,</td>
            <td class="scriptbox" align="center">y<sub>B</sub>)</td>
          </tr>
          <tr> 
            <td align="center">  
              <input name="x1" size="5" type="text" style="font-size: 150%;">
              </td>
            <td align="center">  
              <input name="y1" size="5" type="text" style="font-size: 150%;">
              </td>
            <td align="center">  
              <input name="x2" size="5" type="text" style="font-size: 150%;">
              </td>
            <td align="center">  
              <input name="y2" size="5" type="text" style="font-size: 150%;">
              </td>
          </tr>
          <tr> 
            <td colspan="4" align="center">  
              <input value="Calculate" onclick="distance(this.form)" name="button" type="button">
              </td>
          </tr>
          <tr> 
            <td colspan="4" align="center">  
              <input name="answer" size="20" style="font-size: 150%; color: blue;" type="text">
              </td>
          </tr>
        </tbody></table>
              </form></center></p>
<p>By the way, the calculation this widget works with is relatively simple and it's worth knowing it. If you are qurious about the theory used for it, you can visit this site: <a href="http://distance-formula.net/" title="Distance Formula Theory" target="_blank">http://distance-formula.net/</a> and read about this matter. </p>
<p>If you like this widget or/and find it useful, you can help us by sharing it with friends...</p>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/the-distance-formula-between-two-points/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Find the Area of a Circle</title>
		<link>http://onlinecalcs.com/how-to-find-the-area-of-a-circle/</link>
		<comments>http://onlinecalcs.com/how-to-find-the-area-of-a-circle/#comments</comments>
		<pubDate>Thu, 31 May 2012 07:28:20 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Geometry]]></category>
		<category><![CDATA[Area of a Circle]]></category>
		<category><![CDATA[Circle Calculator]]></category>
		<category><![CDATA[Solve a Circle]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=202</guid>
		<description><![CDATA[<p>This is one simple but really useful tool, that will help you find some of the basic measures of any circle. In fact, the only thing you need to know to solve any circle is its radius / diameter. This would be totally enough, to find anything for such a figure. To do this, you [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<p>This is one simple but really useful tool, that will help you find some of the basic measures of any circle. In fact, the only thing you need to know to <a href="http://howtofindtheareaofacircle.blogspot.com" title="Circle Solver" target="_blank">solve any circle</a> is its radius / diameter. This would be totally enough, to find anything for such a figure. To do this, you need ot use some standart formulas, which can be found everywhere over the Internet. But the matter of this article is to share with you a circle calculator, so lets get back to this:</p>
<SCRIPT LANGUAGE="JavaScript">
// Author Chris Brown
<!-- Begin
function circle(form,changed) {
with (Math) {
var area = form.area.value;
var diameter = form.diameter.value;
var circumference = form.circumference.value;
if (changed == "area") {
var radius = sqrt(area / PI);
diameter = 2 * radius;
circumference = PI * diameter;
}
if (changed == "diameter") {
area = PI * (diameter / 2) * (diameter / 2);
circumference = PI * diameter;
}
if (changed == "circumference") {
diameter = circumference / PI;
area = PI * (diameter / 2) * (diameter / 2);
       }
form.area.value = area;
form.diameter.value = diameter;
form.circumference.value = circumference;
  }
}
var toDegrees = 360 / (Math.PI * 2);
var toRadians = (Math.PI * 2) / 360;
//  End -->
</script>
<form method=post>
<table border="5" align=center>
<tr>
<td align=center>Area:</td>
<td align=center><input type="text" name="area" size="6" value="0" onfocus="select()" /></td>
<td align=center><input type="button" value="Solve Others" onclick="circle(this.form,&#39;area&#39;)" /></td>
</tr>
<tr>
<td align=center>Diameter:</td>
<td align=center><input type="text" name="diameter" size="6" value="0" onfocus="select()" /></td>
<td align=center><input type="button" value="Solve Others" onclick="circle(this.form,&#39;diameter&#39;)" /></td>
</tr>
<tr>
<td align=center>Circumference:</td>

<td align=center><input type="text" name="circumference" size="6" value="0" onfocus="select()" /></td>
<td align=center><input type="button" value="Solve Others" onclick="circle(this.form,&#39;circumference&#39;)" /></td>
</tr>
</table> 
</form>
<br /><br />
<p>Just enter one of the measures in the calculator and press the "Solve" button next to the field to find the other measures. It's a simple tool and you are not supposed to have any big issues with it, if I installed it properly <img src='http://onlinecalcs.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ... This tool is written by a guy named Chris Brown, who allows anyone to freely use his code and place this tool on a site.</p>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/how-to-find-the-area-of-a-circle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IP Calculator &#8211; Subnet</title>
		<link>http://onlinecalcs.com/ip-calculator-subnet/</link>
		<comments>http://onlinecalcs.com/ip-calculator-subnet/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 08:34:04 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ip address calculator]]></category>
		<category><![CDATA[ip calculator]]></category>
		<category><![CDATA[ip calculator online]]></category>
		<category><![CDATA[ip mask calculator]]></category>
		<category><![CDATA[ip range calculator]]></category>
		<category><![CDATA[ip subnet calculator]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=194</guid>
		<description><![CDATA[<p>This is a free and simple but very powerful and useful IP subnet calculator online. Simply fill the required fields and all calculations will be done immediately. You should have Javascript enabled to use this widget, so if it's not working for you, please check your browser's settings for this option. If you nees to [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<p>This is a free and simple but very powerful and useful IP subnet calculator online. Simply fill the required fields and all calculations will be done immediately. You should have Javascript enabled to use this widget, so if it's not working for you, please check your browser's settings for this option.</p>
<script type="text/javascript">
/******************************************************************************
* Feel free to use this code.  Leave my comments in place please.
* JavaScript Subnet Calculator written by John Thaemltiz
******************************************************************************/

/******************************************************************************
* You can see the use of all the available functions in displayInfo()
*
* All the values are calculated based on only 2 array variables.
* nAddr = This is your network address.  It's a 4 element array of
*  integers.  Each integer is an octet of the IP Address.
* nMask = This is your network mask.  Same kind of 4 element array
*  to hold your mask.
*
* That's all you need to calculate the rest of the values you see.
* Note I kick off all the calculations by calling calculateClass('A') onload.
******************************************************************************/

/******************************************************************************
* Declare our network address and mask.
******************************************************************************/
 var nAddr = new Array(10,0,0,0);
 var nMask = new Array(255,0,0,0);
 
/******************************************************************************
* displayInfo() performs calculations and populates our HTML elements.
*
* I declare variables with the result of each calculation I do.  Hence the real
* code, the calculation functions, are not dependent on HTML form elements.
******************************************************************************/
 function displayInfo() {
  try {
   document.getElementById("network").value = nAddr[0]+"."+nAddr[1]+"."+nAddr[2]+"."+nAddr[3];
   document.getElementById("mask").value = nMask[0]+"."+nMask[1]+"."+nMask[2]+"."+nMask[3];
   var wc = wildcardMask(nMask);
   document.getElementById("wildcard").value = wc[0]+"."+wc[1]+"."+wc[2]+"."+wc[3];
   var cidr = octet2cidr(nMask);
   document.getElementById("maskbits").value = cidr;
   document.getElementById("bitmap").value = subnetBitmap(nAddr,nMask);
   document.getElementById("hosts").value = hostCount(nMask);
   var aSubnet = subnetID(nAddr,nMask);
   document.getElementById("subnetID").value = aSubnet[0]+"."+aSubnet[1]+"."+aSubnet[2]+"."+aSubnet[3];
   var aBcast = broadcast(nAddr,wc);
   document.getElementById("broadcast").value = aBcast[0]+"."+aBcast[1]+"."+aBcast[2]+"."+aBcast[3];
   var aStart = startingIP(nAddr,nMask);
   document.getElementById("startIP").value = aStart[0]+"."+aStart[1]+"."+aStart[2]+"."+aStart[3];
   var aEnd = endingIP(nAddr,wc);
   document.getElementById("endIP").value = aEnd[0]+"."+aEnd[1]+"."+aEnd[2]+"."+aEnd[3];
   populateMaskSelect( document.getElementById('maskSelect'), nAddr, nMask[0]+"."+nMask[1]+"."+nMask[2]+"."+nMask[3]);
   populateHostsSelect( document.getElementById('hostsSelect'), nAddr,cidr);
  } catch(e) {
   if( confirm("Error: Debug the stack trace?") ) {
    stackTrace(e);
   }
  }
 }

/******************************************************************************
* These are the real functions that do all the work.  These functions are
* called from displayInfo which then displays the calculated info.
******************************************************************************/
// Returns the wildcard mask from the subnet mask.  The wild card mask is
// the subnet mask with the bits flipped.  Hence you just need to pass
// in the subnet mask.
 function wildcardMask(aMask){
  var a = new Array(0,0,0,0);
  for(var i=0;i<4;i++){
   a[i] = 255 - aMask[i];
  }
  return a;
 }
// Calculate the last available ip address in the network and return it as
// an int array.  This is basically one less than the broadcast address.
// We need the network address and the wildcard mask for this.
 function endingIP(aNet,aWild){
  // work around int32
  var a = new broadcast(aNet,aWild);
  var d = octet2dec(a);
  d = d-1;
  return dec2octet(d);
 }
// Calculate the broadcast address (the last ip address in the network) and
// return it as an int array.
// We need the network address and the wildcard mask for this.
 function broadcast(aNet,aWild){
  // work around int32
  var a = new Array(0,0,0,0);
  for(var i=0;i<4;i++){
   a[i] = aNet[i] | aWild[i];
  }
  return a;
 }
// Calculate the subnet id available address in the network and return it as an
// int array.  This is basically one more than the network address (subnet ID).
// We need the network address and the subnet mask for this.
 function startingIP(aNet,aMask){
  var a = subnetID(aNet,aMask);
  var d = octet2dec(a);
  d = d+1;
  return dec2octet(d);
 }
// Calculate the subnet id  (the first address in the network) and return it as an
// int array.
// We need the network address and the subnet mask for this.
 function subnetID(aNet,aMask){
  var a = new Array(0,0,0,0);
  for(var i=0;i<4;i++){
   a[i] = aNet[i] & aMask[i];
  }
  return a;
 }
// Count the number of hosts based on a subnet mask
 function hostCount(aMask) {
  var bits = 32 - octet2cidr(aMask);
  // get # of addresses in network and subtract 2
  return Math.pow(2,bits) -2;
 }
// Convert a subnet mask array into CIDR (# of bits) (255.255.255.0 = 24 etc.)
 function octet2cidr(aMask) {
  var mask = octet2dec(aMask);
  // get binary string
  mask = mask.toString(2);
  // return mask length
  return mask.indexOf(0);
 }
// calculate all available bits in and return it as a string.
// 1 and 0 are hard coded by Class as defined by the IEEE
// n = network mask as defined by Class
// s = subnet mask based
// h = available host IP addresses
 function subnetBitmap(aNet,aMask){
  var map = "";
  var i = 0;
  var cidr = octet2cidr(aMask);
  if( aNet[0] >= 1 && aNet[0] <= 126 ) {
   //class A
   map = "0nnnnnnn";
   i = map.length;
  } else if( aNet[0] >= 128 && aNet[0] <= 191 ){
   //class B
   map = "10nnnnnn.nnnnnnnn";
   i = map.length-1;
  } else if( aNet[0] >= 192 && aNet[0] <= 223 ){
   //class C
   map = "110nnnnn.nnnnnnnn.nnnnnnnn";
   i = map.length-2;
  }
  // subnet bits
  while(i < cidr) {
   if(i%8 == 0) map+=".";
   map += "s";
   i++;
  }
  // host bits
  while(i < 32) {
   if(i%8 == 0) map+=".";
   map += "h";
   i++;
  }

  return map;
 }
// Convert CIDR to array of 4 ints (Classless Inter Domain Routing)
 function cidr2octet(bits) {
  var bits = parseInt(bits);
  if( bits < 0 | bits > 32 ) {
   alert("Invalid 32 bit DIDR mask.  You entered "+bits);
   return false;
  }
  // make up our mask
  var ones = "11111111111111111111111111111111";
  var mask = parseInt(ones.substring(0,bits),2);
  var shift = 32-bits;
  // poor mans bit shift because javascript uses 32 bit integers
  mask = mask * Math.pow(2,shift);

  return dec2octet(mask);
 }
// Convert our array of 4 ints into a decimal (watch out for 16 bit JS integers here)
 function octet2dec(a){
  //alert("octet2dec1 "+a[0]+"\n"+dec2bin(a[0])+"\n"+dec2bin(a[0] * 16777216));
  // poor mans bit shifting (Int32 issue)
  var d = 0;
  d = d + parseInt(a[0]) * 16777216 ;  //Math.pow(2,24);
  d = d + a[1] * 65536;   //Math.pow(2,16);
  d = d + a[2] * 256;    //Math.pow(2,8);
  d = d + a[3];
  return d;
 }
// Convert decimal to our array of 4 ints.
 function dec2octet(d){
  //alert("d="+d+" "+d.toString(2)+"="+d.toString(2).substring(0,8)+"="+parseInt(d.toString(2).substring(0,8),2));
  var zeros = "00000000000000000000000000000000";
  var b = d.toString(2);
  var b = zeros.substring(0,32-b.length) + b;
  var a = new Array(
   parseInt(b.substring(0,8),2) // 32 bit integer issue (d & 4278190080)/16777216   //Math.pow(2,32) - Math.pow(2,24);
   , (d & 16711680)/65536   //Math.pow(2,24) - Math.pow(2,16);
   , (d & 65280)/256   //Math.pow(2,16) - Math.pow(2,8);
   , (d & 255)
   );    //Math.pow(2,8);
  return a;
 }
// convert decimal to binary string representation
 function dec2bin(d) {
  var b = d.toString(2);
  return b;
 }
// convert binary string to decimal
 function bin2dec(b) {
  return parseInt(b,2);
 }
 function calculateClass( c ) {
  switch(c)
  {
   case "B":
    nAddr = new Array(172,168,0,1);
    nMask = new Array(255,255,0,0);
    break;
   case "C":
    nAddr = new Array(192,168,0,1);
    nMask = new Array(255,255,255,0);
    break;
   default:
    // default to class A
    nAddr = new Array(10,0,0,1);
    nMask = new Array(255,0,0,0);
    break;
  }
  displayInfo();
 }

/******************************************************************************
* The functions below just set the values in our HTML form elements.  These
* elements can be submitted to a server side script for database storage.
* These functions are linked to onload, onchange, etc. in our HTML.
******************************************************************************/
 function calculateIPCIDR(ip) {
  /*
  var x = mask.value;
  var re = new RegExp("^([0-9]{1,3}\.){3}[0-9]{1,3}(( ([0-9]{1,3}\.){3}[0-9]{1,3})|(/[0-9]{1,2}))$");
  if( !re.test(mask.value) ) {
   var s = "Use IP & CIDR Netmask: 10.0.0.1/22";
   s += "\nOr IP & Netmask: 10.0.0.1 255.255.252.0";
   //s += "\nOr IP & Wildcard Mask: 10.0.0.1 0.0.3.255";
   mask.focus();
   mask.select();
   return false;
  }
  */

  var ipa = ip.split('/');
  if( ipa.length = 2 ) {
   var a = ipa[0].split('.');
   nAddr[0] = parseInt(a[0]);
   nAddr[1] = parseInt(a[1]);
   nAddr[2] = parseInt(a[2]);
   nAddr[3] = parseInt(a[3]);
   nMask = cidr2octet(ipa[1]);
  } else {
   nAddr = ip.split('.');
  }
  displayInfo();
 }
 
 function calculateSubnet(mask) {
  var a = mask.split('.');
  nMask[0] = parseInt(a[0]);
  nMask[1] = parseInt(a[1]);
  nMask[2] = parseInt(a[2]);
  nMask[3] = parseInt(a[3]);
  displayInfo();
 }
 function calculateHosts(cidr) {
  nMask = cidr2octet(cidr);
  displayInfo();
 }

 // functions to build drop downs
 function populateMaskSelect( s, aNet, maskString) {
  s.length = 0;
  var a = new Array(0,0,0,0);
  var i = 0;
  if( aNet[0] >= 1 && aNet[0] <= 126 ) {
   //class A
   a[i++] = 255;
  } else if( aNet[0] >= 128 && aNet[0] <= 191 ){
   //class B
   a[i++] = 255;
   a[i++] = 255;
  } else if( aNet[0] >= 192 && aNet[0] <= 223 ){
   //class C
   a[i++] = 255;
   a[i++] = 255;
   a[i++] = 255;
  }

  while( i < 4 ) {
   var t = a[0]+"."+a[1]+"."+a[2]+"."+a[3];
   addOption(s,t,t);
   var pow = 7;
   while(pow >= 0 && !(i==3 && pow<2 )) {
    a[i] = a[i] + Math.pow(2,pow);
    t = a[0]+"."+a[1]+"."+a[2]+"."+a[3];
    addOption(s,t,t);
    pow--;
   }
   i++;
  }
  selectOption(s,maskString);
 }
 function populateHostsSelect(s,aNet,cidr){
  s.length = 0;
  var pow = 8;
  if( aNet[0] >= 1 && aNet[0] <= 126 ) {
   //class = 'A';
   pow = 24;
  } else if( aNet[0] >= 128 && aNet[0] <= 191 ){
   //class = 'B';
   pow = 16;
  } else if( aNet[0] >= 192 && aNet[0] <= 223 ){
   //class = 'C';
   pow = 8;
  }
  var t = 2;
  while(pow > 2 ) {
   t = Math.pow(2,pow) -2;
   addOption(s,t,32-pow);
   pow--;
  }
  selectOption(s,cidr);
 }
 function addOption(s,t,v){
  var o = document.createElement('option');
  o.text = t;
  o.value = v;
  try {
   s.add(o, null); // standards compliant; doesn't work in IE
  } catch(e) {
   s.add(o); // IE only
  }
 }
 function selectOption(s,v){
  for (var i=0;i<s.length;i++){
   if(s[i].value == v){
    s.selectedIndex = i;
    break;
   }
  }
 }
 
 // displays a stack trace for an exception
 function stackTrace( e ) {
  var r = '';
  for (var p in e) {
   r += p + ': ' + e[p] + '\n';
  }
  alert(r);
  //console.log, console.debug, console.info, console.warn, and console.error.
 }
</script>
<style type="text/css">
 input[readonly]
 {
  background-color: #dcdcdc;
  color: #000000;
  cursor: default;
 }
</style>
<script type="text/javascript">
 // This will build a html table of ipaddresses, you can just ignore it.
 // The idea is if you want a print the subnet you calculated.
 function tableBuilder(div){
  var d = document.getElementById(div);
  d.innerHTML = "";
  var t = document.createElement("table");
  t.border = 1;
  var b = document.createElement("tbody");
  var r = null;
  var c = null;
  d.appendChild(t);
  for(var i=0;i<10;i++) {
   r = document.createElement("tr");
   for(var j=0;j<8;j++){
    c=document.createElement("td");
    var txt = document.createTextNode(i+":"+j);
    c.appendChild(txt);
    r.appendChild(c);
   }
   b.appendChild(r);
  }
  t.appendChild(b);
  d.appendChild(t);
 }
</script>
</head>
<body onload="calculateClass('A');">
<div class="wrap clearfix">

<p class="page_title">javascript subnet calculator</p>
<p>The funny thing about a JavaScript Subnet Calculator is that JavaScript integers are only 16 bit.  In order to do easy bit shifting you need 32 bit integers.  This code weaves it's way through that issue by storing IP address octets in arrays with 4 integers. </p>
<p>You can use <acronym title="Classless Inter-Domain Routing">CIDR</acronym> Netmask in the Network IP field (eg:10.0.0.1/24).  Change the network class, network IP, subnet mask, or number of hosts to trigger calculations.  This code does work on most browsers including FireFox, Safari, iPhone, iTouch, Android, Blackberry and even IE.</p>

 <form name="SCForm" action="#" id="SCForm">

 <div>
 <table>
 <tr><td>Class</td><td>
  A<input type="radio" name="class" value="A" checked="true" onclick="calculateClass('A');" />
  B<input type="radio" name="class" value="B" onclick="calculateClass('B');" />
  C<input type="radio" name="class" value="C" onclick="calculateClass('C');" />
 </td></tr>

 <tr><td>Network IP</td><td>
  <input id="network" type="text" onchange="calculateIPCIDR(this.value);" />
 </td></tr>
 <tr><td>Subnet Mask</td><td>
  <input id="mask" type="text" onchange="calculateSubnet(this.value);" />
  <select id="maskSelect" onchange="calculateSubnet(this.options[this.selectedIndex].value);"><option value="255.0.0.0">loading...</select>
 </td></tr>

 <tr><td>Wildcard Mask</td><td>
  <input id="wildcard" type="text" readonly="readonly" />
 </td></tr>
 <tr><td>Mask Bits</td><td>
  <input id="maskbits" type="text" readonly="readonly" />
 </td></tr>
 <tr><td>Hosts</td><td>

  <input id="hosts" type="text" readonly="readonly" />
  <select id="hostsSelect" onchange="calculateHosts(this.options[this.selectedIndex].value);"><option value="2">loading...</select>
 </td></tr>
 <tr><td>Subnet ID</td><td>
  <input id="subnetID" type="text" readonly="readonly" />
 </td></tr>
 <tr><td>Start</td><td>

  <input id="startIP" type="text" readonly="readonly" />
 </td></tr>
 <tr><td>End</td><td>
  <input id="endIP" type="text" readonly="readonly" />
 </td></tr>
 <tr><td>Broadcast</td><td>
  <input id="broadcast" type="text" readonly="readonly" />
 </td></tr>

 <tr><td>Bitmap</td><td>
  <input id="bitmap" type="text" size="35" disabled="disabled" />
 </td></tr>
 </table>
 </div>
 </form>
 <!-- div id="dynTable">
  loading...
 </div -->
</div>
<p>If you nees to see what your IP is, you can use our online widget for this purpose here: <a title="Whats My IP" href="http://onlinecalcs.com/whats-my-ip/" target="_blank">Whats my IP</a> .</p>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/ip-calculator-subnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whats My IP</title>
		<link>http://onlinecalcs.com/whats-my-ip/</link>
		<comments>http://onlinecalcs.com/whats-my-ip/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 08:03:16 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Computer Calculators]]></category>
		<category><![CDATA[IP Calculators]]></category>
		<category><![CDATA[What Is My IP]]></category>
		<category><![CDATA[What Is My IP Address]]></category>
		<category><![CDATA[Whats My IP Address]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=187</guid>
		<description><![CDATA[<p>Have you ever wondered what your computer's IP address is? This is the network address of your PC and it is used and needed for many different purposes. Although there are many scripts out there that can show you this information, here is another good one. On this page you should be able to see [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<p>Have you ever wondered what your computer's IP address is? This is the network address of your PC and it is used and needed for many different purposes. Although there are many scripts out there that can show you this information, here is another good one. On this page you should be able to see some interesting information not only about your computers's addres, but also about your physical location, your country your browser and operating system and so on. You can even see you Internet service provider's (ISP) name. How to use it? Just open this page from the computer you need information about and it will be displayed. That's it! If you like this IP widget, please vote for us on the social networking sites.</p>
<h2>Whats My IP Address</h2><br />
<h2>Your IP Address is:<br />
<font color='#0000ff'>50.19.155.235</font></h2>
<h4>You computer's full network address is:</h4>
<h3>ec2-50-19-155-235.compute-1.amazonaws.com</h3>
<h5>Information about your browser:</h5>
<font color='#000fff'><h4>CCBot/2.0</h4></font><br />
<center><font size="4" color="#E01B28">Internet Provider:</font></center>
<script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=Your Internet Provider: <ISP>."></script><br>
<script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=Your Location is: <CITY>."></script><br>
<script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=Your Country: <COUNTRY>."></script>
<script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=Flag: <FLAG>."></script><br>
</font>

<strong>You are coming from:</strong><br />
Page was directly requested
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/whats-my-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mortgage Amortization Calculator</title>
		<link>http://onlinecalcs.com/mortgage-amortization-calculator/</link>
		<comments>http://onlinecalcs.com/mortgage-amortization-calculator/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 16:29:12 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Mortgage Calculator]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mortgage calculator amortization]]></category>
		<category><![CDATA[mortgage calculator amortization table]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=179</guid>
		<description><![CDATA[<p>Mortgage Amortization Calculator A simple, but very functional mortgage calculator, with which you can see the amortization of any home loan. It's very easy to use, just fill the three fields with your data.</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<p>Mortgage Amortization Calculator</p>
<p>A simple, but very functional mortgage calculator, with which you can see the amortization of any home loan. It's very easy to use, just fill the three fields with your data.</p>
<script type="text/javascript" id="WolframAlphaScriptcaf0d2d7352460bc02c63cd82fb7bb8d" src="http://www.wolframalpha.com/widget/widget.jsp?id=caf0d2d7352460bc02c63cd82fb7bb8d&theme=black&output=lightbox&width=500"></script>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/mortgage-amortization-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Graphing Calculator</title>
		<link>http://onlinecalcs.com/online-graphing-calculator-2/</link>
		<comments>http://onlinecalcs.com/online-graphing-calculator-2/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 15:44:26 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Math and Science]]></category>
		<category><![CDATA[Free Online Graphing Calculator]]></category>
		<category><![CDATA[graphing calculator]]></category>
		<category><![CDATA[graphing calculator online]]></category>
		<category><![CDATA[Graphing Calculator Online Free]]></category>
		<category><![CDATA[Online Graphing Calculator Free]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=171</guid>
		<description><![CDATA[<p>Graphing Calculator Online Do you need to draw an accurate graph of a certain equation? This is a really easy task, no matter how complex your formula is. This free online graphing calculator can complete this task with the press of a button. Simply type your equation in the field, hit the button below and [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<h2>Graphing Calculator Online</h2>
<p>Do you need to draw an accurate graph of a certain equation? This is a really easy task, no matter how complex your formula is. This <strong>free online graphing calculator</strong> can complete this task with the press of a button. Simply type your equation in the field, hit the button below and after a couple of seconds you will see the graph of your equation.</p>
<p>Try the widget by copying and pasting this equation: (4x^56-55x^33+2x^15)/(23x^7+8x^3)^3=0</p>
<p><center><script type="text/javascript" id="WolframAlphaScript1e30822b8bd1d607bb099fa9387b8976" src="http://www.wolframalpha.com/widget/widget.jsp?id=1e30822b8bd1d607bb099fa9387b8976&theme=black&output=iframe&width=500"></script></center></p>
<h3>How to Use the Online Graphing Calculator</h3>
<p>This graphing calculator is extremely easy to use, the only thing you should be careful about is to type your equation in the appropriate form. For example:</p>
<p>1. x<sup>2</sup> have to be entered this way: x^2, x<sup>n</sup> as x^n, and so on.<br />
2. Square root: &radic;<span style="text-decoration: overline">2</span> should be typed as 2^1/2, n<sup>th</sup> root of x  as: x^1/n<br />
3. The other math signs are the standart ones.</p>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/online-graphing-calculator-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calorie Burn Calculator</title>
		<link>http://onlinecalcs.com/calorie-burn-calculator/</link>
		<comments>http://onlinecalcs.com/calorie-burn-calculator/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 17:01:23 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Health and Diet]]></category>
		<category><![CDATA[Weight Loss Calculators]]></category>
		<category><![CDATA[Calorie Calculator]]></category>
		<category><![CDATA[Calories Burned Calculator]]></category>
		<category><![CDATA[calories calculator]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=167</guid>
		<description><![CDATA[<p>Calories Burned in Exercises See how many calories you will burn walking, running, swimming or practicing any of the following exercises below. Just enter your body mass and the time the exercise will be practiced. When this is done, just click on the "Calculate Calories Burned" button to see the results. This calory calculator is [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<h2>Calories Burned in Exercises</h2>
<p>See how many calories you will burn walking, running, swimming or practicing any of the following exercises below. Just enter your body mass and the time the exercise will be practiced. When this is done, just click on the "Calculate Calories Burned" button to see the results.</p>
<p><center><style type="text/css">

.ancalc {
 text-align:center;
}
.ancalc table {
 margin-right:auto;
 margin-left:auto;
 width:500px;
 border-collapse:collapse;
 empty-cells:show;
 background-color:rgb(233,232,244);
}
.ancalc th.top {
 padding:0 0px 0 0px;
 empty-cells:show;
 background-color:rgb(175,175,175);
 color:rgb(255,255,255);
 font-weight:bold;
 font-size:120% !important;
}
.ancalc th {
 height:3em;
 border:solid 2px rgb(245,245,245);
 background-color:rgb(225,225,225);
 text-align:inherit;
 color:rgb(80,80,80);
 font-weight:bold;
 font-size:100% !important;
 font-size:90%;
}
.ancalc .head {
 height:3em;
 border:solid 2px rgb(245,245,245);
 background-color:#CCF;
 text-align:inherit;
 color:rgb(80,80,80);
 font-weight:bold;
 font-size:100% !important;
 font-size:90%;
}
.ancalc td {
 border:solid 2px rgb(245,245,245);
 background-color:#FFF;
 text-align:left;
}
.ancalc input.output {
 border:solid 0px rgb(245,245,245);
 background-color:#FFF;
}
</style>
<script language="JavaScript" type="text/javascript">

<!-- Start JavaScript
function calc(weight, minutes, scalefactor)
{
calories=(Math.round(weight * minutes * scalefactor));
return calories;
}
function compute(form)
{
var w=form.weight.value * 1
var m=form.minutes.value * 1
form.aero1.value        = calc(w,m,0.044)
form.aero2.value        = calc(w,m,0.056)
form.aero3.value        = calc(w,m,0.032)
form.aero4.value        = calc(w,m,0.056)
form.aero5.value        = calc(w,m,0.080)
form.cycle1.value       = calc(w,m,0.056)
form.cycle2.value       = calc(w,m,0.084)
form.circuit.value      = calc(w,m,0.064)
form.row1.value         = calc(w,m,0.056)
form.row2.value         = calc(w,m,0.068)
form.ski1.value         = calc(w,m,0.076)
form.stair1.value       = calc(w,m,0.048)
form.weight1.value      = calc(w,m,0.024)
form.weight2.value      = calc(w,m,0.048)
form.basket1.value      = calc(w,m,0.064)
form.basket2.value      = calc(w,m,0.052)
form.cycle3.value       = calc(w,m,0.068)
form.cycle4.value       = calc(w,m,0.064)
form.cycle5.value       = calc(w,m,0.080)
form.box1.value         = calc(w,m,0.072)
form.foot1.value        = calc(w,m,0.072)
form.foot2.value        = calc(w,m,0.064)
form.frisbee.value      = calc(w,m,0.024)
form.golf1.value        = calc(w,m,0.044)
form.golf2.value        = calc(w,m,0.028)
form.gymnast.value      = calc(w,m,0.032)
form.hball.value        = calc(w,m,0.096)
form.hike.value         = calc(w,m,0.048)
form.horse.value        = calc(w,m,0.032)
form.ice1.value         = calc(w,m,0.056)
form.martial.value      = calc(w,m,0.080)
form.rball1.value       = calc(w,m,0.080)
form.rball2.value       = calc(w,m,0.056)
form.climb1.value       = calc(w,m,0.088)
form.climb2.value       = calc(w,m,0.064)
form.roller1.value      = calc(w,m,0.056)
form.rope.value         = calc(w,m,0.080)
form.run1.value         = calc(w,m,0.064)
form.run2.value         = calc(w,m,0.072)
form.run3.value         = calc(w,m,0.080)
form.run4.value         = calc(w,m,0.088)
form.run5.value         = calc(w,m,0.100)
form.run6.value         = calc(w,m,0.116)
form.run7.value         = calc(w,m,0.132)
form.run8.value         = calc(w,m,0.064)
form.run9.value         = calc(w,m,0.072)
form.ski2.value         = calc(w,m,0.064)
form.ski3.value         = calc(w,m,0.048)
form.snshoe.value       = calc(w,m,0.064)
form.softball.value     = calc(w,m,0.040)
form.swim1.value        = calc(w,m,0.048)
form.tennis1.value      = calc(w,m,0.056)
form.volley1.value      = calc(w,m,0.024)
form.volley2.value      = calc(w,m,0.032)
form.volley3.value      = calc(w,m,0.064)
form.walk1.value        = calc(w,m,0.032)
form.walk2.value        = calc(w,m,0.036)
form.walk3.value        = calc(w,m,0.040)
form.walk4.value        = calc(w,m,0.048)
form.ski4.value         = calc(w,m,0.048)
form.polo.value         = calc(w,m,0.080)
form.whitewater.value   = calc(w,m,0.040)
form.wood.value         = calc(w,m,0.048)
form.garden.value       = calc(w,m,0.036)
form.clean.value        = calc(w,m,0.028)
form.mow1.value         = calc(w,m,0.044)
form.mow2.value         = calc(w,m,0.036)
form.snow1.value        = calc(w,m,0.036)
form.games.value        = calc(w,m,0.040)
form.lawn.value         = calc(w,m,0.032)
form.sex.value          = calc(w,m,0.012)
form.snow2.value        = calc(w,m,0.048)
}
function clearvalues(form)
{
form.weight.value   = ""
form.minutes.value  = ""
form.aero1.value        = ""
form.aero2.value        = ""
form.aero3.value        = ""
form.aero4.value        = ""
form.aero5.value        = ""
form.cycle1.value       = ""
form.cycle2.value       = ""
form.circuit.value      = ""
form.row1.value         = ""
form.row2.value         = ""
form.ski1.value         = ""
form.stair1.value       = ""
form.weight1.value      = ""
form.weight2.value      = ""
form.basket1.value      = ""
form.basket2.value      = ""
form.cycle3.value       = ""
form.cycle4.value       = ""
form.cycle5.value       = ""
form.box1.value         = ""
form.foot1.value        = ""
form.foot2.value        = ""
form.frisbee.value      = ""
form.golf1.value        = ""
form.golf2.value        = ""
form.gymnast.value      = ""
form.hball.value        = ""
form.hike.value         = ""
form.horse.value        = ""
form.ice1.value         = ""
form.martial.value      = ""
form.rball1.value       = ""
form.rball2.value       = ""
form.climb1.value       = ""
form.climb2.value       = ""
form.roller1.value      = ""
form.rope.value         = ""
form.run1.value         = ""
form.run2.value         = ""
form.run3.value         = ""
form.run4.value         = ""
form.run5.value         = ""
form.run6.value         = ""
form.run7.value         = ""
form.run8.value         = ""
form.run9.value         = ""
form.ski2.value         = ""
form.ski3.value         = ""
form.snshoe.value       = ""
form.softball.value     = ""
form.swim1.value        = ""
form.tennis1.value      = ""
form.volley1.value      = ""
form.volley2.value      = ""
form.volley3.value      = ""
form.walk1.value        = ""
form.walk2.value        = ""
form.walk3.value        = ""
form.walk4.value        = ""
form.ski4.value         = ""
form.polo.value         = ""
form.whitewater.value   = ""
form.wood.value         = ""
form.garden.value       = ""
form.clean.value        = ""
form.mow1.value         = ""
form.mow2.value         = ""
form.snow1.value        = ""
form.games.value        = ""
form.lawn.value         = ""
form.sex.value          = ""
form.snow2.value        = ""
}
// end JavaScript -->








</script>
<div class ="ancalc">

  <FORM method=post>
    
      <TABLE width="500">
<TR>
  <th colSpan=4 class="top">Excercise Calorie Calculator</th>
</TR>
<TR>
        <th colSpan=4>
          Please, enter the required data</th>
        </TR>
        <TR>
          <TD colSpan=4><TABLE>
              <TBODY>
                <TR>
                  <TD>Your weight (in pounds):</TD>
                  <TD>
                      <INPUT size=3 value=20 name=weight>
                    </TD>
                  <TD>Exercise duration (in min.):</TD>
                  <TD>
                      <INPUT size=4 value=60 
name=minutes>
                    </TD>
                </TR>
              </TBODY>
            </TABLE></TD>
        </TR>
        <TR>
          <TD colSpan=4><input onClick=compute(this.form); type=button value=" Calculate Calories Burned " name=SubmitName>
            <input onClick=clearvalues(this.form); type=button value=" Clear And Start Again " name=clear></TD>
        </TR>
        <TR>
          <th colSpan=4>Results </th>
        </TR>
        <TR>
          <th colSpan=4 class="head">Gym 
            and Home Activities</th>
        </TR>
        <TR>
          <TD>Aerobics: low impact</TD>
          <TD>
              
              <INPUT size=3 value=53 name=aero1>
              
            </TD>
          <TD>Aerobics: high impact</TD>
          <TD>
              
              <INPUT size=3 value=67 name=aero2>
              
            </TD>
        </TR>
        <TR>
          <TD>Aerobics, Step: low impact</TD>
          <TD>
              
              <INPUT size=3 value=67 name=aero4>
              
            </TD>
          <TD>Aerobics, Step: high impact</TD>
          <TD>
              
              <INPUT size=3 value=96 name=aero5>
              
            </TD>
        </TR>
        <TR>
          <TD>Aerobics: water</TD>
          <TD>
              
              <INPUT size=3 value=38 name=aero3>
              
            </TD>
          <TD>Bicycling, Stationary: moderate</TD>
          <TD>
              
              <INPUT size=3 value=67 name=cycle1>
              
            </TD>
        </TR>
        <TR>
          <TD>Bicycling, Stationary: vigorous</TD>
          <TD>
              
              <INPUT size=3 value=101 name=cycle2>
              
            </TD>
          <TD>Circuit Training: general</TD>
          <TD>
              
              <INPUT size=3 value=77 name=circuit>
              
            </TD>
        </TR>
        <TR>
          <TD>Rowing, Stationary: moderate</TD>
          <TD>
              
              <INPUT size=3 value=67 name=row1>
              
            </TD>
          <TD>Rowing, Stationary: vigorous</TD>
          <TD>
              
              <INPUT size=3 value=82 name=row2>
              
            </TD>
        </TR>
        <TR>
          <TD>Ski Machine: general</TD>
          <TD>
              
              <INPUT size=3 value=91 name=ski1>
              
            </TD>
          <TD>Stair Step Machine: general</TD>
          <TD>
              
              <INPUT size=3 value=58 name=stair1>
              
            </TD>
        </TR>
        <TR>
          <TD>Weight Lifting: general</TD>
          <TD>
              
              <INPUT size=3 value=29 name=weight1>
              
            </TD>
          <TD>Weight Lifting: vigorous</TD>
          <TD>
              
              <INPUT size=3 value=58 name=weight2>
              
            </TD>
        </TR>
        <TR>
          <th colSpan=4 class="head">Training 
            Activities</th>
        </TR>
        <TR>
          <TD>Basketball: playing a game</TD>
          <TD>
              
              <INPUT size=3 value=77 name=basket1>
              
            </TD>
          <TD>Basketball: wheelchair</TD>
          <TD>
              
              <INPUT size=3 value=62 name=basket2>
              
            </TD>
        </TR>
        <TR>
          <TD>Bicycling: BMX or mountain</TD>
          <TD>
              
              <INPUT size=3 value=82 name=cycle3>
              
            </TD>
          <TD>Bicycling: 12-13.9 mph</TD>
          <TD>
              
              <INPUT size=3 value=77 name=cycle4>
              
            </TD>
        </TR>
        <TR>
          <TD>Bicycling: 14-15.9 mph</TD>
          <TD>
              
              <INPUT size=3 value=96 name=cycle5>
              
            </TD>
          <TD>Boxing: sparring</TD>
          <TD>
              
              <INPUT size=3 value=86 name=box1>
              
            </TD>
        </TR>
        <TR>
          <TD>Football: competitive</TD>
          <TD>
              
              <INPUT size=3 value=86 name=foot1>
              
            </TD>
          <TD>Football: touch, flag, general</TD>
          <TD>
              
              <INPUT size=3 value=77 name=foot2>
              
            </TD>
        </TR>
        <TR>
          <TD>Frisbee</TD>
          <TD>
              
              <INPUT size=3 value=29 name=frisbee>
              
            </TD>
          <TD>Golf: carrying clubs</TD>
          <TD>
              
              <INPUT size=3 value=53 name=golf1>
              
            </TD>
        </TR>
        <TR>
          <TD>Golf: using cart</TD>
          <TD>
              
              <INPUT size=3 value=34 name=golf2>
              
            </TD>
          <TD>Gymnastics: general</TD>
          <TD>
              
              <INPUT size=3 value=38 name=gymnast>
              
            </TD>
        </TR>
        <TR>
          <TD>Handball: general</TD>
          <TD>
              
              <INPUT size=3 value=115 name=hball>
              
            </TD>
          <TD>Hiking: cross-country</TD>
          <TD>
              
              <INPUT size=3 value=58 name=hike>
              
            </TD>
        </TR>
        <TR>
          <TD>Horseback Riding: general</TD>
          <TD>
              
              <INPUT size=3 value=38 name=horse>
              
            </TD>
          <TD>Ice Skating: general</TD>
          <TD>
              
              <INPUT size=3 value=67 name=ice1>
              
            </TD>
        </TR>
        <TR>
          <TD>Martial Arts: general</TD>
          <TD>
              
              <INPUT size=3 value=96 name=martial>
              
            </TD>
          <TD>Racquetball: competitive</TD>
          <TD>
              
              <INPUT size=3 value=96 name=rball1>
              
            </TD>
        </TR>
        <TR>
          <TD>Racquetball: casual, general</TD>
          <TD>
              
              <INPUT size=3 value=67 name=rball2>
              
            </TD>
          <TD>Rock Climbing: ascending</TD>
          <TD>
              
              <INPUT size=3 value=106 name=climb1>
              
            </TD>
        </TR>
        <TR>
          <TD>Rock Climbing: repelling</TD>
          <TD>
              
              <INPUT size=3 value=77 name=climb2>
              
            </TD>
          <TD>Rollerblade Skating</TD>
          <TD>
              
              <INPUT size=3 value=67 name=roller1>
              
            </TD>
        </TR>
        <TR>
          <TD>Rope Jumping</TD>
          <TD>
              
              <INPUT size=3 value=96 name=rope>
              
            </TD>
          <TD>Running: 5 mph (12 min/mile)</TD>
          <TD>
              
              <INPUT size=3 value=77 name=run1>
              
            </TD>
        </TR>
        <TR>
          <TD>Running: 5.2 mph (11.5 min/mile)</TD>
          <TD>
              
              <INPUT size=3 value=86 name=run2>
              
            </TD>
          <TD>Running: 6 mph (10 min/mile)</TD>
          <TD>
              
              <INPUT size=3 value=96 name=run3>
              
            </TD>
        </TR>
        <TR>
          <TD>Running: 6.7 mph (9 min/mile)</TD>
          <TD>
              
              <INPUT size=3 value=106 name=run4>
              
            </TD>
          <TD>Running: 7.5 mph (8 min/mile)</TD>
          <TD>
              
              <INPUT size=3 value=120 name=run5>
              
            </TD>
        </TR>
        <TR>
          <TD>Running: 8.6 mph (7 min/mile)</TD>
          <TD>
              
              <INPUT size=3 value=139 name=run6>
              
            </TD>
          <TD>Running: 10 mph (6 min/mile)</TD>
          <TD>
              
              <INPUT size=3 value=158 name=run7>
              
            </TD>
        </TR>
        <TR>
          <TD>Running: pushing wheelchair, marathon 
            wheeling</TD>
          <TD>
              
              <INPUT size=3 value=77 name=run8>
              
            </TD>
          <TD>Running: cross-country</TD>
          <TD>
              
              <INPUT size=3 value=86 name=run9>
              
            </TD>
        </TR>
        <TR>
          <TD>Skiing: cross-country</TD>
          <TD>
              
              <INPUT size=3 value=77 name=ski2>
              
            </TD>
          <TD>Skiing: downhill</TD>
          <TD>
              
              <INPUT size=3 value=58 name=ski3>
              
            </TD>
        </TR>
        <TR>
          <TD>Snow Shoeing</TD>
          <TD>
              
              <INPUT size=3 value=77 name=snshoe>
              
            </TD>
          <TD>Softball: general play</TD>
          <TD>
              
              <INPUT size=3 value=48 name=softball>
              
            </TD>
        </TR>
        <TR>
          <TD>Swimming: general</TD>
          <TD>
              
              <INPUT size=3 value=58 name=swim1>
              
            </TD>
          <TD>Tennis: general</TD>
          <TD>
              
              <INPUT size=3 value=67 name=tennis1>
              
            </TD>
        </TR>
        <TR>
          <TD>Volleyball: non-competitive,<BR>
            general play</TD>
          <TD>
              
              <INPUT size=3 value=29 name=volley1>
              
            </TD>
          <TD>Volleyball: competitive, gymnasium 
            play</TD>
          <TD>
              
              <INPUT size=3 value=38 name=volley2>
              
            </TD>
        </TR>
        <TR>
          <TD>Volleyball: beach</TD>
          <TD>
              
              <INPUT size=3 value=77 name=volley3>
              
            </TD>
          <TD>Walk: 3.5 mph (17 min/mi)</TD>
          <TD>
              
              <INPUT size=3 value=38 name=walk1>
              
            </TD>
        </TR>
        <TR>
          <TD>Walk: 4 mph (15 min/mi)</TD>
          <TD>
              
              <INPUT size=3 value=43 name=walk2>
              
            </TD>
          <TD>Walk: 4.5 mph (13 min/mi)</TD>
          <TD>
              
              <INPUT size=3 value=48 name=walk3>
              
            </TD>
        </TR>
        <TR>
          <TD>Walk/Jog: jog &lt;10 min.</TD>
          <TD>
              
              <INPUT size=3 value=58 name=walk4>
              
            </TD>
          <TD>Water Skiing</TD>
          <TD>
              
              <INPUT size=3 value=58 name=ski4>
              
            </TD>
        </TR>
        <TR>
          <TD>Water Polo</TD>
          <TD>
              
              <INPUT size=3 value=96 name=polo>
              
            </TD>
          <TD>Whitewater: rafting, kayaking</TD>
          <TD>
              
              <INPUT size=3 value=48 name=whitewater>
              
            </TD>
        </TR>
        <TR>
          <th colSpan=4 class="head">Daily 
            Life Activities</th>
        </TR>
        <TR>
          <TD>Chopping &amp; Splitting Wood</TD>
          <TD>
              
              <INPUT size=3 value=58 name=wood>
              
            </TD>
          <TD>Gardening: general</TD>
          <TD>
              
              <INPUT size=3 value=43 name=garden>
              
            </TD>
        </TR>
        <TR>
          <TD>Housecleaning: general</TD>
          <TD>
              
              <INPUT size=3 value=34 name=clean>
              
            </TD>
          <TD>Mowing Lawn: push, hand</TD>
          <TD>
              
              <INPUT size=3 value=53 name=mow1>
              
            </TD>
        </TR>
        <TR>
          <TD>Mowing Lawn: push, power</TD>
          <TD>
              
              <INPUT size=3 value=43 name=mow2>
              
            </TD>
          <TD>Operate Snow Blower: walking</TD>
          <TD>
              
              <INPUT size=3 value=43 name=snow1>
              
            </TD>
        </TR>
        <TR>
          <TD>Children's Games: 4-square, etc.</TD>
          <TD>
              
              <INPUT size=3 value=48 name=games>
              
            </TD>
          <TD>Raking Lawn</TD>
          <TD>
              
              <INPUT size=3 value=38 name=lawn>
              
            </TD>
        </TR>
        <TR>
          <TD>Sex: moderate effort</TD>
          <TD>
              
              <INPUT size=3 value=14 name=sex>
              
            </TD>
          <TD>Shoveling Snow: by hand</TD>
          <TD>
              
              <INPUT size=3 value=58 
name=snow2>
              
            </TD>
        </TR>
      </TABLE>
    
  </FORM>

</div></center></p>
<p>
This calory calculator is provided with the help of <a href="http://allnutritionals.com/" target="_blank" rel="nofollow"> AllNutritionals.com</a></p>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/calorie-burn-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Credit Card Repayment Calculator</title>
		<link>http://onlinecalcs.com/credit-card-repayment-calculator/</link>
		<comments>http://onlinecalcs.com/credit-card-repayment-calculator/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 16:36:03 +0000</pubDate>
		<dc:creator>Calc</dc:creator>
				<category><![CDATA[Credit Card Calculators]]></category>
		<category><![CDATA[Loan Calculators]]></category>
		<category><![CDATA[Credit Card Debt Pay-off Calculator]]></category>
		<category><![CDATA[Credit Card Debt Repayment Calculator]]></category>
		<category><![CDATA[Pay Down Credit Card Debt Calculator]]></category>

		<guid isPermaLink="false">http://onlinecalcs.com/?p=162</guid>
		<description><![CDATA[<p>Do you have any credit card debt? If so, a good question you should ask yourself would be: How long would it take to repay mar credit card debt for a specific payment? This calculator will give you a quick answer to this question. Just enter how much you can afford to pay, OR after [...]</p><p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></description>
				<content:encoded><![CDATA[<p>Do you have any credit card debt? If so, a good question you should ask yourself would be: How long would it take to repay mar credit card debt for a specific payment? This calculator will give you a quick answer to this question. Just enter how much you can afford to pay, OR after how many months you want to be debt free and see the result.</p>
<h2>Credit Card Debt Repayment Calculator</h2>
<p><center><style>
.cwCalc{border:1px solid black;}
.cwCalc TH{background-color:#BBBBBB;}
.cwCalc TD{background-color:#DDDDDD;}
</style>
<script language=javascript>
function cwCalc()
{
if (cwBalance.value=='') {alert('Please enter your credit card balance.'); return;}
if (cwRate.value=='') {alert('Please enter your credit card\'s interest rate.'); return;}
if ( (cwMonthlyAmount.value=='' && cwDesiredMonths.value=='') || (cwMonthlyAmount.value!='' && cwDesiredMonths.value!='') ) {alert('Please enter either a payment amount or desired months.'); return;}
var mRate=(cwRate.value/100)/12;
if (cwMonthlyAmount.value=='')
{
	var payment=cwBalance.value*(mRate)/( 1-Math.pow((1+mRate),(-cwDesiredMonths.value)) );
	payment=Math.round(payment*100)/100;
	cwResult.innerHTML="It will cost $" + payment.toFixed(2) + " a month to pay off this card and will cost you a total of $" + (payment*cwDesiredMonths.value).toFixed(2) + ".";
} else {
	var remainingBalance=cwBalance.value;
	var minPayment=mRate*cwBalance.value;
	var months=0;
	var lastPayment;
	if (minPayment>cwMonthlyAmount.value) {alert ('Your monthly payment is less than the monthly interest charged by this card.');return;}
	while (remainingBalance>0)
	{
		months++;
		remainingBalance=remainingBalance*(1 + mRate)-cwMonthlyAmount.value;
	}
	cwResult.innerHTML="It will take " + months + " months to pay off this card and will cost you a total of $" + (cwMonthlyAmount.value*months).toFixed(2) + ".";
}
}
</script>
<table class="cwCalc" border=0 cellpadding=0 cellspacing=0 width=400>
<tr><th>What will it take to pay off my credit card?</th></tr>
<tr><td align=center>
<table cellpadding=2 cellspacing=0>
<tr><td align="right">Enter your credit card net debt: $</td><td><input size=6 type=text id="cwBalance"></td></tr>
<tr><td align="right">Annual interest rate: </td><td><input size=6 type=text id="cwRate">%</td></tr>
<tr><td align="right">Enter payment amount per month: $</td><td><input size=6 type=text id="cwMonthlyAmount"></td></tr>
<tr><td align="center"><b>or</b></td><td>&nbsp;</td></tr>
<tr><td align="right">Enter desired months until debt free: </td><td><input size=6 type=text id="cwDesiredMonths"></td></tr>
<tr><td colspan=2 align="center"><input type=button value="Calculate" onclick="cwCalc();"></td></tr>
<tr><td colspan=2 align="center" id="cwResult" style="font-size: 20px;"></td></tr>
</table></td></tr>
</table></center></p>
<h3>How to Use the Credit Card Calculator</h3>
<p>If you find it difficult to use the calculator, plese check the folowing tips:</p>
<p>1. The calculator can show you:<br />
- how many months would be needed to repay your debt for your monthly payment<br />
- if you would like to repay you card debt for a specific period of time, what monthly payment you should pay.</p>
<p>2. To use the calculator, you should fill the first two fields and one of the third and fourth, depending on what you want to see ( check Tip 1 ).</p>
<p><strong>3. How to fill the fields:</strong></p>
<p>Enter your credit card net debt: how much do you owe, this is not your card's limit, but the amount from it you have used/spent.</p>
<p>Annual interest rate: your credit card's annual interest rate</p>
<p>Enter payment amount per month: fill this field to see after how many months you will repay your debt, paying this amount.</p>
<p>Enter desired months until debt free: fill this field to see the monthly payment, for which you will be debt free after the entered period.</p>
<p><a href=http://onlinecalcs.com>onlinecalcs.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://onlinecalcs.com/credit-card-repayment-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: onlinecalcs.com @ 2013-05-26 01:17:54 by W3 Total Cache -->