DEV Community

Junaid Ahmed
Junaid Ahmed

Posted on

Social, Paid-Ad & Creator Math Cheat Sheet (+ Embeddable Client-Side Calculators)

If you build indie SaaS apps, analytics dashboards, or creator tools, you eventually have to wire up campaign and creator metrics — and it is surprisingly easy to mix up denominators across platforms.

Here is a clean reference of the core formulas we built into FollowMaths (a collection of 34 fast, zero-signup, strictly client-side calculators), along with worked examples and iframe embeds you can drop into blogs or internal docs.

1. Engagement Rate: Followers vs. Reach (ERR)

Mixing follower-based engagement with reach-based or impression-based numbers is the #1 reporting mistake when comparing channels:

  • By Followers: (likes + comments + shares) / followers * 100
  • By Reach (ERR): total interactions / reach * 100

For example, 200 interactions on a post that reached 4,000 unique accounts is 5% ERR — a much cleaner measure of content quality than dividing by inactive followers. Meanwhile, brand benchmarks differ sharply by network methodology (e.g., follower-based benchmarks sit around 3.70% on TikTok vs. 0.48% on Instagram, while LinkedIn averages higher because clicks and impressions are often used).

2. Break-Even ROAS vs. Target ROAS

Before scaling paid ads, you need two numbers — the floor where ads consume 100% of gross margin, and the target that leaves actual net profit:

const breakEvenRoas = 1 / grossMargin; // e.g., 1 / 0.25 = 4.0x
const targetRoas = 1 / (grossMargin - targetProfitMargin); // e.g., 1 / (0.25 - 0.10) = 6.67x
Enter fullscreen mode Exit fullscreen mode

At a 25% margin before ad spend, 4x ROAS only breaks even; keeping a 10% net profit jumps the required ROAS to 6.67x.

3. YouTube Shorts Revenue & Creator Sponsor Rates

Creator payouts follow a different math curve than long-form video:

  • YouTube Shorts Revenue: views / 1,000 * RPM
    • Because RPM in YouTube Studio already accounts for YouTube's creator revenue split (45% of allocated Shorts ad pool after music licensing), 1,000,000 views at a $0.05 RPM comes out to $50/month.
  • Sponsored Post Pricing: Starting from a $10 per 1,000 followers rule of thumb and adjusting for niche, deliverable count, usage rights, and exclusivity keeps creators from underpricing rights buyouts.

  • Interactive tools: YouTube Shorts Money Calculator · Influencer Rate Calculator

4. Client-Side Design & Clean ?embed=1 Iframes

Every tool on FollowMaths runs locally in the browser with Intl.NumberFormat formatting and URLSearchParams state persistence so calculated scenarios stay shareable via URL. If you write marketing tutorials or agency onboarding docs, you can also embed any calculator cleanly without navigation chrome using ?embed=1:

<iframe
  src="https://followmaths.com/engagement-rate-calculator/?embed=1"
  width="100%"
  height="520"
  title="Engagement Rate Calculator">
</iframe>
Enter fullscreen mode Exit fullscreen mode

Browse all 34 calculators and benchmark guides at FollowMaths.com.

Top comments (0)