 <p>The key point is to loop thru the inputs and add their values.</p> <pre><code>var totalInput = 0; $("input").keyup(function () { //zero out the global var totalInput totalInput = 0; $("input").each(function(){ //for each input, add value to global totalInput totalInput += $(this).val() }); //setup price var item_price = parseFloat("50.25"); //display price times totalInput $("h3").text(totalInput * item_price); }); </code></pre>