📊 Social Media Engagement Rate Calculator
Select platform and enter values to calculate
Select a platform to see the specific calculation method
📊 Single Post Calculator
Select platform and enter values to calculate
Select a platform to see the specific calculation method
📊 Bulk Post Calculator
Post Name
Engagements
Reach
Rate
Actions
⚖️ Campaign Comparison
📚 Calculation History
Engagement Rate (by ${denominatorName}):
${engagementRate.toFixed(2)}%
Daily avg: ${(engagements/days).toFixed(1)} engagements, ${(denominator/days).toLocaleString()} ${denominatorName}`; } } else { const days = parseInt(timePeriod); const periodNames = { 7: '1 Week', 30: '1 Month', 90: '90 Days', 180: '6 Months', 365: '1 Year' }; periodText = `${periodNames[days]} (${days} days)`; dailyAvg = `
Daily avg: ${(engagements/days).toFixed(1)} engagements, ${(denominator/days).toLocaleString()} ${denominatorName}`; } if (periodText) { periodInfo.innerHTML = ` 📅 Period: ${periodText} ${dailyAvg} `; periodDiv.style.display = 'block'; } } function formatDate(dateStr) { const date = new Date(dateStr); return date.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }); } function updatePlatformSettings() { const platform = document.getElementById('platform').value; const engagementHelp = document.getElementById('engagementHelp'); const formulaNote = document.getElementById('formulaNote'); const platformEngagements = { facebook: 'Likes + Comments + Shares + Reactions + Clicks', instagram: 'Likes + Comments + Shares + Saves + Story interactions', tiktok: 'Likes + Comments + Shares + Views (3+ seconds)', linkedin: 'Likes + Comments + Shares + Clicks + Follows', twitter: 'Likes + Retweets + Replies + Clicks', youtube: 'Likes + Comments + Shares + Subscribers gained', generic: 'All meaningful interactions with your content' }; const platformNotes = { facebook: 'Facebook: Reach-based calculation recommended for paid content, follower-based for organic posts', instagram: 'Instagram: Saves and story interactions are crucial. Follower-based often preferred.', tiktok: 'TikTok: Highest engagement rates. Include 3+ second video views in engagements.', linkedin: 'LinkedIn: Professional network with higher comment engagement. Include profile follows.', twitter: 'Twitter/X: Lower overall rates but high conversation value. Include all click interactions.', youtube: 'YouTube: Include subscriber gains and community post interactions when available.', generic: 'Generic calculation - adapt engagement definition to your specific platform needs' }; engagementHelp.textContent = platformEngagements[platform] || platformEngagements.generic; formulaNote.textContent = platformNotes[platform] || platformNotes.generic; // Recalculate if values are present const engagements = document.getElementById('engagements').value; const reach = document.getElementById('reach').value; const followers = document.getElementById('followers').value; const formula = document.querySelector('input[name="formula"]:checked').
