Calculate Reach Rate

Reach Rate Calculator

Understand how effectively your message is reaching your target audience with this Reach Rate Calculator. Reach rate is a key metric in marketing and advertising, indicating the percentage of your total potential audience that has been exposed to your content or advertisement at least once.

var calculateReachRate = function() { var totalAudienceSizeInput = document.getElementById("totalAudienceSize"); var uniqueReachInput = document.getElementById("uniqueReach"); var resultDiv = document.getElementById("result"); var totalAudienceSize = parseFloat(totalAudienceSizeInput.value); var uniqueReach = parseFloat(uniqueReachInput.value); if (isNaN(totalAudienceSize) || isNaN(uniqueReach)) { resultDiv.innerHTML = "Please enter valid numbers for all fields."; return; } if (totalAudienceSize <= 0) { resultDiv.innerHTML = "Total Potential Audience Size must be greater than zero."; return; } if (uniqueReach totalAudienceSize) { resultDiv.innerHTML = "Number of Unique Individuals Reached cannot be greater than the Total Potential Audience Size."; return; } var reachRate = (uniqueReach / totalAudienceSize) * 100; resultDiv.innerHTML = "
" + "Your Reach Rate is: " + reachRate.toFixed(2) + "%" + "This means that " + reachRate.toFixed(2) + "% of your total potential audience was exposed to your message." + "
"; }; .calculator-container { font-family: sans-serif; max-width: 600px; margin: 20px auto; padding: 20px; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); background-color: #f9f9f9; } .calculator-form h2 { text-align: center; color: #333; margin-bottom: 20px; } .calculator-form p { text-align: justify; color: #555; margin-bottom: 25px; line-height: 1.6; } .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #444; } .form-group input[type="number"] { width: calc(100% – 22px); padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 1em; } .calculator-form button { width: 100%; padding: 12px 20px; background-color: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 1.1em; transition: background-color 0.3s ease; } .calculator-form button:hover { background-color: #0056b3; } .calculator-result { margin-top: 25px; padding: 15px; border: 1px solid #e0e0e0; border-radius: 4px; background-color: #fff; text-align: center; } .calculator-result .result-item { margin-top: 10px; } .calculator-result p { margin-bottom: 10px; font-size: 1.1em; color: #333; } .calculator-result strong { color: #007bff; } .error { color: #dc3545 !important; font-weight: bold; }

Leave a Comment