<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><style>html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;color:#1e293b;background:#fff;}body{margin:0;padding:0;background:#fff;color:#1e293b;}img{max-width:100%;height:auto;display:block;}table{max-width:100%;}</style></head><body> <p>Salt (PPM)<br>Calculate salt additions for your Salt Water Generator (SWG).</p> <!-- Pool Salt / Salt Water Pool Calculator - Updated UX --> <div id="pool-salt-calculator" style="max-width:700px;margin:auto;font-family:Arial,sans-serif;"> <h2 style="text-align:center;color:#0d3b66;margin-bottom:10px;">Pool Salt Calculator</h2> <p style="text-align:center;color:#555;margin-bottom:20px;">Find out exactly how much salt your saltwater pool needs</p> <!-- Input Card --> <div style="background:#f0f4f8;padding:20px;border-radius:10px;display:grid;gap:15px;"> <!-- Pool Volume --> <div style="display:flex;align-items:center;gap:10px;"> <label for="pool-volume" style="flex:1;font-weight:bold;">Pool Volume:</label> <input type="number" id="pool-volume" placeholder="e.g., 10000" title="Enter your pool volume in gallons" style="flex:2;padding:10px;border-radius:6px;border:1px solid #ccc;"> <span style="flex:0.5;">gal</span> </div> <!-- Current Salt Level --> <div style="display:flex;align-items:center;gap:10px;"> <label for="current-salt" style="flex:1;font-weight:bold;">Current Salt Level:</label> <input type="number" id="current-salt" placeholder="e.g., 2000" title="Enter your current salt concentration in ppm" style="flex:2;padding:10px;border-radius:6px;border:1px solid #ccc;"> <span style="flex:0.5;">ppm</span> </div> <!-- Target Salt Level --> <div style="display:flex;align-items:center;gap:10px;"> <label for="target-salt" style="flex:1;font-weight:bold;">Target Salt Level:</label> <select id="target-salt" style="flex:2;padding:10px;border-radius:6px;border:1px solid #ccc;"> <option value="3200" selected>3,200 ppm (Ideal)</option> <option value="3400">3,400 ppm</option> <option value="3600">3,600 ppm</option> </select> <span style="flex:0.5;">ppm</span> </div> <button id="calculate-salt" style="padding:12px;background:#f4472b;color:#fff;border:none;border-radius:8px;font-weight:bold;cursor:pointer;">Calculate Salt</button> </div> <!-- Result Card --> <div id="salt-result" style="margin-top:20px;background:#e0f4ff;padding:25px 20px;border-radius:12px;display:grid;gap:10px;text-align:center;font-weight:bold;color:#0d3b66;font-size:1.4em;"> Enter your pool volume and salt levels above to see your recommended salt amount. </div> <!-- Dynamic Personalized Tip --> <div id="salt-tip" style="margin-top:15px;background:#fff4e6;padding:18px;border-radius:10px;color:#0d3b66;font-size:1.1em;line-height:1.6em;"> Personalized guidance will appear here after calculation. </div> <!-- Static Guidance / Tips Box --> <div style="margin-top:15px;background:#fff4e6;padding:18px;border-radius:10px;color:#0d3b66;font-size:1.1em;line-height:1.6em;"> <strong>Tips:</strong> <ul style="padding-left:18px;margin:0;"> <li>Ideal salt range for most SWGs: 3,200–3,600 ppm</li> <li>Add salt gradually and brush until dissolved</li> <li>If salt is too high, replace water to reduce ppm</li> <li>Check your SWG manual for optimal levels</li> </ul> </div> </div> <script> (function(){ function calculateSalt(){ const volume = parseFloat(document.getElementById('pool-volume').value); const current = parseFloat(document.getElementById('current-salt').value); const target = parseFloat(document.getElementById('target-salt').value); const resultDiv = document.getElementById('salt-result'); const tipDiv = document.getElementById('salt-tip'); if(isNaN(volume) || isNaN(current) || isNaN(target)){ alert('Please enter valid numbers in all fields'); return; } const ppmDiff = target - current; if(ppmDiff > 0){ // Salt to add const saltLbs = ((volume * ppmDiff * 8.34)/1000).toFixed(1); const saltBags = (saltLbs/40).toFixed(1); const saltKg = (saltLbs*0.453592).toFixed(1); resultDiv.innerHTML = `<p>Salt to Add: <span>${saltLbs} lbs</span></p> <p>~${saltBags} bags (40 lb each)</p> <p>${saltKg} kg</p>`; tipDiv.innerHTML = `Add gradually — no more than 1–2 bags at a time — wait 24 hours between additions for even circulation. Brush until dissolved.`; } else if(ppmDiff < 0){ // Water to replace const waterReplace = ((volume * Math.abs(ppmDiff))/current).toFixed(1); resultDiv.innerHTML = `<p>Salt concentration is high!</p> <p>Replace <span>${waterReplace} gallons</span> of water with fresh water</p>`; tipDiv.innerHTML = `Replace water gradually, then retest salt after 24 hours. Check your SWG for optimal performance.`; } else { resultDiv.innerHTML = `Salt level is already at the target. No action needed.`; tipDiv.innerHTML = `Salt levels are optimal — maintain regular testing and routine maintenance.`; } } document.getElementById('calculate-salt').addEventListener('click', calculateSalt); })(); </script> <h2 class="wp-block-heading">How do I use the salinity calculator?</h2> <ul class="wp-block-list"> <li>First, key in the volume of your swimming pool in the salinity calculator. If you need help with that, our pool calculator would greatly help you.</li> <li>Next, measure the current salt concentration in ppm. Any standard chlorine generator will give you the reading.</li> <li>Finally, specify your desired concentration of the swimming pool salt in ppm.</li> <li>If the current ppm levels are lower than the desired levels, the pool salt calculator will show you how much more salt you need to add.</li> <li>On the other hand, if the current ppm levels are higher than the desired levels, then the salinity calculator will show you how much water you need to replace. This means that you need to drain out a specific amount of pool water and replace it with fresh water to bring down the salt concentration.</li> </ul> <script>const FRAME_ID = "toolpress-frame-168";</script><script>(function(){function sendHeight(){var h=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,document.documentElement.offsetHeight,document.body.offsetHeight);parent.postMessage({type:'toolpressEmbedHeight',id:FRAME_ID,height:h},'*');}window.addEventListener('load',sendHeight);window.addEventListener('resize',sendHeight);document.addEventListener('input',function(){setTimeout(sendHeight,50);});document.addEventListener('click',function(){setTimeout(sendHeight,50);});setTimeout(sendHeight,60);setTimeout(sendHeight,300);setTimeout(sendHeight,900);})();</script></body></html>